mafintosh / turbo-http

Blazing fast low level http server
MIT License
1k stars 47 forks source link

Error [EACCES]: permission denied #28

Open 34r7h opened 5 years ago

34r7h commented 5 years ago

I'm getting a permissions error running Node v10.16.0, most likely due to N-API. Sudo works fine but I'd like to run this without permissions. Any ideas?

i$ node index.js 
Launching Functionality
events.js:174
      throw er; // Unhandled 'error' event
      ^

Error [EACCES]: permission denied
    at /Users/i/Apps/www/node_modules/turbo-net/lib/server.js:53:17
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at Function.Module.runMain (internal/modules/cjs/loader.js:832:11)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Emitted 'error' event at:
    at /Users/i/Apps/www/node_modules/turbo-net/lib/server.js:55:14
    at process._tickCallback (internal/process/next_tick.js:63:19)
    [... lines matching original stack trace ...]
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
io-2:www i$