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

Unsupported Platform #2526

Closed
ghost opened this issue Sep 6, 2022 · 2 comments
Closed

Unsupported Platform #2526

ghost opened this issue Sep 6, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 6, 2022

` ERROR [unhandledRejection] Unsupported platform: android arm LE

at pkgAndSubpathForCurrentPlatform (node_modules/vite/node_modules/esbuild/lib/main.js:1768:11)
at generateBinPath (node_modules/vite/node_modules/esbuild/lib/main.js:1803:36) at esbuildCommandAndArgs (node_modules/vite/node_modules/esbuild/lib/main.js:1901:31)
at ensureServiceIsRunning (node_modules/vite/node_modules/esbuild/lib/main.js:2065:25) at build (node_modules/vite/node_modules/esbuild/lib/main.js:1956:26) at runOptimizeDeps (node_modules/vite/dist/node/chunks/dep-0fc8e132.js:37202:26) at processTicksAndRejections (node:internal/process/task_queues:96:5)
ℹ Vite server warmed up in 2750ms
ERROR [unhandledRejection] Unsupported platform: android arm LE

at pkgAndSubpathForCurrentPlatform (node_modules/vite/node_modules/esbuild/lib/main.js:1768:11)
at generateBinPath (node_modules/vite/node_modules/esbuild/lib/main.js:1803:36)
at esbuildCommandAndArgs (node_modules/vite/node_modules/esbuild/lib/main.js:1901:31)
at ensureServiceIsRunning (node_modules/vite/node_modules/esbuild/lib/main.js:2065:25)
at build (node_modules/vite/node_modules/esbuild/lib/main.js:1956:26)
at runOptimizeDeps (node_modules/vite/dist/node/chunks/dep-0fc8e132.js:37202:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

ERROR (node:14622) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 3)
(Use node --trace-warnings ... to show where the warning was created) `

I can't get VIte to work on my Android device using termux

@evanw
Copy link
Owner

evanw commented Sep 9, 2022

This is because the Go programming language doesn't support natural cross-compilation for certain Android build targets. See #1578. I will try to have this use the WebAssembly implementation as a fallback instead. It will be much slower and may have memory usage limitations, but it will at least run.

@evanw evanw closed this as completed in b73e714 Sep 9, 2022
@ghost
Copy link
Author

ghost commented Sep 9, 2022

Already fix it here using eebuild-wasm truly it's slow but it works anyway.

Would be great if you have wasm fallback support instead of manually editing.

I'm using nuxt had to edit a lot of packages before I could get it to work

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

No branches or pull requests

1 participant