Open BigPino67 opened 5 years ago
Hrm... webpack dev server I wonder if I'm missing the package. (Also, sorry for the delay.)
OH SNAP. no. It's cause I'm using private SSL keys that aren't included in the repo.
Hrm. I'm going to have to figure that out.
For now, you could just adjust the this line in the package.json:
"start": "webpack-dev-server --open --https --cert bin/private.pem --key bin/private.key",
just remove everything after the --open.
Or just running npm run startold
when I execute npm run startold
, i get the following :
E:\github_repos\stream_tools>npm run startold
> stream_tools@1.0.0 startold E:\github_repos\stream_tools
> webpack-dev-server --mode development --host 0.0.0.0
i 「wds」: Project is running at http://0.0.0.0:3000/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from E:\github_repos\stream_tools\public\
‼ 「copy-webpack-plugin」: unable to locate 'public\video' at 'E:\github_repos\stream_tools\public\video'
× 「wdm」: Hash: 0cf6550f8b378d39d299
Version: webpack 4.35.3
Time: 2770ms
Built at: 2019-10-11 9:29:26
Asset Size Chunks Chunk Names
0.bundle.js 505 KiB 0 [emitted]
1.bundle.js 187 KiB 1 [emitted]
bundle.js 1.76 MiB main [emitted] main
css\base.css 76 bytes [emitted]
fonts\windlass.woff 51.9 KiB [emitted]
fonts\windlass.woff2 39.1 KiB [emitted]
images\16x16.png 785 bytes [emitted]
images\192x192.png 65.1 KiB [emitted]
images\256x256.png 83.7 KiB [emitted]
images\32x32.png 3.27 KiB [emitted]
images\512x512.png 321 KiB [emitted]
images\divider.svg 1.08 KiB [emitted]
images\goldpaper.png 203 KiB [emitted]
images\pileofskulls.png 4.75 KiB [emitted]
images\placement_bg.jpg 103 KiB [emitted]
images\sot_background.jpg 104 KiB [emitted]
index.html 4.59 KiB [emitted]
js\renderer.js 848 bytes [emitted]
manifest.json 446 bytes [emitted]
service-worker.js 2.05 KiB [emitted]
src/images/comodore_chenzo.c463d4f896a3aa8669ab010a2b8c4322.jpg 31.9 KiB [emitted]
Entrypoint main = bundle.js
[0] multi (webpack)-dev-server/client?http://0.0.0.0:3000 (webpack)/hot/only-dev-server.js babel-polyfill ./src/index.js 64 bytes {main} [built]
[./node_modules/@loadable/component/dist/loadable.esm.js] 12 KiB {main} [built]
[./node_modules/babel-polyfill/lib/index.js] 833 bytes {main} [built]
[./node_modules/core-js/fn/regexp/escape.js] 108 bytes {main} [built]
[./node_modules/core-js/shim.js] 8.03 KiB {main} [built]
[./node_modules/react-dom/index.js] 1.33 KiB {main} [built]
[./node_modules/react/index.js] 190 bytes {main} [built]
[./node_modules/regenerator-runtime/runtime.js] 23.9 KiB {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:3000] (webpack)-dev-server/client?http://0.0.0.0:3000 4.29 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.77 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {main} [built]
[./node_modules/webpack/hot/only-dev-server.js] (webpack)/hot/only-dev-server.js 2.52 KiB {main} [built]
[./src/index.js] 416 bytes {main} [built]
+ 580 hidden modules
WARNING in unable to locate 'public\video' at 'E:\github_repos\stream_tools\public\video'
ERROR in ./src/App.js
Module not found: Error: Can't resolve './config.js' in 'E:\github_repos\stream_tools\src'
@ ./src/App.js 35:0-37 284:65-75 286:23-33 317:20-30
@ ./src/index.js
@ multi babel-polyfill ./src/index.js
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./public/index.html] 4.9 KiB {0} [built]
[./node_modules/lodash/lodash.js] 528 KiB {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
i 「wdm」: Failed to compile.
It looks like the directory public\video
is missing and also the file src\config.js
is missing too
And then, if i want to run electron, i get the following error :
E:\github_repos\stream_tools>npm run doapp
> stream_tools@1.0.0 doapp E:\github_repos\stream_tools
> electron .
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! stream_tools@1.0.0 doapp: `electron .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the stream_tools@1.0.0 doapp 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\Pielu\AppData\Roaming\npm-cache\_logs\2019-10-11T13_28_49_199Z-debug.log
I've clone the repo
Open a command line in my repos directory e:\github_repos\stream_tools
and run "npm install"
Lot of things downloaded
then, I've run "npm start" and i got this error :