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" executable throws errors on hosted browsix example #62

Open
jbeard4 opened this issue Oct 27, 2018 · 0 comments
Open

"node" executable throws errors on hosted browsix example #62

jbeard4 opened this issue Oct 27, 2018 · 0 comments

Comments

@jbeard4
Copy link

jbeard4 commented Oct 27, 2018

The node executable in the browsix example hosted here throws an error Path must be a string. Received undefined.

Steps to reproduce:

  1. Visit https://unix.bpowers.net/
  2. Run node. Note the following error in the Chrome JavaScript console:
Uncaught TypeError: Path must be a string. Received undefined
    at assertPath (kernel.js:447)
    at Object.resolve (kernel.js:479)
    at Syscalls.open (kernel.js:2050)
    at AsyncSyscalls.open (kernel.js:1699)
    at Kernel.doSyscall (kernel.js:2469)
    at Task.syscallHandler (kernel.js:2871)

Note that this also breaks the shell, which stops responding to user input.

  1. Run node -e 'console.log("hello")'. Note the following error appears in the bash console: error: -2
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