mardi 11 juin 2019

EmberJS, Webstorm and Windows - Cannot run through Ember Serve configuration

I've created an ember-quickstart application from ember-cli and it loads successfully in my browser with ember serve. I've imported the project into WebStorm and tried to set up a configuration under option Ember Serve like so:

enter image description here

However, when I try to run the project I get the following error:

C:/DEV/nvm/v10.16.0/node C:/DEV/Projects/ember-quickstart/node_modules/.bin/ember serve
C:\DEV\Projects\ember-quickstart\node_modules\.bin\ember:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list
    at Module._compile (internal/modules/cjs/loader.js:721:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

Process finished with exit code 1

Is there a way to fix this or do I have to run the server from the command line each time?




Aucun commentaire:

Enregistrer un commentaire