mike-goodwin / owasp-threat-dragon

An open source, online threat modelling tool from OWASP
http://mike-goodwin.github.io/owasp-threat-dragon/
Apache License 2.0
481 stars 130 forks source link

Server script fails only when running on Linux #129

Closed jgadsden closed 4 years ago

jgadsden commented 4 years ago

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