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
I had a previous issue with the rspack build command on the ppc64le architechture. I attempted to use the same approach by finding the correct crate for this node module, but I cannot seem to find any reference to this resolver-binding-linux module (it is not in the npm package registry for any other architecture like the module in the previous issue).
Where does this module come from? Does it have to be built in a different way from @rspack/binding-linux-<arch>-gnu?
Error: Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-loc[50/1717]
d node_modules directory.
at Object.<anonymous> (/app/node_modules/@rspack/resolver/index.js:764:11)
at Module._compile (node:internal/modules/cjs/loader:1706:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
at Module.load (node:internal/modules/cjs/loader:1441:32)
at Module._load (node:internal/modules/cjs/loader:1263:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
... 2 lines matching cause stack trace ...
at require (node:internal/modules/helpers:147:16)
at Object.<anonymous> (/app/node_modules/@rsdoctor/core/dist/inner-plugins/utils/loader.cjs:45:34) {
[cause]: Error: Cannot find module '@rspack/resolver-binding-linux-ppc64-gnu'
Require stack:
- /app/node_modules/@rspack/resolver/index.js
- /app/node_modules/@rsdoctor/core/dist/inner-plugins/utils/loader.cjs
- /app/node_modules/@rsdoctor/core/dist/inner-plugins/utils/index.cjs
- /app/node_modules/@rsdoctor/core/dist/inner-plugins/plugins/loader.cjs
- /app/node_modules/@rsdoctor/core/dist/inner-plugins/plugins/index.cjs
- /app/node_modules/@rsdoctor/core/dist/inner-plugins/index.cjs
- /app/node_modules/@rsdoctor/core/dist/build-utils/build/loader/probeLoader.cjs
- /app/node_modules/@rsdoctor/core/dist/build-utils/build/loader/index.cjs
- /app/node_modules/@rsdoctor/core/dist/build-utils/build/index.cjs
- /app/node_modules/@rsdoctor/rspack-plugin/dist/index.cjs
- /app/rspack.config.js
- /app/node_modules/@rspack/cli/dist/index.js
- /app/node_modules/@rspack/cli/bin/rspack.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1383:15)
... 6 lines matching cause stack trace ...
at require (node:internal/modules/helpers:147:16)
at requireNative (/app/node_modules/@rspack/resolver/index.js:601:25)
at Object.<anonymous> (/app/node_modules/@rspack/resolver/index.js:729:17) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/app/node_modules/@rspack/resolver/index.js',
'/app/node_modules/@rsdoctor/core/dist/inner-plugins/utils/loader.cjs',
'/app/node_modules/@rsdoctor/core/dist/inner-plugins/utils/index.cjs',
'/app/node_modules/@rsdoctor/core/dist/inner-plugins/plugins/loader.cjs',
'/app/node_modules/@rsdoctor/core/dist/inner-plugins/plugins/index.cjs',
'/app/node_modules/@rsdoctor/core/dist/inner-plugins/index.cjs',
'/app/node_modules/@rsdoctor/core/dist/build-utils/build/loader/probeLoader.cjs',
'/app/node_modules/@rsdoctor/core/dist/build-utils/build/loader/index.cjs',
'/app/node_modules/@rsdoctor/core/dist/build-utils/build/index.cjs',
'/app/node_modules/@rsdoctor/rspack-plugin/dist/index.cjs',
'/app/rspack.config.js',
'/app/node_modules/@rspack/cli/dist/index.js',
'/app/node_modules/@rspack/cli/bin/rspack.js'
],
cause: Error: Cannot find module './resolver.linux-ppc64-gnu.node'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I had a previous issue with the
rspack buildcommand on the ppc64le architechture. I attempted to use the same approach by finding the correct crate for this node module, but I cannot seem to find any reference to this resolver-binding-linux module (it is not in the npm package registry for any other architecture like the module in the previous issue).Where does this module come from? Does it have to be built in a different way from
@rspack/binding-linux-<arch>-gnu?Beta Was this translation helpful? Give feedback.
All reactions