Code Monkey home page Code Monkey logo

nodejs-basic-bnmd's Introduction

nodejs-basic-bnmd

First nodejs basic repo.

nodejs-basic-bnmd's People

Contributors

thu4nvd avatar

Watchers

 avatar

nodejs-basic-bnmd's Issues

[nodemon] restarting due to changes...

Current Behavior:

Nodemon stuck at restarting...

    [nodemon] restarting due to changes...

Expected Behavior:

[nodemon] starting `babel-node src/server.js`
Example app listening at http://localhost:8080

Steps To Reproduce:

  1. In this environment: below

  2. With this config...

    npm install --save-exact [email protected]
    npm install --save-exact [email protected]
    npm install --save-exact [email protected]
    npm install --save-exact [email protected]
    npm install --save-exact @babel/[email protected]
    npm install --save-exact @babel/[email protected] @babel/[email protected]
    npm install --save-exact [email protected]

  3. Run 'npm start'

  4. See error

Environment:

  • OS: Windows 10 Pro . ver:
  • Node: v14.17.6
  • npm: 6.14.15

[nodemon] app crashed - waiting for file changes before starting...

Current Behavior:

Error show when run npm start

    SyntaxError: Invalid or unexpected token
    	at wrapSafe (internal/modules/cjs/loader.js:988:16)
    	at Module._compile (internal/modules/cjs/loader.js:1036:27)
    	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    	at Module.load (internal/modules/cjs/loader.js:937:32)
    	at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    	at Module.require (internal/modules/cjs/loader.js:961:19)
    	at require (internal/modules/cjs/helpers.js:92:18)
    	at Object.<anonymous> (D:\workspace\nodejs-basic-bnmd\node_modules\core-js\stable\index.js:158:1)
    	at Module._compile (internal/modules/cjs/loader.js:1072:14)
    	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    [nodemon] app crashed - waiting for file changes before starting...

Expected Behavior:

[nodemon] starting `babel-node src/server.js`
Example app listening at http://localhost:8080

Steps To Reproduce:

  1. In this environment: below

  2. With this config...

    npm install --save-exact [email protected]
    npm install --save-exact [email protected]
    npm install --save-exact [email protected]
    npm install --save-exact [email protected]
    npm install --save-exact @babel/[email protected]
    npm install --save-exact @babel/[email protected] @babel/[email protected]
    npm install --save-exact [email protected]

  3. Run 'npm start'

  4. See error

Environment:

  • OS: Windows 10 Pro . ver:
  • Node: v14.17.6
  • npm: 6.14.15

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.