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

Dashing-js plugin is not getting installed in node version 4.2.2 #33

Open
kaushik030 opened this issue Nov 23, 2015 · 4 comments
Open

Comments

@kaushik030
Copy link

make: Leaving directory /usr/lib/node_modules/dashing-js/node_modules/node-sass/build' gyp ERR! build error gyp ERR! stack Error:makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 3.19.0-28-generic gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/dashing-js/node_modules/node-sass gyp ERR! node -v v4.2.2 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok Build failed npm WARN install:[email protected] [email protected] install:node build.js`
npm WARN install:[email protected] Exit status 1
/usr/lib
└── (empty)

npm ERR! code 1

@kaushik030 kaushik030 changed the title Dashing-js plugin is not installed in node version 4.2.2 Dashing-js plugin is not getting installed in node version 4.2.2 Nov 23, 2015
@chriswhong
Copy link

I am having the same issue with node 0.12.2, npm install -g dashing-js

Build failed
npm ERR! Darwin 15.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "dashing-js"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/chriswhong/Sites/dashing-js/npm-debug.log

@matt7277
Copy link

Looks like I am experiencing the same problem here. Seems like this is a verified bug, would love to see if someone has a viable solution. I have copy/pasted my error output below.

FYI - I tried this on a variety of Linux AWS servers and received the same error across installations. The output below comes from a fresh AWS AMI built by Bitnami for Node.JS/MongoDB. The results from my Ubuntu 14.04 HVM attempts were the same:

sudo npm install -g dashing-js
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"5.1.1","npm":"3.3.12"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"5.1.1","npm":"3.3.12"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"5.1.1","npm":"3.3.12"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"5.1.1","npm":"3.3.12"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"5.1.1","npm":"3.3.12"})
npm WARN excluding symbolic link test/fixtures/app/views/.#application.js.coffee.erb -> [email protected]
/opt/bitnami/nodejs/bin/dashing-js -> /opt/bitnami/nodejs/lib/node_modules/dashing-js/bin/dashing-js

[email protected] install /opt/bitnami/nodejs/lib/node_modules/dashing-js/node_modules/node-sass
node build.js

(node) child_process: options.customFds option is deprecated. Use options.stdio instead.
make: Entering directory /opt/bitnami/nodejs/lib/node_modules/dashing-js/node_modules/node-sass/build' CXX(target) Release/obj.target/binding/binding.o In file included from ../binding.cpp:7:0: ../sass_context_wrapper.h:10:3: error: ‘uv_work_t’ does not name a type uv_work_t request; ^ ../sass_context_wrapper.h:20:3: error: ‘uv_work_t’ does not name a type uv_work_t request; ^ ../binding.cpp:13:20: error: variable or field ‘WorkOnContext’ declared void void WorkOnContext(uv_work_t* req) { ^ ../binding.cpp:13:20: error: ‘uv_work_t’ was not declared in this scope ../binding.cpp:13:31: error: ‘req’ was not declared in this scope void WorkOnContext(uv_work_t* req) { ^ ../binding.cpp:19:22: error: variable or field ‘MakeOldCallback’ declared void void MakeOldCallback(uv_work_t* req) { ^ ../binding.cpp:19:22: error: ‘uv_work_t’ was not declared in this scope ../binding.cpp:19:33: error: ‘req’ was not declared in this scope void MakeOldCallback(uv_work_t* req) { ^ make: *** [Release/obj.target/binding/binding.o] Error 1 make: Leaving directory/opt/bitnami/nodejs/lib/node_modules/dashing-js/node_modules/node-sass/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/bitnami/nodejs/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.13.0-71-generic
gyp ERR! command "/opt/bitnami/nodejs/bin/.node.bin" "/opt/bitnami/nodejs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/bitnami/nodejs/lib/node_modules/dashing-js/node_modules/node-sass
gyp ERR! node -v v5.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
Build failed
npm WARN install:[email protected] [email protected] install: node build.js
npm WARN install:[email protected] Exit status 1
/opt/bitnami/nodejs/lib
└── (empty)

npm ERR! code 1

@spadusa
Copy link

spadusa commented May 4, 2016

There's at least one pending pull request with a viable fix: https://github.com/fabiocaseri/dashing-js/pull/32/files

@admin-django
Copy link

Is this plugin no longer active? Dashing-js not installing on new nodejs version?

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

5 participants