-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Can't really install #1231
Comments
What's the error? |
@guille Sorry if I'm saying newbie stuff, but what a paste is not an error? Because I try to follow this tutorial(http://chrislarson.me/content/chris-larson/beginners-guide-nodejs-socketio-and-express-framework-first-application) and I get the following error: Warning: express.createServer() is deprecated, express var express = require("express"); module.js:340 The part that says "Error: Cannot find module 'socket.io'" doesn't mean that socket.io isn't installed? |
maybe the output got cut in the original report? |
@guille Sorry? You mean the output I pasted? |
@almeidamarcell this output from your is a good one. I suppose problem lay in permissions to this module from script. You install this with |
@codename- Hum, I see. Sorry for being such a newbie. How I can fix that then? |
Hello all!
I've seen a lot of people with the same problem as me. But none of those links I found it could really give me a solution.
I'm trying to install socket.io but I all the time get the following error:
MacBook-Air-de-Marcell:~ almeidamarcell$ sudo npm install socket.io
Password:
npm http GET https://registry.npmjs.org/socket.io
npm http 304 https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/redis/0.7.3
npm http GET https://registry.npmjs.org/socket.io-client/0.9.11
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/base64id/0.1.0
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/base64id/0.1.0
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.11
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http GET https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/commander
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
SOLINK_MODULE(target) Release/bufferutil.node: Finished
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
SOLINK_MODULE(target) Release/validation.node: Finished
[email protected] node_modules/socket.io
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
So, anyone knows what is going on? I already checked and NPM and node are installed correctly.
MacBook-Air-de-Marcell:~ almeidamarcell$ node -v
v0.10.6
MacBook-Air-de-Marcell:~ almeidamarcell$ npm -v
1.2.18
I'm really looking forward to solve this problem! Thanks in advance.
The text was updated successfully, but these errors were encountered: