You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried the micro-dev command and it failed. below is the output from the command:
>npm run dev
microservice@0.0.1 dev /home/.../microservice
micro-dev
/home/.../microservice/node_modules/micro-dev/lib/serve.js:10
module.exports = async (file, flags, restarting) => {
^
SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/.../microservice/node_modules/micro-dev/bin/micro-dev.js:12:15)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! microservice@0.0.1 dev: `micro-dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the microservice@0.0.1 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Which node runtime do you recommend for micro-dev to run since the other one
> npm start
> microservice@0.0.1 start /home/muthah/ad/dev/node/microservice
> micro
>micro: Accepting connections on port 3000
Tried the micro-dev command and it failed. below is the output from the command:
Which node runtime do you recommend for micro-dev to run since the other one
runs perfectly. Iam using node 6.11
package.json
The text was updated successfully, but these errors were encountered: