inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기

비디오 업로드 FORM 만들기 (1)

npm run dev 실행 시 에러

454

아침에사과

작성한 질문수 21

0

아래와 같은 에러 발생합니다..

피드백 주세요..

그리고 dev.js 파일 예시 들어주세요

<username>:<password>....?<dbname> 이렇게 작성하라고 했을 때

꺽새 안에 내용만 수정해주면 되는지 꺽새를 지우고 새로 생성한 username과 password를 입력해야 하는지요

C:\Users\rlawj\프로젝트\노드, 리액트 시리즈 - 유튜브 사이트 만들기\boilerplate-youtube-app>npm run dev

(node:16228) ExperimentalWarning: The fs.promises API is experimental

> react-boiler-plate@1.0.0 dev

> concurrently "npm run backend" "npm run start --prefix client"

[0] (node:9828) ExperimentalWarning: The fs.promises API is experimental

[1] (node:7100) ExperimentalWarning: The fs.promises API is experimental

[0]

[0] > react-boiler-plate@1.0.0 backend

[0] > nodemon server/index.js

[0]

[1]

[1] > client@0.1.0 start

[1] > react-scripts start

[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

[1] [HPM] Proxy created: /  -> http://localhost:5000

[1] i 「wds」: Project is running at http://0.0.0.0:3000/

[1] i 「wds」: webpack output is served from

[1] i 「wds」: Content not from webpack is served from C:\Users\rlawj\프로젝트\노드, 리액트 시리즈 - 유튜브 사이트 만들

기\boilerplate-youtube-app\client\public

[1] i 「wds」: 404s will fallback to /

[1] Starting the development server...

[1]

[1] Browserslist: caniuse-lite is outdated. Please run:

[1] npx browserslist@latest --update-db

[1] Failed to compile.

[1]

[1] ./src/components/views/LoginPage/LoginPage.js

[1] Attempted import error: 'Icon' is not exported from 'antd'.

[0] { MongooseServerSelectionError: connection <monitor> to 54.255.110.161:27017 closed

[0]     at new MongooseServerSelectionError (C:\Users\rlawj\프로젝트\노드, 리액트 시리즈 - 유튜브 사이트 만들기\boile

rplate-youtube-app\node_modules\mongoose\lib\error\serverSelection.js:22:11)

[0]     at NativeConnection.Connection.openUri (C:\Users\rlawj\프로젝트\노드, 리액트 시리즈 - 유튜브 사이트 만들기\bo

ilerplate-youtube-app\node_modules\mongoose\lib\connection.js:823:32)

[0]     at Mongoose.connect (C:\Users\rlawj\프로젝트\노드, 리액트 시리즈 - 유튜브 사이트 만들기\boilerplate-youtube-a

pp\node_modules\mongoose\lib\index.js:333:15)

[0]     at Object.<anonymous> (C:\Users\rlawj\프로젝트\노드, 리액트 시리즈 - 유튜브 사이트 만들기\boilerplate-youtube

-app\server\index.js:18:26)

[0]     at Module._compile (internal/modules/cjs/loader.js:776:30)

[0]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)

[0]     at Module.load (internal/modules/cjs/loader.js:653:32)

[0]     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)

[0]     at Function.Module._load (internal/modules/cjs/loader.js:585:3)

[0]     at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)

[0]     at startup (internal/bootstrap/node.js:283:19)

[0]     at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

[0]   message: 'connection <monitor> to 54.255.110.161:27017 closed',

[0]   name: 'MongooseServerSelectionError',

[0]   reason:

[0]    TopologyDescription {

[0]      type: 'ReplicaSetNoPrimary',

[0]      setName: null,

[0]      maxSetVersion: null,

[0]      maxElectionId: null,

[0]      servers:

[0]       Map {

[0]         'clonereactnode-shard-00-01.tbmhv.mongodb.net:27017' => [ServerDescription],

[0]         'clonereactnode-shard-00-00.tbmhv.mongodb.net:27017' => [ServerDescription],

[0]         'clonereactnode-shard-00-02.tbmhv.mongodb.net:27017' => [ServerDescription] },

[0]      stale: false,

[0]      compatible: true,

[0]      compatibilityError: null,

[0]      logicalSessionTimeoutMinutes: null,

[0]      heartbeatFrequencyMS: 10000,

[0]      localThresholdMS: 15,

[0]      commonWireVersion: null },

[0]   [Symbol(mongoErrorContextSymbol)]: {} }

mongodb redux react nodejs

답변 0

npm i하면 바로, 라이브러리 오류없이 받아지고, 구동되는 소스는 없나요?

0

52

1

ERROR in ./node_modules/antd/es/version/index.js 2:15-22

0

221

1

자료 없음

0

321

1

이미지 깨짐

0

335

1

npm run dev 동작 에러

0

304

1

npm run dev 동작 에러

0

294

1

npm run dev 동작에러납니다...

0

660

1

npm run dev 실행 오류

0

653

1

비디오 업로드, 로그인, 회원가입 504 error

0

1056

1

시작부터 오류생기시는 분들 해결법입니다.

1

466

1

오류 해결 공유

0

458

1

npm install 에러 질문드립니다.

0

1121

2

아예 몽고DB에 연결한다고만 하고 연결이 안되고 있습니다.

0

550

1

해당 오류 해결 방법 좀 알려주세요 ㅠㅠ

0

515

1

로컬스토리지에 대한 질문입니다!!

0

515

0

video가 안 나타나는 문제

0

893

1

ffmpeg 설치 후 cannot read property 'format' of undefined 500 에러 해결

0

470

0

typeError or 콘솔 500 뜨는분..

0

336

0

npm run dev 관련 오류

0

578

1

답글이 달리지않고 디비에도 저장되지않으며 새로고침이 됩니다.

0

246

0

useState 자동 생성

0

345

1

TypeError: Cannot read properties of undefined (reading 'format')

0

1246

2

userData undefined / state에 user.userData가 없습니다.

0

247

0

antd Input background color 변경

0

241

0