선생님 안녕하세요! 두번째 강의 듣고있는데 포트 5000으로 접속 시 cannot get 에러가 나와서 질문 드립니다.ㅜㅜ
도움 부탁드립니다
PS C:\Users\user\Downloads\boilerplate-mern-stack-master (2)\boilerplate-mern-stack-master> npm run dev > react-boiler-plate@1.0.0 dev > concurrently "npm run backend" "npm run start --prefix client" [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] [1] 'react-scripts'��(��) ���� �Ǵ� �ܺ� ����, ������ �� �ִ� ���α�, �Ǵ� [1] ��ġ ������ �ƴմϴ�. [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] (node:23504) Warning: Accessing non-existent property 'count' of module exports inside circular dependency [0] (Use `node --trace-warnings ...` to show where the warning was created) [0] (node:23504) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency [0] (node:23504) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency [0] (node:23504) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency [0] Server Listening on 5000 [0] MongoDB Connected...
네 교수님 하라하신 대로 client랑 server측 npm install 했는데, localhost:5000 접속 시 cannot get / 에러가 없어지질 않네요 ..ㅜㅜ
PS C:\Users\user\Downloads\boilerplate-mern-stack-master (2)\boilerplate-mern-stack-master> npm run dev
> react-boiler-plate@1.0.0 dev
> concurrently "npm run backend" "npm run start --prefix client"
[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]
[1] 'react-scripts'��(��) ���� �Ǵ� �ܺ� ����, ������ �� �ִ� ���α�, �Ǵ�
[1] ��ġ ������ �ƴմϴ�.
[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] (node:21428) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
[0] (Use `node --trace-warnings ...` to show where the warning was created)
[0] (node:21428) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
[0] (node:21428) Warning: Accessing non-existent property 'remove' of module exports inside circular
dependency
[0] (node:21428) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
[0] (node:21428) DeprecationWarning: current URL string parser is deprecated, and will be removed in
a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
[0] Server Listening on 5000
[0] (node:21428) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
[0] (node:21428) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.[0] MongoDB Connected...