Here’s the deploy logs. All the steps are skipped except “Post-processing”:
4:21:24 PM: Starting post processing
4:21:24 PM: Post processing done
4:21:24 PM: Section completed: postprocessing
4:21:24 PM: Skipping form detection
4:21:24 PM: Post processing - header rules
4:21:24 PM: Post processing - redirect rules
4:21:25 PM: Site is live ✨
git clone https://github.com/SunFlea/netlify-pnpm-bug
cd netlify-pnpm-bug
pnpm install
netlify deploy
The problem goes away when using npm install instead. Netlify claims PNPM is supported both in a blog post and in the docs. So I don’t know what the issue is.
Did you deploy manually using the commands in my original post or are you deploying via GitHub?
Because it seems to work when deploying via GitHub but not manually when using commands.
same issue for me when using netlify deploy --build on Windows (git bash), then my site breaks.
When it tries to run the server function, I see error decoding lambda response: error decoding lambda response: unexpected end of JSON input
this is due to the build failing to import @astrojs/netlify Feb 3, 05:29:46 AM: ERROR Uncaught Exception {"errorType":"Error","errorMessage":"Cannot find package '@astrojs/netlify' imported from /var/task/.netlify/build/entry.mjs","code":"ERR_MODULE_NOT_FOUND",
Deploying via automatic CI through github work fine
Also, interestingly, using wsl (Linux Subsystem with Windows 11) on the same PC, the CLI works fine and the site functions as expected