Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only ejs npm not getting installed using git bash #528

Open
Rahul634 opened this issue Jun 27, 2020 · 6 comments
Open

only ejs npm not getting installed using git bash #528

Rahul634 opened this issue Jun 27, 2020 · 6 comments

Comments

@Rahul634
Copy link

ejs@3.1.3 postinstall C:\Users\BHAVE\Desktop\backend1\node_modules\ejs
node --harmony ./postinstall.js

npm WARN backend1@1.0.0 No description
npm WARN backend1@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! syscall spawn C:\MinGW\bin
npm ERR! file C:\MinGW\bin
npm ERR! path C:\MinGW\bin
npm ERR! errno ENOENT
npm ERR! ejs@3.1.3 postinstall: node --harmony ./postinstall.js
npm ERR! spawn C:\MinGW\bin ENOENT
npm ERR!
npm ERR! Failed at the ejs@3.1.3 postinstall 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! C:\Users\BHAVE\AppData\Roaming\npm-cache_logs\2020-06-27T01_54_42_532Z-debug.log

@mde
Copy link
Owner

mde commented Jun 27, 2020

What version of NodeJs and NPM do you have?

@Rahul634
Copy link
Author

npm version =6.14.4 and nodejs version will be =12.16.3

@shreyabhat22
Copy link

Facing the same error.

@Rahul634
Copy link
Author

Rahul634 commented Jul 8, 2020

so what is the solution!?

@skerit
Copy link

skerit commented Jul 16, 2020

I thought maybe it had something to do with version 3.1.3 specifically, but I'm also getting it with version 2.7.4 :/
Only version 2.7.2 and lower still work

@meanderix
Copy link

Seems to be related to unsafe-perm in lifecycle false. I resolved it by using npm install -g ejs --unsafe-perm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants