Closed ethanaobrien closed 3 years ago
Looking at the CI: https://github.com/jspspemu/jspspemu/blob/514634c45dbfc639327b99f72c2c47c13100f3c1/.github/workflows/test.yml#L17-L25
It executes:
npm install
yarn build
Can you try to execute npm install
first just in case?
@soywiz It worked... ish. When I ran npm install It gave me a ton of errors but yarn build would work after that.
And from the looks of this it is just because I am using termux. So yes, npm install first made it work (Should this be updated in the readme?)
Should I close this?
It looks that you are trying to run it on an android device or emulator right? The dependency that is not supported for the android x86 LE target is esbuild: https://github.com/evanw/esbuild Not sure if they will support it, but if you want support for it, you should open an issue there
@soywiz Thanks! I was actually running it on chrome os so I can just enable and use linux (beta). Ill close this now
@soywiz
I just tested in linux beta and I did not have to run any yarn commands. I ran
Should this be updated in the readme?
Yeah, in the end yarn something
is like npm run something
, I just use it for convenience, but feel free to make a PR with npm run
if you believe it reads better :)
I have downloaded the source and I used cd to get the directory but when I try to run
yarn build
I getERROR: [Errno 2] No such file or directory: 'build'
What do I need to do?