You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro v4.0.6
Node v20.10.0
System Windows (x64)
Package Manager pnpm
Output hybrid
Adapter netlify
Integrations none
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I'm also getting an error when setting up a new project with the Netlify plugin
pnpm create astro@latest
pnpm astro add netlify
Correct the generated import path to be @astrojs/netlify
pnpm build
This command fails with
[vite] Error when evaluating SSR module .\astro.config.mjs: failed to import "@astrojs/netlify"
|- TypeError [ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "./node_modules/.pnpm/@astrojs+netlify@4.0.0_astro@4.0.6/node_modules/@astrojs/netlify/package.json" needs an import attribute of type "json"
Note this happens with the corrected path for the netlify plugin (so not a result of #9459)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I'm also getting an error when setting up a new project with the Netlify plugin
pnpm create astro@latest
pnpm astro add netlify
@astrojs/netlify
pnpm build
This command fails with
Note this happens with the corrected path for the netlify plugin (so not a result of #9459)
What's the expected result?
The build to succeed
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ibypto?file=astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: