Comments (8)
I just had the same error in some other project. Seems to happen when using express version 3.0.0 beta (latest pointer in npm is on beta). I'll update the package.json file to use express 2.5.x…
Maybe a npm install [email protected]
will fix your problem?
from noduino.
This got farther..
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Calling node's require("socket.io") failed with error: Error: Cannot find module 'uglify-js'
at /Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:2255:27
at Object.execCb (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1766:33)
at Object.check (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1075:51)
at Object.enable (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1316:22)
at Object.init (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:974:26)
at callGetModule (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1341:59)
at Object.completeLoad (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1641:21)
at Function.load (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:2265:17)
at Object.load (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1755:21)
at Object.load (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1032:29)
from noduino.
which node version do you use?
from noduino.
currently on 0.6.14
from noduino.
I'm using v0.6.19 and the following package versions:
npm install [email protected] [email protected] [email protected] [email protected] [email protected]
from noduino.
Just checked, those are the same versions installed, it appears a submodule has a bad dependency list... I updated node... to eliminate that potential problem then ended up having to run:
npm install uglify-js
this resolved the above error... then
npm install active-x-obfuscator
to resolve:
/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1902
throw err;
^
Error: Calling node's require("socket.io") failed with error: Error: Cannot find module 'active-x-obfuscator'
at req.load (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:2255:27)
at Object.context.execCb (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1766:33)
at Object.Module.check (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1075:51)
at Object.Module.enable (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1316:22)
at Object.Module.init (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:974:26)
at callGetModule (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1341:59)
at Object.context.completeLoad (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1641:21)
at Function.req.load (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:2265:17)
at Object.context.load (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1755:21)
at Object.Module.load (/Users/ktiedt/repos-git/noduino/node_modules/requirejs/bin/r.js:1032:29)
So likely not a problem with noduino other than it depends on a project with bad dependencies?
from noduino.
Try downgrading to a lower version of uglify-js
or active-x-obfuscator
, see npm info uglify-js
for a version history…
from noduino.
Once I install those (no version specifics) -- srv.web.js starts, just the demo pages "Connect to" all cause a segfault (I dont have the board setup with ledWalker yet -- since I couldnt even get the code to run -- setting up a board now to test)
from noduino.
Related Issues (20)
- XMLHTTPRequest: Access-Control-Allow-Origin
- Cannot connect to arduino HOT 4
- Cannot read property 'port' of null HOT 3
- duino submodule fails to retrieve files on update HOT 6
- [Error: Unable to connect] Opening \\.\/dev/: Unknown error code 3 HOT 11
- "found board at undefined" HOT 2
- wifi support? HOT 3
- Can't install noduino
- node srv.web.js is inappropriately referred to as app.j in public index.html on project site
- How do I access the examples? HOT 1
- "ls /dev | grep usb(ACM) " and "serialPort.list"
- npm install does not produce app.js HOT 1
- Liquid Crystal
- npm module HOT 1
- LED.on() action not turning on leds
- I got a problem with running node srv.web.js HOT 6
- Uncaught ReferenceError: io is not defined:- Noduino.Socket.js:54 HOT 2
- Can´t connect to Duemilenove
- ESP8266 support
- Is this project still alive?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noduino.