GNU not working as expects Linux and it sees win as os even when running in WSL2
(devika2) james@DESKTOP-5CMQNB2:/mnt/d/Git_AI/devika/devika/ui$ bun run dev
$ vite dev
84 | You can download it from ${msvcDownloadLink},
85 | { cause: error }
86 | );
87 | }
88 |
89 | throw new Error(
^
error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try npm i again after removing both package-lock.json and node_modules directory.
cause: {
"name": "ResolveMessage",
"position": null,
"message": "Cannot find module "@rollup/rollup-linux-x64-gnu" from "/mnt/d/Git_AI/devika/devika/ui/node_modules/rollup/dist/native.js"",
"level": "error",
"specifier": "@rollup/rollup-linux-x64-gnu",
"importKind": "require-call",
"referrer": "/mnt/d/Git_AI/devika/devika/ui/node_modules/rollup/dist/native.js"
}
at requireWithFriendlyError (/mnt/d/Git_AI/devika/devika/ui/node_modules/rollup/dist/native.js:89:9)
at /mnt/d/Git_AI/devika/devika/ui/node_modules/rollup/dist/native.js:98:76
error: script "dev" exited with code 1
To Reproduce try tunning on wsl (its such a pain im to be hinest fed up with this already, shame your tool could be popular if worked on windows)
Expected behavior
Desktop (please complete the following information):
- OS: win 11 (wsl2)
- Browser [e.g. chrome,