You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building the Ember / Embroider app throws this error:
Error: Cannot find module @rollup/rollup-darwin-arm64. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory.
at requireWithFriendlyError (/redacted/altbase/ember-simple-auth-token/addon/node_modules/rollup/dist/native.js:59:9)
at Object.<anonymous> (/redacted/altbase/ember-simple-auth-token/addon/node_modules/rollup/dist/native.js:68:76)
... 3 lines matching cause stack trace ...
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/redacted/altbase/ember-simple-auth-token/addon/node_modules/rollup/dist/shared/parseAst.js:12:19)
at Module._compile (node:internal/modules/cjs/loader:1356:14) {
[cause]: Error: Cannot find module '@rollup/rollup-darwin-arm64'
Require stack:
- /redacted/addon/node_modules/rollup/dist/native.js
- /redacted/addon/node_modules/rollup/dist/shared/parseAst.js
- /redacted/addon/node_modules/rollup/dist/shared/rollup.js
- /redacted/addon/node_modules/rollup/dist/bin/rollup
at requireWithFriendlyError (/redacted/addon/node_modules/rollup/dist/native.js:41:10)
at Object.<anonymous> (/redacted/addon/node_modules/rollup/dist/native.js:68:76)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/redacted/addon/node_modules/rollup/dist/native.js',
'/redacted/addon/node_modules/rollup/dist/shared/parseAst.js',
'/redacted/addon/node_modules/rollup/dist/shared/rollup.js',
'/redacted/addon/node_modules/rollup/dist/bin/rollup'
]
}
Reverting rollup 4.16.4 to 4.14.3 fixes the error.
The Ember app build process should not throw MODULE_NOT_FOUND errors. Deleting package-lock.json and node_modules folder and reinstalling all dependencies does not fix the error.
The text was updated successfully, but these errors were encountered:
Could you check again if the issue persists with the latest release? While I am not sure how it could have caused this issue, there were some problems introduced by GitHub switching to ARM Mac runners that should be addressed there.
Rollup Version
4.16.4
Operating System (or Browser)
MacOS Sonoma
Node Version (if applicable)
18.19.1
Link To Reproduction
https://rollupjs.org/repl/?version=4.16.4&shareable=JTdCJTIyZXhhbXBsZSUyMiUzQSUyMjAwJTIyJTJDJTIybW9kdWxlcyUyMiUzQSU1QiU3QiUyMmNvZGUlMjIlM0ElMjIlMkYlMkYlMjBUUkVFLVNIQUtJTkclNUNuaW1wb3J0JTIwJTdCJTIwY3ViZSUyMCU3RCUyMGZyb20lMjAnLiUyRm1hdGhzLmpzJyUzQiU1Q24lNUNuY29uc29sZS5sb2coY3ViZSg1KSklM0IlMjAlMkYlMkYlMjAxMjUlMjIlMkMlMjJpc0VudHJ5JTIyJTNBdHJ1ZSUyQyUyMm5hbWUlMjIlM0ElMjJtYWluLmpzJTIyJTdEJTJDJTdCJTIyY29kZSUyMiUzQSUyMiUyRiUyRiUyMG1hdGhzLmpzJTVDbiU1Q24lMkYlMkYlMjBUaGlzJTIwZnVuY3Rpb24lMjBpc24ndCUyMHVzZWQlMjBhbnl3aGVyZSUyQyUyMHNvJTVDbiUyRiUyRiUyMFJvbGx1cCUyMGV4Y2x1ZGVzJTIwaXQlMjBmcm9tJTIwdGhlJTIwYnVuZGxlLi4uJTVDbmV4cG9ydCUyMGNvbnN0JTIwc3F1YXJlJTIwJTNEJTIweCUyMCUzRCUzRSUyMHglMjAqJTIweCUzQiU1Q24lNUNuJTJGJTJGJTIwVGhpcyUyMGZ1bmN0aW9uJTIwZ2V0cyUyMGluY2x1ZGVkJTVDbiUyRiUyRiUyMHJld3JpdGUlMjB0aGlzJTIwYXMlMjAlNjBzcXVhcmUoeCklMjAqJTIweCU2MCU1Q24lMkYlMkYlMjBhbmQlMjBzZWUlMjB3aGF0JTIwaGFwcGVucyElNUNuZXhwb3J0JTIwY29uc3QlMjBjdWJlJTIwJTNEJTIweCUyMCUzRCUzRSUyMHglMjAqJTIweCUyMColMjB4JTNCJTVDbiU1Q24lMkYlMkYlMjBUaGlzJTIwJTVDJTIyc2lkZSUyMGVmZmVjdCU1QyUyMiUyMGNyZWF0ZXMlMjBhJTIwZ2xvYmFsJTVDbiUyRiUyRiUyMHZhcmlhYmxlJTIwYW5kJTIwd2lsbCUyMG5vdCUyMGJlJTIwcmVtb3ZlZC4lNUNud2luZG93LmVmZmVjdDElMjAlM0QlMjAnY3JlYXRlZCclM0IlNUNuJTVDbmNvbnN0JTIwaW5jbHVkZUVmZmVjdCUyMCUzRCUyMGZhbHNlJTNCJTVDbmlmJTIwKGluY2x1ZGVFZmZlY3QpJTIwJTdCJTVDbiU1Q3QlMkYlMkYlMjBPbiUyMHRoZSUyMG90aGVyJTIwaGFuZCUyQyUyMHRoaXMlMjBpcyUyMG5ldmVyJTVDbiU1Q3QlMkYlMkYlMjBleGVjdXRlZCUyMGFuZCUyMHRodXMlMjByZW1vdmVkLiU1Q24lNUN0d2luZG93LmVmZmVjdDElMjAlM0QlMjAnbm90JTIwY3JlYXRlZCclM0IlNUNuJTdEJTIyJTJDJTIyaXNFbnRyeSUyMiUzQWZhbHNlJTJDJTIybmFtZSUyMiUzQSUyMm1hdGhzLmpzJTIyJTdEJTVEJTJDJTIyb3B0aW9ucyUyMiUzQSU3QiUyMm91dHB1dCUyMiUzQSU3QiUyMmZvcm1hdCUyMiUzQSUyMmVzJTIyJTdEJTJDJTIydHJlZXNoYWtlJTIyJTNBdHJ1ZSU3RCU3RA==
Expected Behaviour
Ember application should build without errors
Actual Behaviour
Building the Ember / Embroider app throws this error:
node 18.19.1, npm 10.5.1
Reverting rollup 4.16.4 to 4.14.3 fixes the error.
The Ember app build process should not throw MODULE_NOT_FOUND errors. Deleting package-lock.json and node_modules folder and reinstalling all dependencies does not fix the error.
The text was updated successfully, but these errors were encountered: