thebaselab / codeapp

Building a full-fledged code editor for iPad
https://code.thebaselab.com
MIT License
2.96k stars 204 forks source link

`npm run <script>` error #568

Open luni-moon opened 2 years ago

luni-moon commented 2 years ago

Running npm run <script> (or npm run compile in my case), on the TestFlight latest build, errors out, while using the run button when the said file is open, works. Please see attached images for more info.

image image

I have tried adding .js as the file extension in the second screenshot, as well, but it outputs the same thing. I can also confirm that the file paths are correct.

brandonsheppard commented 1 year ago

Ran into this issue, too. Running the commands for each script directly in the terminal works fine. Running it via npm run xyz fails.