You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[1] [nodemon] 2.0.2
[1] [nodemon] to restart at any time, enter rs
[1] [nodemon] watching dir(s): .
[1] [nodemon] watching extensions: js,mjs,json
[1] [nodemon] starting node dist/index.js index.js
[1] internal/modules/cjs/loader.js:797
[1] throw err;
[1] ^
[1]
[1] Error: Cannot find module 'E:\Projects\Cocos\scrabble\server\index.js'
[1] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
[1] at Function.Module._load (internal/modules/cjs/loader.js:687:27)
[1] at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
[1] at internal/main/run_main_module.js:17:11 {
[1] code: 'MODULE_NOT_FOUND',
[1] requireStack: []
[1] }
[1] [nodemon] app crashed - waiting for file changes before starting...
[0] error TS5023: Unknown option 'w'
[0] Use the '--help' flag to see options.
[0] E:\Projects\Cocos\scrabble\server\src\index.ts(6,15): error TS1005: '=' expected.
[0] E:\Projects\Cocos\scrabble\server\src\index.ts(6,20): error TS1005: ';' expected.
[0] E:\Projects\Cocos\scrabble\server\src\index.ts(8,1): error TS1008: Unexpected token; 'module, class, interface, enum, import or statement' expected.
[0] tsc src/index.ts -w --outDir dist exited with code 1
--> Sending SIGTERM to other processes..
[1] nodemon dist/index.js exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: concurrently --kill-others "tsc src/index.ts -w --outDir dist" "nodemon dist/index.js"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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\vien.nguyenminh\AppData\Roaming\npm-cache_logs\2020-01-13T07_06_16_955Z-debug.log
The text was updated successfully, but these errors were encountered:
The log like:
E:\Projects\Cocos\scrabble\server>npm start
[1] [nodemon] 2.0.2
[1] [nodemon] to restart at any time, enter
rs
[1] [nodemon] watching dir(s): .
[1] [nodemon] watching extensions: js,mjs,json
[1] [nodemon] starting
node dist/index.js index.js
[1] internal/modules/cjs/loader.js:797
[1] throw err;
[1] ^
[1]
[1] Error: Cannot find module 'E:\Projects\Cocos\scrabble\server\index.js'
[1] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
[1] at Function.Module._load (internal/modules/cjs/loader.js:687:27)
[1] at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
[1] at internal/main/run_main_module.js:17:11 {
[1] code: 'MODULE_NOT_FOUND',
[1] requireStack: []
[1] }
[1] [nodemon] app crashed - waiting for file changes before starting...
[0] error TS5023: Unknown option 'w'
[0] Use the '--help' flag to see options.
[0] E:\Projects\Cocos\scrabble\server\src\index.ts(6,15): error TS1005: '=' expected.
[0] E:\Projects\Cocos\scrabble\server\src\index.ts(6,20): error TS1005: ';' expected.
[0] E:\Projects\Cocos\scrabble\server\src\index.ts(8,1): error TS1008: Unexpected token; 'module, class, interface, enum, import or statement' expected.
[0] tsc src/index.ts -w --outDir dist exited with code 1
--> Sending SIGTERM to other processes..
[1] nodemon dist/index.js exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:
concurrently --kill-others "tsc src/index.ts -w --outDir dist" "nodemon dist/index.js"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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\vien.nguyenminh\AppData\Roaming\npm-cache_logs\2020-01-13T07_06_16_955Z-debug.log
The text was updated successfully, but these errors were encountered: