emberjs / ember.js

Ember.js - A JavaScript framework for creating ambitious web applications
https://emberjs.com
MIT License
22.47k stars 4.21k forks source link

Failed to run `npm start` - Cannot find module 'exists-sync' #13142

Closed code0100fun closed 8 years ago

code0100fun commented 8 years ago
Could not require 'ember-cli-build.js': Cannot find module 'exists-sync'

Seems like c655638 caused a build error when it updated the package.json

Looks like its related to tildeio/glimmer requiring exists-sync in ember-cli-build.js but not listing it as a dependency in its package.json

rwjblue commented 8 years ago

Ya, glimmer needs to be updated with it as a dep. This almost certainly works on npm 3 because everything ends up in the root/main node_modules/ but on npm 2, you would be missing exists-sync at that level.

Dhaulagiri commented 8 years ago

Opened https://github.com/tildeio/glimmer/pull/115 for this

HeroicEric commented 8 years ago

@Dhaulagiri should this be closed now since https://github.com/tildeio/glimmer/pull/115?

Dhaulagiri commented 8 years ago

I think it would still be a problem in ember since ember is pointing at an older release, but there isn't much to be done about it until more glimmer work lands

rwjblue commented 8 years ago

Confirm, not much we can do until we get updated to a later SHA (and that requires some intricate knowledge of the changes in glimmer and how they relate to Ember). Should be worked out in the next few days I believe...