-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
@nestjs/core post install script fails on powershell #7049
Comments
Also, if I set npm script-shell config to cmd the post install script fails too. I managed to install this by deleting the script-shell config on npm |
I think you could run https://docs.npmjs.com/cli/v7/commands/npm-install#ignore-scripts |
I tried this, for some reason is like the installations ends up being incomplete and it won't work after that. |
So it looks like the issue is that in previous nestjs versions, the postinstall script to run the opencollective log thing after install looked like
Which is part of the It looks like the latest version of The issue is that I'm not sure how you are gonna be able to install these v7 versions of nestjs using powershell unless you can someone stop that You may want to consider using git bash or something to install on Windows instead as a last resort. Otherwise, you should try out the latest nestjs core and see if it breaks. Those sound better than forking your current nestjs/core version or something to get rid of that |
Let's track this here nuxt-contrib/opencollective#68 |
Bug Report
When running
npm install
on an already existing project I get this errorWhen I try creating a new project with the CLI the installation fails
Current behavior
Installation and setup fails, the project won't run.
Postinstall script seems to fail when running on PowerShell
Expected behavior
Installation not failing
Environment
Others:
I had set up NPM too run scripts on PowerShell
The text was updated successfully, but these errors were encountered: