Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node -r swc-register command missing any filename - so it opens node REPL instead. #299

Open
lari-ks opened this issue Jan 28, 2025 · 0 comments

Comments

@lari-ks
Copy link

lari-ks commented Jan 28, 2025

Hi,

node -r @swc-node/register commands in package.json have no filename passed to them so this command will only open the node REPL without a filename... it's equivalent to just running node.

Should normally be used like:
node -r @swc-node/register <filename>

It causes no issue except to be a little unproductive as on the demo / build script the node REPL opens and the user has to Ctrl+C twice to exit it before the script can complete.

(By the way i opened a few PRs, i was really keen to use this package - i really like it!
Thanks for this product! I can't wait to get started with it.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant