We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Segmentation fault (core dumped
codewarrior@blueberry:/home/chris/temp/wiptemp/774/purescript-halogen-template$ npm run serve > serve > parcel dev/index.html --open Port "1234" could not be used node:events:491 throw er; // Unhandled 'error' event ^ Error: spawn xdg-open ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19) at onErrorNT (node:internal/child_process:485:16) at processTicksAndRejections (node:internal/process/task_queues:83:21) Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) at onErrorNT (node:internal/child_process:485:16) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -2, code: 'ENOENT', syscall: 'spawn xdg-open', path: 'xdg-open', spawnargs: [ 'http://localhost:38331' ] } Segmentation fault (core dumped)
I tried changing parcel to serve on port 1235 instead but run into the same issue:
codewarrior@blueberry:/home/chris/temp/wiptemp/774/purescript-halogen-template$ npm run serve > serve > parcel -p 1235 dev/index.html --open node:events:491 throw er; // Unhandled 'error' event ^ Error: spawn xdg-open ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19) at onErrorNT (node:internal/child_process:485:16) at processTicksAndRejections (node:internal/process/task_queues:83:21) Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) at onErrorNT (node:internal/child_process:485:16) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -2, code: 'ENOENT', syscall: 'spawn xdg-open', path: 'xdg-open', spawnargs: [ 'http://localhost:1235' ] } Segmentation fault (core dumped)
Googling this issue and figuring out it's to do with xdg-open, I removed the --open from package.json which then fixes the issue.
--open
The text was updated successfully, but these errors were encountered:
Huh! That's odd. I'm fine with removing --open if you'd like to open a PR.
Sorry, something went wrong.
No branches or pull requests
I tried changing parcel to serve on port 1235 instead but run into the same issue:
Googling this issue and figuring out it's to do with xdg-open, I removed the
--open
from package.json which then fixes the issue.The text was updated successfully, but these errors were encountered: