Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

242
Visualizações
Cannot run Parcel in my project (Parcel does not create dist with compiled file)

Please help me figure out the problem. I can not understand the essence of the error and how to fix it.

I initialize the project: npm init -y

Install Parcel: npm install --save-dev parcel

I create src directory with an index.html file.

When I run the npx parcel src/index.html command, I get an error:

Error: The filename, directory name, or volume label syntax is incorrect.

at Object.open (C:\Users\dell\OneDrive\Документи\Projects\Test\node_modules\lmdb\dist\index.cjs:1936:3) at new LMDBCache (C:\Users\dell\OneDrive\Документи\Projects\Test\node_modules@parcel\cache\lib\LMDBCache.js:69:34) at resolveOptions (C:\Users\dell\OneDrive\Документи\Projects\Test\node_modules@parcel\core\lib\resolveOptions.js:112:168) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async Parcel._init (C:\Users\dell\OneDrive\Документи\Projects\Test\node_modules@parcel\core\lib\Parcel.js:218:27) at async Parcel.watch (C:\Users\dell\OneDrive\Документи\Projects\Test\node_modules@parcel\core\lib\Parcel.js:315:7) at async run (C:\Users\dell\OneDrive\Документи\Projects\Test\node_modules\parcel\lib\cli.js:349:9) { code: 123 }

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

I had the same issue. I resolved it by changing the line at node_modules@parcel\core\lib\resolveOptions.js:112:168 to

let cache = (_initialOptions$cache = initialOptions.cache) !== null && _initialOptions$cache !== void 0 ? _initialOptions$cache : new (_cache().FSCache)(outputFS, cacheDir);

Basically, I removed the outputFS instanceof _fs().NodeFS ? new (_cache().LMDBCache)(cacheDir) : part of that line. For some unknown reason, there seems to be a problem with LMDBCache and Parcel.

about 4 years ago · Juan Pablo Isaza Relatório

0

You're missing the build command from npx parcel src/index.html:

Update to:

npx parcel build src/index.html.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda