-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
TypeError: Cannot read properties of undefined (reading 'indexOf') #5084
Comments
Unfortunately your |
I'll take a look at this today. |
This is failing because of unexpected input. One of the plugins is returning |
@lukastaegert A fix for the above issue is in the second commit of the linked PR: #5087 |
FYI I also had issues with the stackblitz reproducer, but I was able to reproduce by pulling down https://github.com/janosh/elementari and setting a resolution to rollup 3.27.1. Then I tested the fix there by linking in my built branch. It looks like this particular problem is stemming from this plugin returning |
This issue has been resolved via #5087 as part of rollup@3.28.0. You can test it via |
Rollup Version
3.27.1
Operating System (or Browser)
macOS
Node Version (if applicable)
No response
Link To Reproduction
https://stackblitz.com/edit/rollup-repro-ughg9c?file=package.json
Expected Behaviour
npm run build
succeeds.Actual Behaviour
Lazy computing decoded mappings in #5075 seems to cause undefined
mappings
atvite
build time in SvelteKit.https://github.com/janosh/elementari/actions/runs/5754572660/job/15600143441#step:6:18
The text was updated successfully, but these errors were encountered: