E
E
EranosyanEduard2022-01-23 17:33:17
JavaScript
EranosyanEduard, 2022-01-23 17:33:17

How to fix an error when building a project using parcel?

Hello. Please tell me what is the reason for the error when building a basic js project using parcel? I launch parcel with the npx parcel index.html command.

Repository: https://github.com/EranosyanEduard/parcel-sandbox
node 16.13.2 / npm 8.1.2

Error:
Error: No such file or directory
at Object.open (/home/eduard/Desktop/work/sandbox/ parcel-sandbox/node_modules/lmdb/dist/index.cjs:1853:3)
at new LMDBCache (/home/eduard/Desktop/work/sandbox/parcel-sandbox/node_modules/@parcel/cache/lib/LMDBCache.js :69:34)
at resolveOptions (/home/eduard/Desktop/work/sandbox/parcel-sandbox/node_modules/@parcel/core/lib/resolveOptions.js:112:168)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Parcel._init (/home/eduard/Desktop/work/sandbox/parcel-sandbox/node_modules/@parcel/core/lib/Parcel.js: 218:27)
at async Parcel.watch (/home/eduard/Desktop/work/sandbox/parcel-sandbox/node_modules/@parcel/core/lib/Parcel.js:315:7)
at async run (/home/ eduard/Desktop/work/sandbox/parcel-sandbox/node_modules/parcel/lib/cli.js:349:9) {
code: 2
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question