vite build error: Rollup failed to resolve import "scheduler" #28457
-
Today I added The problem is that now my pipeline build fails with this:
I don't even know where to begin to resolve this. Here are my dependencies: "dependencies": {
"@fluentui/date-time-utilities": "^8.5.13",
"@fluentui/react": "^8.110.7",
"@fluentui/react-components": "^9.25.1",
"@fluentui/react-focus": "^8.8.30",
"@fluentui/react-icons": "^2.0.206",
"@fluentui/theme": "^2.6.34",
"date-fns": "^2.16.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-datasheet": "^1.4.12",
"react-dnd": "^10.0.2",
"react-dnd-html5-backend": "^10.0.2",
"react-dom": "^18.2.0",
"react-toastify": "7.0.0"
}, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the issue. (Apparently I do know where to start.) I'll leave this here just in case someone else has the same issue. |
Beta Was this translation helpful? Give feedback.
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.