Error: morphlingjs@0.1.99 postinstall: `NODE_PORT=1 docker-compose build`
See original GitHub issueHi there,
I’d be very interested in trying this tool out but when i run npm i -g morphlingjs
I get an error stating that postinstall failed. I haven’t used docker
before so it could be also that.
Here’s npm log:
24100 error Windows_NT 10.0.15063
24101 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "-g" "morphlingjs"
24102 error node v6.10.3
24103 error npm v3.10.10
24104 error code ELIFECYCLE
24105 error morphlingjs@0.1.99 postinstall: `NODE_PORT=1 docker-compose build`
24105 error Exit status 1
24106 error Failed at the morphlingjs@0.1.99 postinstall script 'NODE_PORT=1 docker-compose build'.
24106 error Make sure you have the latest version of node.js and npm installed.
24106 error If you do, this is most likely a problem with the morphlingjs package,
24106 error not with npm itself.
24106 error Tell the author that this fails on your system:
24106 error NODE_PORT=1 docker-compose build
24106 error You can get information on how to open an issue for this project with:
24106 error npm bugs morphlingjs
24106 error Or if that isn't available, you can get their info via:
24106 error npm owner ls morphlingjs
24106 error There is likely additional logging output above.
24107 verbose exit [ 1, true ]
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
fails to invoke npm when used in run-scripts #1734 - GitHub
I'm having a similar issue. We're seeing it when we try to do an npm install from the Docker command, when we set...
Read more >Cannot find module for a node js app running in a docker ...
When I do docker-compose up, I get this error: backend_1 | npm info it worked if it ends with ok backend_1 | npm...
Read more >Compose file version 3 reference - Docker Documentation
Compose file version 3 reference. Reference and guidelines . These topics describe version 3 of the Compose file format. This is the...
Read more >Create a Dev Container - Visual Studio Code
Configure multiple containers through Docker Compose. ... that uses a pre-built TypeScript and Node.js VS Code Development Container image:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
doing
NODE_PORT=1 docker-compose build
is the bash way of creating a “local” environment variable to be used by the program in the command line it seems to just not work on windows CLI.try doing
SET NODE_PORT=1
and thendocker-compose build
it might just work.On Thu, Nov 16, 2017 at 3:44 PM, Tuomas Ukkola notifications@github.com wrote:
– Cordialement, Pierre-Marie Achart.
https://github.com/leboncoin/morphlingjs/pull/7