mike-goodwin/owasp-threat-dragon

Server script fails only when running on Linux

jgadsden opened this issue · 0 comments

When running on debian linux, npm start exits with the following error :

$ npm start
> owasp-threat-dragon@0.6.1 start ./owasp-threat-dragon
> node server.js
./owasp-threat-dragon/server.js:1
#!/usr/bin/env node
 ^
SyntaxError: Invalid or unexpected token

Tested on MacOS and Windows and this does not fail => Linux only