0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Expected content key aca33b21dc11252c to exist / Parcel実行時のエラー

Last updated at Posted at 2024-01-31

状況

  • Docker
    • node:node:20.11.0-bullseye-slim
    • pracel

このイメージで作られたコンテナに入り、npx parcel build を実行すると発生

ファイル構造

.
├── build
│   └── なし
├── node_modules
│   ├── ...
├── src
│   └── index.ts
├── .parcel-cache
│   └── モロモロ
├── Dockerfile
├── tsconfig.json
├── package.json
└── yarn.lock

事象

以下のコードを実行時に生じたエラー

npx parcel build ./src/index.ts --dist-dir ./build

解決策

.parcel-cache を削除することで動いた。

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?