parcel-bundler / parcel

The zero configuration build tool for the web. 📦🚀
https://parceljs.org
MIT License
43.5k stars 2.27k forks source link

Error: Cannot find module './artifacts/index.win32-ia32-msvc.node' #9496

Closed Niveditarani closed 2 months ago

Niveditarani commented 10 months ago

32 bit windows laptop while running npx parcel filename.html got the error that parcel couldn't find the module

Expanded the artifacts directory and can see the above reported file is missing.

at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (C:\Users\User\Desktop\Maternity Leave 2023- Learnings\Namaste React\node_modules\@parcel\source-map\parcel_sourcemap_node\index.js:15:18)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19) {

code: 'MODULE_NOT_FOUND',

fancsali commented 8 months ago

I have a similar one on Alpine Linux on ARMv7:

$ yarn build:amplify
$ parcel build ./src/amplify.ts --no-source-maps
Error: Cannot find module './artifacts/index.linux-arm-musl.node'

It also seems to be very similar to #6947.

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.

fancsali commented 2 months ago

Does this mean, this won't be fixed at all? 🤔