patrickkfkan/yt-cast-receiver

Error running example

Opened this issue · 0 comments

CustomError: ERR_UNSUPPORTED_DIR_IMPORT

When running npm run example.
This does not work npx ts-node -P ./tsconfig-esm.json --esm ./example/
This works though: npx ts-node -P ./tsconfig-esm.json --esm ./example/index.ts