GithubHelp home page GithubHelp logo

Syntax Error about nlcattendance HOT 2 CLOSED

ricard-inho avatar ricard-inho commented on August 21, 2024
Syntax Error

from nlcattendance.

Comments (2)

smattingly avatar smattingly commented on August 21, 2024

What is the error message?
BTW, please save the "bug" label for problems that are discovered on the master branch, or at least that have left one person's branch and been shared with others. Arguably it would be better to post questions like these just as comments with an @mention seeking help.

from nlcattendance.

ricard-inho avatar ricard-inho commented on August 21, 2024
> [email protected] mocha /home/ubuntu/workspace/nlcAttendance
> mysql-ctl start 2> /dev/null; nyc ./node_modules/.bin/_mocha --recursive ./test/lifecycle.js ./test

 * Starting MySQL database server mysqld
   ...done.
/home/ubuntu/workspace/nlcAttendance/test/models/Student.js:92
    };
    ^

SyntaxError: missing ) after argument list
    at new Script (vm.js:84:7)
    at createScript (vm.js:264:10)
    at Object.runInThisContext (vm.js:312:10)
    at Module._compile (internal/modules/cjs/loader.js:684:28)
    at Module.replacementCompile (/home/ubuntu/workspace/nlcAttendance/node_modules/nyc/node_modules/append-transform/index.js:58:13)
    at Module._extensions..js (internal/modules/cjs/loader.js:732:10)
    at Object.<anonymous> (/home/ubuntu/workspace/nlcAttendance/node_modules/nyc/node_modules/append-transform/index.js:62:4)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
    at Module.require (internal/modules/cjs/loader.js:657:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at /home/ubuntu/workspace/nlcAttendance/node_modules/mocha/lib/mocha.js:250:27
    at Array.forEach (<anonymous>)
    at Mocha.loadFiles (/home/ubuntu/workspace/nlcAttendance/node_modules/mocha/lib/mocha.js:247:14)
    at Mocha.run (/home/ubuntu/workspace/nlcAttendance/node_modules/mocha/lib/mocha.js:576:10)
    at Object.<anonymous> (/home/ubuntu/workspace/nlcAttendance/node_modules/mocha/bin/_mocha:637:18)
    at Module._compile (internal/modules/cjs/loader.js:721:30)
    at Module.replacementCompile (/home/ubuntu/workspace/nlcAttendance/node_modules/nyc/node_modules/append-transform/index.js:58:13)
    at Module._extensions..js (internal/modules/cjs/loader.js:732:10)
    at Object.<anonymous> (/home/ubuntu/workspace/nlcAttendance/node_modules/nyc/node_modules/append-transform/index.js:62:4)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:774:12)
    at runMain (/home/ubuntu/.node-spawn-wrap-2505-3a06660472d1/node:68:10)
    at Function.<anonymous> (/home/ubuntu/.node-spawn-wrap-2505-3a06660472d1/node:171:5)
    at Object.<anonymous> (/home/ubuntu/workspace/nlcAttendance/node_modules/nyc/bin/wrap.js:23:4)
    at Module._compile (internal/modules/cjs/loader.js:721:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:774:12)
    at /home/ubuntu/.node-spawn-wrap-2505-3a06660472d1/node:178:8
    at Object.<anonymous> (/home/ubuntu/.node-spawn-wrap-2505-3a06660472d1/node:181:3)
    at Module._compile (internal/modules/cjs/loader.js:721:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:774:12)
    at executeUserCode (internal/bootstrap/node.js:499:15)
    at startMainThreadExecution (internal/bootstrap/node.js:436:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] mocha: `mysql-ctl start 2> /dev/null; nyc ./node_modules/.bin/_mocha --recursive ./test/lifecycle.js ./test`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] mocha script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2019-02-25T02_50_26_079Z-debug.log

from nlcattendance.

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.