GithubHelp home page GithubHelp logo

Failed at start script about pm HOT 5 CLOSED

anvaka avatar anvaka commented on June 23, 2024
Failed at start script

from pm.

Comments (5)

Kohze avatar Kohze commented on June 23, 2024

same problem here

from pm.

anvaka avatar anvaka commented on June 23, 2024

@Kohze - do you have anything running on port 8081? Can you try:

PORT=9090 node dev-server

from pm.

Kohze avatar Kohze commented on June 23, 2024

Didn't solve it, the message it returns is that it does not know how to interpret "PORT" . Other than that the log is:

19 error node v7.9.1-nightly20170411675ece47b3
20 error npm v4.2.0
21 error code ELIFECYCLE
22 error errno 1
23 error [email protected] start: PORT=8081 node dev-server.js
23 error Exit status 1
24 error Failed at the [email protected] start script 'PORT=8081 node dev-server.js'.
24 error Make sure you have the latest version of node.js and npm installed.
24 error If you do, this is most likely a problem with the pmviz package,
24 error not with npm itself.
24 error Tell the author that this fails on your system:
24 error PORT=8081 node dev-server.js
24 error You can get information on how to open an issue for this project with:
24 error npm bugs pmviz
24 error Or if that isn't available, you can get their info via:
24 error npm owner ls pmviz
24 error There is likely additional logging output above.
25 verbose exit [ 1, true ]

image

from pm.

Kohze avatar Kohze commented on June 23, 2024

Update: Solved the Issue. Apparently it was OS specific. For everyone using a windows machine the line

"start": "PORT=8081 node dev-server.js"

needs to be replaced with

"start": "set PORT=8081 && node dev-server.js"

from pm.

anvaka avatar anvaka commented on June 23, 2024

Thank you, @Kohze for diving deeper. I pushed a Windows starter script. Hopefully it would help for the Windows platform users. Please let me know if it doesn't work.

from pm.

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.