Skip to content

vite build error: Rollup failed to resolve import "scheduler" #28457

Closed Answered by JordanMarr
JordanMarr asked this question in General
Discussion options

You must be logged in to vote

I found the issue. (Apparently I do know where to start.)
My build pipeline was actually calling npm install --legacy-peer-deps (there was a reason I did this a long time ago, but I no longer remember why). The --legacy-peer-deps switch was the cause of error.

I'll leave this here just in case someone else has the same issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by khmakoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant