wokwi / rp2040js

A Raspberry Pi Pico Emulator in JavaScript
MIT License
384 stars 40 forks source link

Build README.md buidl/run steps do not work with Node 20:10 #136

Closed NewWheelTech closed 8 months ago

NewWheelTech commented 8 months ago

The build steps as documented in the readme.md do not work with Node20:10, the build step instructions do work fine with Node 18 LTS.

You get this error if you are trying to run the project in Node 20:10.

npm run start:micropython

rp2040js@0.19.3 start:micropython
ts-node --esm demo/micropython-run.ts

TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" f '
urish commented 8 months ago

Any idea what does work for Node 20?

NewWheelTech commented 8 months ago

I only have basic understand of Node, but I am guessing it is related to this issue:

https://github.com/TypeStrong/ts-node/issues/2086