(Windows 10 - Node v6.2.2 - NPM v3.9.6) Crash on get http://127.0.0.1:8080/
See original GitHub issueHello,
On fresh install.
My server crash on get http://127.0.0.1:8080/ So when I go on http://127.0.0.1:8080/api/status it works
Console output /
C:\Users\nicolas\Debans\api (debans_gaming_api@0.0.1)
λ npm start
> debans_gaming_api@0.0.1 start C:\Users\nicolas\Debans\api
> actionhero start
2016-06-22T21:54:36.318Z - info: actionhero >> start
2016-06-22T21:54:36.754Z - notice: *** starting actionhero ***
2016-06-22T21:54:36.927Z - warning: running with fakeredis
2016-06-22T21:54:36.967Z - info: actionhero member 192.168.1.68 has joined the cluster
2016-06-22T21:54:37.397Z - notice: pid: 10116
2016-06-22T21:54:37.402Z - notice: server ID: 192.168.1.68
2016-06-22T21:54:37.444Z - notice: Starting server: `web` @ 0.0.0.0:8080
2016-06-22T21:54:37.490Z - notice: Starting server: `websocket`
2016-06-22T21:54:40.865Z - notice: environment: development
_http_outgoing.js:309
throw new TypeError('The header content contains invalid characters');
^
TypeError: The header content contains invalid characters
at storeHeader (_http_outgoing.js:309:11)
at ServerResponse.OutgoingMessage._storeHeader (_http_outgoing.js:223:9)
at ServerResponse.writeHead (_http_server.js:218:8)
at server.sendWithCompression (C:\Users\nicolas\Debans\api\node_modules\actionhero\servers\web.js:194:38)
at server.sendFile (C:\Users\nicolas\Debans\api\node_modules\actionhero\servers\web.js:148:14)
at C:\Users\nicolas\Debans\api\node_modules\actionhero\initializers\genericServer.js:99:14
at ReadStream.<anonymous> (C:\Users\nicolas\Debans\api\node_modules\actionhero\initializers\staticFile.js:73:15)
at emitOne (events.js:96:13)
at ReadStream.emit (events.js:188:7)
at fs.js:1718:10
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\nicolas\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.2.2
npm ERR! npm v3.9.6
npm ERR! code ELIFECYCLE
npm ERR! debans_gaming_api@0.0.1 start: `actionhero start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the debans_gaming_api@0.0.1 start script 'actionhero start'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the debans_gaming_api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! actionhero start
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs debans_gaming_api
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls debans_gaming_api
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\nicolas\Debans\api\npm-debug.log
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (10 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, one fifth of population are Chinese
node_modules\actionhero\servers\web.js line 110
if(lastModified){ connection.rawConnection.responseHeaders.push(['Last-Modified', new Date(lastModified)]); }
modify toif(lastModified){ connection.rawConnection.responseHeaders.push(['Last-Modified', new Date(lastModified).toUTCString()]); }