Giter VIP home page Giter VIP logo

Comments (2)

katowulf avatar katowulf commented on September 2, 2024

Here's the error message, which disappears if I comment out the require('dynode') line. No combination of ./dynode, ./node_modules/dynode, etc will make it happy : (

[wordspot@ip-10-117-34-116 wsnode]$ node ./app.js
info - socket.io started

/home/wordspot/wsnode/libs/config.js:17
var dynode = require('dynode');
^^^^^^

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Unexpected identifier
at Module._compile (module.js:427:25)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/home/wordspot/wsnode/app.js:7:1)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)

from dynode.

ryanfitz avatar ryanfitz commented on September 2, 2024

sounds like you may have a syntax error on the previous line of your script. I just tested a fresh install of dynode from npm and can use it without issue.

Look at your stack trace - SyntaxError: Unexpected identifier. Im guessing you didn't end the previous line with a semicolon

from dynode.

Related Issues (17)

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.