Cannot find module 'q' and more…
When I run ember install emberfire in an existing Ember app, I get Cannot find module 'q'.
I searched the issue, tried npm cache clean and npm install q.
Now, ember install emberfire throws Cannot find module '../function/makeIterator_' and I'm reluctant to go further.
However, at npm-embercli-emberfire the advice is to install via Bower with npm install --save-dev ember-cli-emberfire - to quote:
- This repo lists emberFire as a bower dependency
- It runs
bower installas the npm postinstall script - it exports a tree containing both the firebase and emberFire libraries
Do node 6.2.2 and ember-cli play nicely yet?
Since the machinations of npm and Node become an irritating mystery when I'm trying to focus on an Ember (tutorial) app, I'd like to know:
- how running
ember install emberfirediffers, and if running it before running the npm-recommended command is an issue? - If it's okay to run ember-cli with node 6.2.2 - if not, suggestions?
My setup
- OS X 10.11.6 (and just had to
chown -Rusr/local after an OS X update). - node 6.2.2 (which apparently "has currently not been tested against Ember CLI and may result in unexpected behaviour.")
- Ember: 1.13.15
- npm: 2.14.10
Aucun commentaire:
Enregistrer un commentaire