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

Bug: @rollup/rollup-linux-x64-gnu #94

Open
1 of 2 tasks
esthersoftwaredev opened this issue Dec 13, 2024 · 1 comment
Open
1 of 2 tasks

Bug: @rollup/rollup-linux-x64-gnu #94

esthersoftwaredev opened this issue Dec 13, 2024 · 1 comment
Assignees
Labels
🐛 bug Something isn't working core team work

Comments

@esthersoftwaredev
Copy link
Member

Describe the bug

ng build --configuration production
1:29:01 PM: /opt/build/repo/node_modules/rxjs/dist/cjs/internal/util/reportUnhandledError.js:13
1:29:01 PM: throw err;
1:29:01 PM: ^
1:29:01 PM: Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to optional dependencies (npm/cli#4828). Please try npm i again after removing both package-lock.json and node_modules directory.
1:29:01 PM: at requireWithFriendlyError (/opt/build/repo/node_modules/rollup/dist/native.js:59:9)
1:29:01 PM: at Object. (/opt/build/repo/node_modules/rollup/dist/native.js:68:76)
1:29:01 PM: ... 3 lines matching cause stack trace ...
1:29:01 PM: at Module._load (node:internal/modules/cjs/loader:1019:12)
1:29:01 PM: at Module.require (node:internal/modules/cjs/loader:1231:19)
1:29:01 PM: at require (node:internal/modules/helpers:177:18)
1:29:01 PM: at Object. (/opt/build/repo/node_modules/rollup/dist/shared/parseAst.js:12:19)
1:29:01 PM: at Module._compile (node:internal/modules/cjs/loader:1364:14) {
1:29:01 PM: [cause]: Error: Cannot find module '@rollup/rollup-linux-x64-gnu'
1:29:01 PM: Require stack:
1:29:01 PM: - /opt/build/repo/node_modules/rollup/dist/native.js
1:29:01 PM: - /opt/build/repo/node_modules/rollup/dist/shared/parseAst.js
1:29:01 PM: - /opt/build/repo/node_modules/rollup/dist/shared/rollup.js
1:29:01 PM: - /opt/build/repo/node_modules/rollup/dist/rollup.js
1:29:01 PM: - /opt/build/repo/node_modules/@angular/build/src/builders/application/chunk-optimizer.js
1:29:01 PM: - /opt/build/repo/node_modules/@angular/build/src/builders/application/execute-build.js
1:29:01 PM: - /opt/build/repo/node_modules/@angular/build/src/builders/application/index.js
1:29:01 PM: - /opt/build/repo/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js
1:29:01 PM: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
1:29:01 PM: at Module._load (node:internal/modules/cjs/loader:981:27)
1:29:01 PM: at Module.require (node:internal/modules/cjs/loader:1231:19)
1:29:01 PM: at require (node:internal/modules/helpers:177:18)
1:29:01 PM: at requireWithFriendlyError (/opt/build/repo/node_modules/rollup/dist/native.js:41:10)
1:29:01 PM: at Object. (/opt/build/repo/node_modules/rollup/dist/native.js:68:76)
1:29:01 PM: at Module._compile (node:internal/modules/cjs/loader:1364:14)
1:29:01 PM: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
1:29:01 PM: at Module.load (node:internal/modules/cjs/loader:1203:32)
1:29:01 PM: at Module._load (node:internal/modules/cjs/loader:1019:12) {
1:29:01 PM: code: 'MODULE_NOT_FOUND',
1:29:01 PM: requireStack: [
1:29:01 PM: '/opt/build/repo/node_modules/rollup/dist/native.js',
1:29:01 PM: '/opt/build/repo/node_modules/rollup/dist/shared/parseAst.js',
1:29:01 PM: '/opt/build/repo/node_modules/rollup/dist/shared/rollup.js',
1:29:01 PM: '/opt/build/repo/node_modules/rollup/dist/rollup.js',
1:29:01 PM: '/opt/build/repo/node_modules/@angular/build/src/builders/application/chunk-optimizer.js',
1:29:01 PM: '/opt/build/repo/node_modules/@angular/build/src/builders/application/execute-build.js',
1:29:01 PM: '/opt/build/repo/node_modules/@angular/build/src/builders/application/index.js',
1:29:01 PM: '/opt/build/repo/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js'
1:29:01 PM: ]
1:29:01 PM: }
1:29:01 PM: }
1:29:01 PM: Node.js v18.20.5
1:29:01 PM: ​
1:29:01 PM: "build.command" failed

Steps to reproduce

wtf

Browsers

No response

Additional context (Is this in dev or production?)

No response

I would be willing to submit a PR to fix this issue

Copy link

Thanks for the issue, our team will look into it as soon as possible! If you would like to work on this issue, please wait for us to decide if it's ready. The issue will be ready to work on once we remove the "needs triage" label.

To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please reach out to us on Discord or follow up on the issue itself.

For full info on how to contribute, please check out our contributors guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working core team work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant