Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App can't be started #5

Closed
liuhouibing opened this issue Sep 3, 2020 · 0 comments
Closed

App can't be started #5

liuhouibing opened this issue Sep 3, 2020 · 0 comments

Comments

@liuhouibing
Copy link

Do you know why there is an error when I tried to start the app? Then it doesn't listen at HTTP://localhost:3000 at all possibly because of the error.

C:\tmp\hackathon-starter-kit>npm start

[email protected] start C:\tmp\hackathon-starter-kit
npm run build:dev

[email protected] build:dev C:\tmp\hackathon-starter-kit
npm run build-ts:dev && npm run watch

[email protected] build-ts:dev C:\tmp\hackathon-starter-kit
tsc -p tsconfig.json

[email protected] watch C:\tmp\hackathon-starter-kit
concurrently "npm run bundle:watch " "npm run watch-ts:dev " "npm run serve:dev " --names "💻,?"" --prefix name

[📦]
[📦] > [email protected] watch-ts:dev C:\tmp\hackathon-starter-kit
[📦] > tsc -w -p tsconfig.json
[📦]
[]
[] > [email protected] serve:dev C:\tmp\hackathon-starter-kit
[] > NODE_ENV=development nodemon dist/server.js --public
[]
[💻]
[💻] > [email protected] bundle:watch C:\tmp\hackathon-starter-kit
[💻] > webpack -w --display-max-modules 0
[💻]
[] 'NODE_ENV' is not recognized as an internal or external command,
[] operable program or batch file.
[] npm ERR! code ELIFECYCLE
[] npm ERR! errno 1
[] npm ERR! [email protected] serve:dev: NODE_ENV=development nodemon dist/server.js --public
[] npm ERR! Exit status 1
[] npm ERR!
[] npm ERR! Failed at the [email protected] serve:dev 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\i040355\AppData\Roaming\npm-cache_logs\2020-09-03T18_37_14_794Z-debug.log
[] npm run serve:dev exited with code 1
[📦] 2:37:15 PM - Starting compilation in watch mode...
[📦]
[💻]
[💻] Webpack is watching the files...
[💻]
[💻] Browserslist: caniuse-lite is outdated. Please run next command npm update
[💻] Hash: d3c906574d8dfe841fa1
[💻] Version: webpack 3.4.1
[💻] Time: 1630ms
[💻] Asset Size Chunks Chunk Names
[💻] App.bundle.js 3 kB 0 [emitted] App
[💻] style.css 3.58 kB 0 [emitted] App
[💻] App.bundle.js.map 2.9 kB 0 [emitted] App
[💻] style.css.map 5.39 kB 0 [emitted] App
[💻] 3 modules
[💻] Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js?sourceMap!node_modules/postcss-loader/src/index.js??ref--1-2!public/css/style.css:
[💻] 2 modules
[📦]
[📦] 2:37:20 PM - Found 0 errors. Watching for file changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant