2 Replies Latest reply on Nov 12, 2019 9:32 AM by Daniel Merchán

    [MOOC] ojet serve SyntaxError UnexpectedToken


      Hi everyone,


      I am new on this framework, just learning now...


      In my first steps, I am already facing the error below (highlighted in red).

      Could anyone please help me?



      MacBook-Air-de-Guilherme:~ gssilva$ ojet create appteste1 --template=navdrawer

      Processing template: navdrawer

      Your app structure is generated. Continuing with library install.



      oraclejetconfig.json file exists. Checking config.

      Running after_app_create hook.

      Your app is ready! Change to your new app directory 'appteste1' and try 'ojet build' and 'ojet serve'.

      MacBook-Air-de-Guilherme:~ gssilva$ cd appteste1

      MacBook-Air-de-Guilherme:appteste1 gssilva$ ojet serve




      SyntaxError: Unexpected token ...

          at createScript (vm.js:53:10)

          at Object.runInThisContext (vm.js:95:10)

          at Module._compile (module.js:543:28)

          at Object.Module._extensions..js (module.js:580:10)

          at Module.load (module.js:488:32)

          at tryModuleLoad (module.js:447:12)

          at Function.Module._load (module.js:439:3)

          at Module.require (module.js:498:17)

          at require (internal/module.js:20:19)

          at __dirname.forEach (/Users/gssilva/appteste1/node_modules/@oracle/oraclejet-tooling/oraclejet-tooling.js:39:16)

      MacBook-Air-de-Guilherme:appteste1 gssilva$