-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New build error - Astro 4.13.4 #11700
Comments
The fail seem to start from #11535 onwards, but I'm not sure what specifically is causing it. |
Never came across this one. started this company project on june 20th with astro reverted back to commit from yesterday and all came back to work properly. no change in any of the components/code/structures/configs were made. just updating the packages. After comparing the dependencies from yesterday to today, here are the all the changes:
|
Hey @MeirJC, could you use the preview release The fix isn't related to server islands, but the regression was introduced from a PR that involves server islands |
I'll be happy to try this on the full project, i can test it in 20-30 minutes when ill get back to my desk |
Just run |
Will test and update soon |
@ematipico I get the same error with @MeirJC 's repo with the preview release |
Hey @ematipico
13:22:17 [ERROR] [vite] x Build failed in 9ms
Entry module "@astrojs/netlify/ssr-function.js" cannot be external.
Stack trace:
at getRollupError (file:///Users/meirjc/Projects/XXXX/XXXXX/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:392:41)
at ModuleLoader.loadEntryModule (file:///Users/meirjc/Projects/XXXXX/XXXXXXX/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19240:20)
ELIFECYCLE Command failed with exit code 1.
build was still failing
Build works with no issues. Did not tested deploy since this project is deployed to netlify, so it needs the netlify adapter for ssr. |
On a brand new 4.14.2 project without typescript (answered JS-only in the CLI wizard), the zod-to-ts error is present. The pre-release build from #11700 (comment) resolves it. Just mentioning this here to hopefully get a .3 release soon :) |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
cli - In build process
Describe the Bug
New build error - Astro 4.13.4
I have been working on the project daily for the past 2-3 months.
updating the Astro packge and dependencies to the latest versions frequently using the
@astrojs/upgrade
command.a few minutes ago, I ran the
@astrojs/upgrade
command and updated the Astro package from4.13.3
to version4.13.4
.After the update, I ran the
pnpm build
command to build the project, but it failed. which is unusual because the build process has been working fine whenever I update the Astro package.Main tech stack
Astro 4.13.4
Svelte 4.2.18
TypeScript 5.5.4
TailwindCSS 3.4.10
Directus SDK 17.0.0
Nanostores 0.11.2
The deployment adapter is
@astrojs/netlify
- this is a project i build in my company - and for now we uesd Netlify for dev deployment and doing qa.Complete process
@astrojs/upgrade
pnpm install
just to be sure all dependencies installed correctly.❯ pnpm install Lockfile is up to date, resolution step is skipped Already up to date Done in 640ms
pnpm astro check
to check for TypeScript errors.pnpm build
to build the project.(this is a long process, so I'm not including the full output here - just the error message and the last few lines of the output)
These are just the error lines
These are all the dependencies frmo the
package.json
astro.config.mjs
fileI have been working on this projects for few, and I have never encountered this error before.
just this update from
4.13.3
to4.13.4
.What's the expected result?
the build to work as before updating to Astro 4.13.4
Link to Minimal Reproducible Example
https://github.com/MeirJC/demo-error-astro-4.13.4
Participation
The text was updated successfully, but these errors were encountered: