(Vue.js App) "Deploy failed ERR! notsup Unsupported platform for esbuild-linux-arm@0.15.9"

Please help. Does this mean that Render cannot host Vue using:
npm init vue@latest

I say this because, Render works for Vue generated using the old CLI.

Full error:
Jan 11 09:11:00 AM ==> Cloning from https://github.com/tobefreeman/thecolapp
Jan 11 09:11:01 AM ==> Checking out commit 03592d6ded664de0332bad9bef0c4142ab3283ea in branch main
Jan 11 09:11:05 AM ==> Installing dependencies with npm…
Jan 11 09:11:09 AM npm ERR! code EBADPLATFORM
Jan 11 09:11:09 AM npm ERR! notsup Unsupported platform for esbuild-linux-arm@0.15.9: wanted {“os”:“linux”,“arch”:“arm”} (current: {“os”:“linux”,“arch”:“x64”})
Jan 11 09:11:09 AM npm ERR! notsup Valid OS: linux
Jan 11 09:11:09 AM npm ERR! notsup Valid Arch: arm
Jan 11 09:11:09 AM npm ERR! notsup Actual OS: linux
Jan 11 09:11:09 AM npm ERR! notsup Actual Arch: x64
Jan 11 09:11:09 AM
Jan 11 09:11:09 AM npm ERR! A complete log of this run can be found in:
Jan 11 09:11:09 AM npm ERR! /opt/render/.cache/_logs/2023-01-11T08_11_09_636Z-debug.log

Hi there,

I also replied to the ticket you open, but I’ll add the response here too:

It seems to be a simple EBADPLATFORM error with regard to the esbuild package. Render doesn’t run on arm architecture, but x64, as the logs also note:

Jan 11 09:11:09 AM npm ERR! notsup Valid OS: linuxJan 11 09:11:09 AM npm ERR! notsup Valid Arch: armJan 11 09:11:09 AM npm ERR! notsup Actual OS: linuxJan 11 09:11:09 AM npm ERR! notsup Actual Arch: x64

There’s a note on this in the esbuild docs: https://esbuild.github.io/getting-started/#simultaneous-platforms.

Alan

Hi Alan,

I’m trying to do a new deploy of a React static site that uses the ThreeJS package.

I am getting a similar error as above:

“npm ERR! code EBADPLATFORM
Jan 17 12:51:48 PM npm ERR! notsup Unsupported platform for esbuild-sunos-64@0.14.54: wanted {“os”:“sunos”,“arch”:“x64”} (current: {“os”:“linux”,“arch”:“x64”})”

Does it have to do with ThreeJS? I’ve deployed over 5 apps on Render (static and WS) and did not have such an issue before?
How would I get around this issue?

Thanks,

Rob

It’s to do with es-build as shown in the log line you shared. Refer to the link in my previous message.

Alan