Skip to content

npm 3 support #182

@webuniverseio

Description

@webuniverseio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions