rwieruch / minimal-react-webpack-babel-setup

The minimal React, Webpack, Babel Setup. You want to get beyond create-react-app?

Home Page:https://www.robinwieruch.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

start error TypeError: run_simple() got an unexpected keyword argument 'keyfile'

cowcomic opened this issue · comments

@ start D:\git\Never-Blink
python server.py

WebSocket transport not available. Install eventlet or gevent and gevent-websocket for improved performance.
Traceback (most recent call last):
File "server.py", line 226, in
keyfile=os.path.join('backend', 'server.key'), certfile=os.path.join('backend', 'server.crt'))
File "D:\Python36\lib\site-packages\flask_socketio_init_.py", line 537, in run
use_reloader=use_reloader, **kwargs)
File "D:\Python36\lib\site-packages\flask\app.py", line 841, in run
run_simple(host, port, self, **options)
TypeError: run_simple() got an unexpected keyword argument 'keyfile'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start: python server.py
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2019-07-30T10_28_23_595Z-debug.log

0 info it worked if it ends with ok
1 verbose cli [ 'D:\Program Files\nodejs\node.exe',
1 verbose cli 'D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'start' ]
2 info using npm@6.4.1
3 info using node@v10.14.2
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle @~prestart: @
6 info lifecycle @~start: @
7 verbose lifecycle @~start: unsafe-perm in lifecycle true
8 verbose lifecycle @~start: PATH: D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\git\Never-Blink\node_modules.bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;D:\Python36\Scripts;D:\Python36;D:\Program Files\Java\jdk1.8.0_141\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;d:\Program Files\Git\cmd;d:\Program Files\Git\mingw64\bin;d:\Program Files\Git\usr\bin;D:\Program Files\nodejs;C:\WINDOWS\System32\OpenSSH;D:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;D:\Program Files\VisualSVN Server\bin;C:\Users\Administrator\Downloads\cmake-3.15.1-win64-x64\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\npm;D:\Program Files\Microsoft VS Code\bin;D:\git\hadoop-common-bin\2.7.3\bin
9 verbose lifecycle @~start: CWD: D:\git\Never-Blink
10 silly lifecycle @~start: Args: [ '/d /s /c', 'python server.py' ]
11 silly lifecycle @~start: Returned: code: 1 signal: null
12 info lifecycle @~start: Failed to exec start script
13 verbose stack Error: @ start: python server.py
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess. (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:962:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
14 verbose pkgid @
15 verbose cwd D:\git\Never-Blink
16 verbose Windows_NT 10.0.17134
17 verbose argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "start"
18 verbose node v10.14.2
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error @ start: python server.py
22 error Exit status 1
23 error Failed at the @ start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

sorry i submit with a wrong place