@nestjs/swagger throwing error for @nestjs/core on npm install for sh -c opencollective || exit 0 #12655
Closed
4 of 15 tasks
Labels
needs triage
This issue has not been looked into
Is there an existing issue for this?
Current behavior
When using
@nestjs/swagger
for our base library in typescript, all of our CI/CD builds are throwing errors fornpm install
due to@nestjs/core
for the command:opencollective || exit 0
.Upon investigating it seems the core package's package.json
postinstall
script uses it, located here:nest/packages/core/package.json
Line 21 in e06a650
However, the root package.json uses
opencollective
?nest/package.json
Line 30 in e06a650
Honestly, I'm not quite sure what the issue is, but our CI/CD builds keep failing, so seeking any and all help that I can get, to resolve this issue of mine.
Our CI/CD builds are running on Amazon Linux 2 EC2 Instances.
Minimum reproduction code
https://stackblitz.com/edit/nestjs-typescript-starter-3xhh9q?file=package.json
Steps to reproduce
npm install
Expected behavior
Not throw an error
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
@nuxtjs/opencollective
NestJS version
^9.0.0 || ^10.0.0
Packages versions
package.json
package-lock.json
Node.js version
20.9.0
In which operating systems have you tested?
Other
The text was updated successfully, but these errors were encountered: