Skip to content
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

"Cannot destructure property 'line' of 'locate(...)' as it is undefined" happens when pos is passed to this.error #5044

Closed
sapphi-red opened this issue Jun 22, 2023 · 1 comment · Fixed by #5045

Comments

@sapphi-red
Copy link
Contributor

sapphi-red commented Jun 22, 2023

Rollup Version

3.25.1

Operating System (or Browser)

stackblitz

Node Version (if applicable)

No response

Link To Reproduction

https://stackblitz.com/edit/rollup-repro-1umn8w?file=rollup.config.js

Expected Behaviour

The correct error is output.

Actual Behaviour

[!] (plugin vite:import-analysis-build) TypeError: Cannot destructure property 'line' of 'locate(...)' as it is undefined.

happens

refs vitejs/vite#13571

@rollup-bot
Copy link
Collaborator

This issue has been resolved via #5045 as part of rollup@3.25.2. You can test it via npm install rollup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants