You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a package.json with a start script that uses escaped backslashes
For example, "start": "bun C:\\NodeExpressServer\\server.js ./www"
Run the script with bun run start
For the provided example, I get the error error: Module not found "C:NodeExpressServerserver.js"
Using npm run start takes it's time, but eventually runs fine :P
What is the expected behavior?
bun run should be consistent with npm run
What do you see instead?
For the provided example, bun run requires another "round" of escaping backslashes, turning it into "start": "bun C:\\\\NodeExpressServer\\\\server.js ./www"
Additional information
No response
The text was updated successfully, but these errors were encountered:
What version of Bun is running?
1.1.13+bd6a60512
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
"start": "bun C:\\NodeExpressServer\\server.js ./www"
bun run start
error: Module not found "C:NodeExpressServerserver.js"
npm run start
takes it's time, but eventually runs fine :PWhat is the expected behavior?
bun run
should be consistent withnpm run
What do you see instead?
For the provided example,
bun run
requires another "round" of escaping backslashes, turning it into"start": "bun C:\\\\NodeExpressServer\\\\server.js ./www"
Additional information
No response
The text was updated successfully, but these errors were encountered: