npm run dev 오류
4271
작성자 없음
작성한 질문수 0
안녕하세요 강의 잘 따라가고있었는데
4번째 강의 1분 52초 쯤에 npm dev 하는 부분에서
에러가 발생해서 질문 드리겠습니다
에러는
found 5069 vulnerabilities (5060 low, 9 high)
run `npm audit fix` to fix them, or `npm audit` for details
PS C:\Users\hsj11\Desktop\boilerplate-mern-stack-master\client> npm run dev
npm ERR! missing script: dev
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hsj11\AppData\Roaming\npm-cache\_logs\2021-01-11T18_08_39_140Z-debug.log
이렇게 뜹니다
답변 3
0
현재 package.json 파일안에 dev 를 위한 스크립트를 지정하지 않으신것 같습니다 ~ !!
그 부분을 https://github.com/jaewonhimnae/react-movie-app-ko
이것을 보고 똑같이 넣어주세요 ~ !
0
껐다 켰더니 오류 문구가 바뀌었습니다
npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! client@0.1.0 start: `react-scripts start`
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the client@0.1.0 start script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR! C:\Users\hsj11\AppData\Roaming\npm-cache\_logs\2021-01-11T19_17_12_855Z-debug.log
[1] npm run start --prefix client exited with code 1
[0] [nodemon] 1.19.4
[0] [nodemon] to restart at any time, enter `rs`
[0] [nodemon] watching dir(s): *.*
[0] [nodemon] watching extensions: js,mjs,json
[0] [nodemon] starting `node server/index.js`
[0] Server Listening on 5000
[0] MongoParseError: Invalid connection string
[0] at parseConnectionString (C:\Users\hsj11\Desktop\boilerplate-mern-stack-master\node_modules\mongodb\lib\core\uri_parser.js:547:21)
[0] at connect (C:\Users\hsj11\Desktop\boilerplate-mern-stack-master\node_modules\mongodb\lib\operations\connect.js:272:3)
[0] at C:\Users\hsj11\Desktop\boilerplate-mern-stack-master\node_modules\mongodb\lib\mongo_client.js:215:5
[0] at maybePromise (C:\Users\hsj11\Desktop\boilerplate-mern-stack-master\node_modules\mongodb\lib\utils.js:719:3)
[0] at MongoClient.connect (C:\Users\hsj11\Desktop\boilerplate-mern-stack-master\node_modules\mongodb\lib\mongo_client.js:211:10)
[0] at C:\Users\hsj11\Desktop\boilerplate-mern-stack-master\node_modules\mongoose\lib\connection.js:709:12
[0] at new Promise (<anonymous>)
[0] at NativeConnection.Connection.openUri (C:\Users\hsj11\Desktop\boilerplate-mern-stack-master\node_modules\mongoose\lib\connection.js:706:19)
[0] at Mongoose.connect (C:\Users\hsj11\Desktop\boilerplate-mern-stack-master\node_modules\mongoose\lib\index.js:333:15)
[0] at Object.<anonymous> (C:\Users\hsj11\Desktop\boilerplate-mern-stack-master\server\index.js:18:26)
[0] at Module._compile (internal/modules/cjs/loader.js:1137:30)
[0] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
[0] at Module.load (internal/modules/cjs/loader.js:985:32)
[0] at Function.Module._load (internal/modules/cjs/loader.js:878:14)
[0] at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
[0] at internal/main/run_main_module.js:17:47 {
[0] [Symbol(mongoErrorContextSymbol)]: {}
[0] }
에러서 요렇게만 해보세요
0
228
1
antd Menu 질문
0
258
1
movieTitle
0
218
1
npm run dev 연결이 안됩니다ㅜㅜ
0
410
1
npm run dev 오류
0
854
1
403 forbidden error
0
1067
2
npm run dev 오류
0
696
1
모듈이 없다는데요
0
1277
1
npm run dev 실행시 오류
0
5366
1
504 Gateway Timeout Error
0
1448
1
컴파일 에러 관련 문의
0
504
1
npm run dev 오류
0
760
1
이미지가 안떠요...
0
369
2
npm run dev 실행하고 인증이 안되는거 같아요
0
531
1
cd client에서 npm install 오류
0
1418
1
npm run dev시 localhost가 자꾸 3000으로 연결됩니다
0
972
1
Netlify + AWS Elastic Beanstalk 를 이용한 배포
1
1785
1
[nodemon] app crashed - waiting for file changes before starting... Error occurred while proxying request localhost:3000/api/hello to http://localhost:5000/ 해결법
0
460
0
지금 듣기엔 안되는 강의일까요?
0
716
1
사진이 2개 2개씩 다른줄에 나와요 ㅠㅠ
0
428
1
비동기 처리가 영상과 다르게 됩니다..
0
247
0
#2강 npm install
0
768
4
LandingPage.js 내 useState(null) 이용하는 이유
0
226
0
client 부분에 App.js 와 Config.js 위치가 다른데 상관없는 것인가요?
0
382
1





