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
Hello,
I am trying to run pages locally and have successfully installed wrangler 2 but when I run npx wrangler pages dev ./public it fails with the following error.
Compiled Worker successfully.
Serving at http://127.0.0.1:8788/
/user/node_modules/wrangler/wrangler-dist/cli.js:27072
throw ex;
^
Error: spawn xdg-open ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:475: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:288:12)
at onErrorNT (node:internal/child_process:475:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn xdg-open',
path: 'xdg-open',
spawnargs: [ 'http://127.0.0.1:8788/' ]
}
Node.js v17.2.0
Any help is appreciated.
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to run pages locally and have successfully installed wrangler 2 but when I run
npx wrangler pages dev ./public
it fails with the following error.Any help is appreciated.
The text was updated successfully, but these errors were encountered: