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

Testing Life: Unable to start the server: Operation not permitted #306

Open
paeifbnaeufbpae opened this issue Dec 4, 2023 · 0 comments
Open

Comments

@paeifbnaeufbpae
Copy link

Describe the bug
Following the tutorial up until the chapter "Testing Life" leads to the error:

    Finished test [unoptimized + debuginfo] target(s) in 0.01s
     Running unittests src/lib.rs (target/wasm32-unknown-unknown/debug/deps/wasm_game_of_life-8c6a9afc801f145f.wasm)
no tests to run!
     Running tests/web.rs (target/wasm32-unknown-unknown/debug/deps/web-9748f257ba54a232.wasm)
Set timeout to 20 seconds...
driver status: exit status: 1                     
driver stderr:
    Unable to start the server: Operation not permitted

Error: driver failed to bind port during startup  
error: test failed, to rerun pass `--test web`

When trying to run wasm-pack test --safari --headless (--chrome also fails, but with a different error message).

Running the command with sudo prepended doesn't fix this either. Same output.

To Reproduce
Follow the tutorial up until that point.

Expected behavior
It doesn't fail!

Additional context
Running macOS 14.1.1.

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