nitro icon indicating copy to clipboard operation
nitro copied to clipboard

tracer copies multiple files to same location, triggering file corruption

Open danielroe opened this issue 2 years ago • 1 comments

Environment

Nitropack 0.3.8 Node v16.14.2

Reproduction

npx nuxi init nuxt3-app
cd nuxt3-app && pnpm i --shamefully-hoist
pnpm build && node .output/server/index.mjs

Sometimes this will trigger an error due to a ufo package.json corruption.

Describe the bug

Multiple minor version copies of the same package are being written to the same location in .output/server/node_modules, which sometimes triggers file corruption.

Additional context

No response

Logs

No response

danielroe avatar Apr 29 '22 09:04 danielroe

https://github.com/nuxt/framework/runs/7251588947?check_suite_focus=true

danielroe avatar Jul 08 '22 13:07 danielroe