inflearn logo
강의

Course

Instructor

Node and React series that you can learn by following - Creating a YouTube site

Creating a Video Upload FORM (1)

npm run dev 실행 시 에러

456

yohank

21 asked

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

Answer 0

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

0

56

1

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

0

224

1

자료 없음

0

331

1

이미지 깨짐

0

349

1

npm run dev 동작 에러

0

309

1

npm run dev 동작 에러

0

300

1

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

0

667

1

npm run dev 실행 오류

0

660

1

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

0

1059

1

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

1

473

1

오류 해결 공유

0

467

1

npm install 에러 질문드립니다.

0

1134

2

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

0

553

1

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

0

526

1

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

0

517

0

video가 안 나타나는 문제

0

898

1

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

0

476

0

typeError or 콘솔 500 뜨는분..

0

340

0

npm run dev 관련 오류

0

581

1

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

0

250

0

useState 자동 생성

0

349

1

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

0

1249

2

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

0

250

0

antd Input background color 변경

0

245

0