-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Description
Describe the bug
Upgrading an existing app to Svelte 3.16.1 causes client compilation to fail with the error Cannot read property 'n' of undefined
.
I'm the second person to see this in the discord, it seems. I don't know where the error comes from or what the causes is (but I do see that the variable n
is used a lot in recent Svelte commits - bb5cf9a).
Logs
ant@xeno ~/Projects/beyonk-dashboard master ● npm run dev
[email protected] dev /home/ant/Projects/beyonk-dashboard
PORT=1233 NODE_CONFIG_ENV=${NODE_ENV} sapper dev
✗ client
Cannot read property 'n' of undefined
To Reproduce
I'm afraid I simply don't know, at present.
Expected behavior
The client should compile as normal.
Information about your Svelte project:
-
Your operating system: Ubuntu 19.04
-
Svelte version 3.16.1
-
Rollup
Severity
Blocker. It's broken, and my app won't start.
Additional context
The app was previously using 3.15, and trying 3.16.0 wouldn't start either, due to an issue with reduce with no initial value
.