Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues when running "ember generate ember-mu-application-generator" #14

Open
asjongers opened this issue May 23, 2018 · 0 comments
Open

Comments

@asjongers
Copy link
Collaborator

When adding the generator to a new project (using Ember-cli 3.1.4), I run into the following issue:

updating router
  add route route-not-found
  install package jquery-datetimepicker
  install addon ember-power-select
  install addon ember-datetimepicker
  install addon ember-changeset
Command failed: npm install --save-dev --loglevel error ember-changeset
npm WARN deprecated [email protected]: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN checkPermissions Missing write access to /home/arnaud/Documents/git/subject-pages/node_modules/asn1
npm WARN checkPermissions Missing write access to /home/arnaud/Documents/git/subject-pages/node_modules/assert-plus
...
npm WARN checkPermissions Missing write access to /home/arnaud/Documents/git/subject-pages/node_modules/babel-plugin-proto-to-assign/node_modules
npm ERR! path /home/arnaud/Documents/git/subject-pages/node_modules/asn1
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access '/home/arnaud/Documents/git/subject-pages/node_modules/asn1'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/arnaud/.npm/_logs/2018-05-23T08_02_43_519Z-debug.log

I then tried to install the needed dependencies manually running:

ember install ember-power-select
ember install ember-changeset
ember install ember-datetimepicker

But it would complain about a missing npm package (the generator):

Missing npm packages: 
Package: ember-mu-application-generator
  * Specified: git+https://github.com/tenforce/ember-mu-application-generator.git
  * Installed: (not installed)

Run `npm install` to install missing dependencies.



Stack Trace and Error Report: /tmp/error.dump.c8b841b57cf3b46ce087de3ab332988d.log
An error occurred in the constructor for ember-cli-dependency-checker at /home/arnaud/Documents/git/subject-pages/node_modules/ember-cli-dependency-checker

Doing npm install solved that, I could then install the needed dependencies and because running ember generate ember-mu-application-generator already installed the needed files (components and so on), I could just run "ember serve" and get something working. However, as you can imagine, this probably needs some looking into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant