Skip to content

Instantly share code, notes, and snippets.

@rizar
Created November 19, 2018 14:48
Show Gist options
  • Save rizar/58d5899f7c4fc3f6d3688f1cc61d8879 to your computer and use it in GitHub Desktop.
Save rizar/58d5899f7c4fc3f6d3688f1cc61d8879 to your computer and use it in GitHub Desktop.
errors
╰─$ npm run dev-build 2 ↵
> static@1.0.0 dev-build /home/dzmitry/Dist/arl-omnishop/static
> webpack --progress -d --config webpack.config.js
clean-webpack-plugin: /home/dzmitry/Dist/arl-omnishop/static/dist has been removed.
10% building modules 4/11 modules 7 active .../Dist/arl-omnishop/static/sass/site.cssℹ 「atl」: Using typescript@3.1.1 from typescript
ℹ 「atl」: Using tsconfig.json from /home/dzmitry/Dist/arl-omnishop/static/tsconfig.json
94% after sealℹ 「atl」: Checking started in a separate process...
✖ 「atl」: Checking finished with 26 errors
Hash: a5e0ff04107226d27cbf
Version: webpack 4.20.2
Time: 9608ms
Built at: 11/19/2018 9:47:38 AM
Asset Size Chunks Chunk Names
f4769f9bdb7466be65088239c12046d1.eot 19.7 KiB [emitted]
89889688147bd7575d6327160d64e760.svg 106 KiB [emitted]
e18bbf611f2a2e43afc071aa2f4e1512.ttf 44.3 KiB [emitted]
fa2772327f55d8198301fdb8bcfc8158.woff 22.9 KiB [emitted]
448c34a56d699c29117adc64c43affeb.woff2 17.6 KiB [emitted]
bundle.js 3.24 MiB app, appStyles, vendor [emitted] app, appStyles, vendor
index.html 340 bytes [emitted]
Entrypoint app = bundle.js
Entrypoint appStyles = bundle.js
Entrypoint vendor = bundle.js
[./sass/site.css] 1.04 KiB {appStyles} {app} [built]
[./scripts/index.tsx] 270 bytes {app} [built]
[0] multi bootstrap react-bootstrap react react-dom react-router-dom redux react-redux redux-thunk 112 bytes {vendor} [built]
[./node_modules/css-loader/index.js!./sass/site.css] ./node_modules/css-loader!./sass/site.css 2.59 KiB {app} {appStyles} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {app} {vendor} [built]
[./node_modules/webpack/buildin/harmony-module.js] (webpack)/buildin/harmony-module.js 573 bytes {app} {vendor} [built]
[./scripts/reducers/ChatReducer.ts] 944 bytes {app} [built]
[./scripts/reducers/DrawingReducer.ts] 947 bytes {app} [built]
[./scripts/reducers/ImageReducer.ts] 939 bytes {app} [built]
[./scripts/reducers/index.ts] 466 bytes {app} [built]
[./scripts/router.tsx] 1.04 KiB {app} [built]
[./scripts/store.ts] 235 bytes {app} [built]
+ 367 hidden modules
ERROR in ./scripts/reducers/ChatReducer.ts
Module not found: Error: Can't resolve '../Constants' in '/home/dzmitry/Dist/arl-omnishop/static/scripts/reducers'
@ ./scripts/reducers/ChatReducer.ts 3:0-43 9:13-24 11:13-24 13:13-24 14:13-24
@ ./scripts/reducers/index.ts
@ ./scripts/store.ts
@ ./scripts/router.tsx
@ ./scripts/index.tsx
ERROR in ./scripts/reducers/DrawingReducer.ts
Module not found: Error: Can't resolve '../Constants' in '/home/dzmitry/Dist/arl-omnishop/static/scripts/reducers'
@ ./scripts/reducers/DrawingReducer.ts 2:0-43 8:13-24 15:13-24 16:13-24
@ ./scripts/reducers/index.ts
@ ./scripts/store.ts
@ ./scripts/router.tsx
@ ./scripts/index.tsx
ERROR in ./scripts/reducers/ImageReducer.ts
Module not found: Error: Can't resolve '../Constants' in '/home/dzmitry/Dist/arl-omnishop/static/scripts/reducers'
@ ./scripts/reducers/ImageReducer.ts 1:0-43 7:13-24 9:13-24 10:13-24
@ ./scripts/reducers/index.ts
@ ./scripts/store.ts
@ ./scripts/router.tsx
@ ./scripts/index.tsx
ERROR in ./scripts/reducers/index.ts
Module not found: Error: Can't resolve './GameReducer' in '/home/dzmitry/Dist/arl-omnishop/static/scripts/reducers'
@ ./scripts/reducers/index.ts 5:0-45 12:11-23
@ ./scripts/store.ts
@ ./scripts/router.tsx
@ ./scripts/index.tsx
ERROR in ./scripts/reducers/index.ts
Module not found: Error: Can't resolve './ReplayReducer' in '/home/dzmitry/Dist/arl-omnishop/static/scripts/reducers'
@ ./scripts/reducers/index.ts 6:0-48 13:12-25
@ ./scripts/store.ts
@ ./scripts/router.tsx
@ ./scripts/index.tsx
ERROR in ./scripts/router.tsx
Module not found: Error: Can't resolve './app' in '/home/dzmitry/Dist/arl-omnishop/static/scripts'
@ ./scripts/router.tsx 3:0-28 11:194-197
@ ./scripts/index.tsx
ERROR in ./scripts/router.tsx
Module not found: Error: Can't resolve './components/views/MainView' in '/home/dzmitry/Dist/arl-omnishop/static/scripts'
@ ./scripts/router.tsx 6:0-55 11:300-308
@ ./scripts/index.tsx
ERROR in ./scripts/router.tsx
Module not found: Error: Can't resolve './components/views/NotFoundView' in '/home/dzmitry/Dist/arl-omnishop/static/scripts'
@ ./scripts/router.tsx 7:0-63 11:527-539
@ ./scripts/index.tsx
ERROR in ./scripts/router.tsx
Module not found: Error: Can't resolve './components/views/ReplaySelectionView' in '/home/dzmitry/Dist/arl-omnishop/static/scripts'
@ ./scripts/router.tsx 8:0-77 11:383-402
@ ./scripts/index.tsx
ERROR in ./scripts/router.tsx
Module not found: Error: Can't resolve './components/views/ReplayView' in '/home/dzmitry/Dist/arl-omnishop/static/scripts'
@ ./scripts/router.tsx 9:0-59 11:472-482
@ ./scripts/index.tsx
ERROR in [at-loader] ./scripts/reducers/ChatReducer.ts:1:29
TS2307: Cannot find module '../Constants'.
ERROR in [at-loader] ./scripts/reducers/DrawingReducer.ts:2:29
TS2307: Cannot find module '../Constants'.
ERROR in [at-loader] ./scripts/reducers/ImageReducer.ts:1:29
TS2307: Cannot find module '../Constants'.
ERROR in [at-loader] ./scripts/reducers/index.ts:5:48
TS2307: Cannot find module './GameReducer'.
ERROR in [at-loader] ./scripts/reducers/index.ts:6:51
TS2307: Cannot find module './ReplayReducer'.
ERROR in [at-loader] ./scripts/api/ChatApi.ts:2:25
TS2307: Cannot find module '../Constants'.
ERROR in [at-loader] ./scripts/api/ChatApi.ts:3:37
TS2307: Cannot find module '../Utils/AuthenticationUtils'.
ERROR in [at-loader] ./scripts/api/ChatApi.ts:4:25
TS2307: Cannot find module '../Utils/IdUtils'.
ERROR in [at-loader] ./scripts/actions/ChatActions.ts:1:29
TS2307: Cannot find module '../Constants'.
ERROR in [at-loader] ./scripts/api/DrawingApi.ts:3:25
TS2307: Cannot find module '../Constants'.
ERROR in [at-loader] ./scripts/api/DrawingApi.ts:4:37
TS2307: Cannot find module '../Utils/AuthenticationUtils'.
ERROR in [at-loader] ./scripts/actions/DrawingActions.ts:2:29
TS2307: Cannot find module '../Constants'.
ERROR in [at-loader] ./scripts/actions/DrawingActions.ts:5:33
TS2307: Cannot find module '../Utils/ConversionUtils'.
ERROR in [at-loader] ./scripts/CommunicationHandler.tsx:8:41
TS2307: Cannot find module './actions/GameActions'.
ERROR in [at-loader] ./scripts/router.tsx:3:21
TS2307: Cannot find module './app'.
ERROR in [at-loader] ./scripts/router.tsx:6:26
TS2307: Cannot find module './components/views/MainView'.
ERROR in [at-loader] ./scripts/router.tsx:7:30
TS2307: Cannot find module './components/views/NotFoundView'.
ERROR in [at-loader] ./scripts/router.tsx:8:37
TS2307: Cannot find module './components/views/ReplaySelectionView'.
ERROR in [at-loader] ./scripts/router.tsx:9:28
TS2307: Cannot find module './components/views/ReplayView'.
ERROR in [at-loader] ./scripts/actions/ImageActions.ts:1:29
TS2307: Cannot find module '../Constants'.
ERROR in [at-loader] ./scripts/components/chat/MessageList.tsx:3:25
TS2307: Cannot find module '../../Utils/IdUtils'.
ERROR in [at-loader] ./scripts/components/drawings/DrawingArea.tsx:8:25
TS2307: Cannot find module '../../Utils/IdUtils'.
ERROR in [at-loader] ./scripts/components/views/DrawView.tsx:4:33
TS2307: Cannot find module '../Generic/LeaveGameButton'.
ERROR in [at-loader] ./scripts/components/views/DrawView.tsx:6:33
TS2307: Cannot find module '../Generic/ImageMatchModal'.
ERROR in [at-loader] ./scripts/components/views/ExplainView.tsx:5:33
TS2307: Cannot find module '../Generic/LeaveGameButton'.
ERROR in [at-loader] ./scripts/components/views/ExplainView.tsx:7:33
TS2307: Cannot find module '../Generic/ImageMatchModal'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! static@1.0.0 dev-build: `webpack --progress -d --config webpack.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the static@1.0.0 dev-build 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! /home/dzmitry/.npm/_logs/2018-11-19T14_47_38_788Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment