npm - Ember.js install on Windows: Will not load app: Cannot find module 'ember-cli/lib/broccoli/ember-app' -


just installed ember.js on windows machine (xp) - new ember.js setting dev machine.

necessary components seem present , responsive.

$ember version gives me:

version: 0.2.3 node: 0.12.2 npm: 2.7.6 

$npm version gives me:

{ alquimista: '0.0.0',   npm: '2.7.4',   http_parser: '2.3',   modules: '14',   node: '0.12.2',   openssl: '1.0.1m',   uv: '1.4.2-node1',   v8: '3.28.73',   zlib: '1.2.8' } 

revision

$ bower list

app y:\webwork\emberjs\alquimista\app 

when switch ember app directory , run

$ember server

i error

version: 0.2.3 cannot find module 'ember-cli/lib/broccoli/ember-app' error: cannot find module 'ember-cli/lib/broccoli/ember-app'     @ function.module._resolvefilename (module.js:336:15)     @ function.module._load (module.js:278:25)     @ module.require (module.js:365:17)     @ require (module.js:384:17)     @ object.<anonymous> (y:\webwork\emberjs\alquimista\brocfile.js:3:16)     @ module._compile (module.js:460:26)     @ object.module._extensions..js (module.js:478:10)     @ module.load (module.js:355:32)     @ function.module._load (module.js:310:12)     @ module.require (module.js:365:17) 

yes, have confirmed "ember-cli/lib/broccoli/ember-app" exists , in path variable in qualified form, c:/.. etc . error msg not contain qualified path wonder if ember.js using relative path on load? don't know base directory starting , referencing based on.

does have suggested fix ember server running on windows machine in case this?

seems related issue on @ ember-cli github repository: https://github.com/ember-cli/ember-cli/issues/3961

as @ebryn states, npm install && bower install should :)

in general, setup should follows (on windows):

  • install latest node.js
  • install bower via npm install -g bower
  • install phantomjs via npm install phantomjs
  • install ember-cli via npm install ember-cli@0.2.3

and should go :)


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -