GithubHelp home page GithubHelp logo

express.compiler undefined about noduino HOT 8 OPEN

sbstjn avatar sbstjn commented on June 11, 2024
express.compiler undefined

from noduino.

Comments (8)

sbstjn avatar sbstjn commented on June 11, 2024

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.

ktiedt avatar ktiedt commented on June 11, 2024

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.

sbstjn avatar sbstjn commented on June 11, 2024

which node version do you use?

from noduino.

ktiedt avatar ktiedt commented on June 11, 2024

currently on 0.6.14

from noduino.

sbstjn avatar sbstjn commented on June 11, 2024

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.

ktiedt avatar ktiedt commented on June 11, 2024

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.

sbstjn avatar sbstjn commented on June 11, 2024

Try downgrading to a lower version of uglify-js or active-x-obfuscator, see npm info uglify-js for a version history…

from noduino.

ktiedt avatar ktiedt commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.