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

npm 3 support #182

Closed
szarouski opened this Issue Sep 18, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@szarouski
Contributor

szarouski commented Sep 18, 2015

Hi @operatino, there are issues installing sourcejs through npm 3 which is not a beta anymore. It fails on:

> grunt update && node ./core/postInstall

>> Local Npm module "grunt-autoprefixer" not found. Is it installed?
>> Local Npm module "grunt-contrib-clean" not found. Is it installed?
>> Local Npm module "grunt-contrib-copy" not found. Is it installed?
>> Local Npm module "grunt-contrib-cssmin" not found. Is it installed?
>> Local Npm module "grunt-contrib-htmlmin" not found. Is it installed?
>> Local Npm module "grunt-contrib-jshint" not found. Is it installed?
>> Local Npm module "grunt-contrib-less" not found. Is it installed?
>> Local Npm module "grunt-contrib-uglify" not found. Is it installed?
>> Local Npm module "grunt-contrib-watch" not found. Is it installed?
>> Local Npm module "grunt-jsdoc" not found. Is it installed?
>> Local Npm module "grunt-newer" not found. Is it installed?
>> Local Npm module "grunt-mocha-test" not found. Is it installed?
Warning: Task "less" not found. Use --force to continue.

Aborted due to warnings.


Execution Time (2015-09-18 22:13:08 UTC)
loading tasks  33ms  ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 85%
Total 39ms
npm WARN EPACKAGEJSON temp@1.0.0 No description
npm WARN EPACKAGEJSON temp@1.0.0 No repository field.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\szarouski\\AppData\\Roaming\\npm\\node_modules\\npm\\bin
\\npm-cli.js" "i" "sourcejs@szarouski/Source#feature/updated-jsdom" "--save"
npm ERR! node v4.1.0
npm ERR! npm  v3.3.4
npm ERR! code ELIFECYCLE

npm ERR! sourcejs@0.5.3 postinstall: `grunt update && node ./core/postInstall`
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the sourcejs@0.5.3 postinstall script 'grunt update && node ./core/postInstall'.
npm ERR! This is most likely a problem with the sourcejs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     grunt update && node ./core/postInstall
npm ERR! You can get their info via:
npm ERR!     npm owner ls sourcejs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     c:\dev\temp\npm-debug.log

The cause for that is flat structure that npm 3 brings. I'll look for a solution, but just wanted to ask what are your thoughts on how exactly to fix that bug. Some of the approaches for the fix described here.

@operatino operatino added this to the 0.5.6 milestone Sep 20, 2015

operatino added a commit that referenced this issue Sep 20, 2015

operatino added a commit that referenced this issue Sep 20, 2015

@operatino

This comment has been minimized.

Member

operatino commented Sep 20, 2015

Fixed in 0.5.6

@operatino operatino closed this Sep 20, 2015

operatino added a commit that referenced this issue Sep 20, 2015

operatino added a commit that referenced this issue Sep 20, 2015

Merge remote-tracking branch 'origin/master' into 0.5.6-no-jsdom
* origin/master:
  #182: fix npm 2
  add 0.5.6 to updates section
  bump to 0.5.6

# Conflicts:
#	package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment