stnow7
@stnow79335
Reviews Written
-
Average Rating
-
Posts
Q&A
npm run start ์์ ์ค๋ฅ๊ฐ ๋น๋๋ค..
node 14๋ฒ์ ์ผ๋ก ๋ค์๊น๊ณ npm run startํ๋ ๋๋์ด ๋จ๋ค์ ใ ใ ๋๋์ด 17๊ฐ์ ๋์ด๊ฐ๋ค์ ํ๋ ๋๋ ์ธํ๋ ๋๋ถ ๋ชจ๋ ๊ฐ์ฌํฉ๋๋ค!!^^ (์ฌ์ง)
- -1
- 10
- 4K
Q&A
npm run start ์์ ์ค๋ฅ๊ฐ ๋น๋๋ค..
์ ๋ง์ต๋๋ค node ์ต๊ทผ์ 15.8.0 ์ต์ ๋ฒ์ ์ผ๋ก ์ค์นํ๋๋ฐ .. ๊ทธ๊ฒ๋๋ฌธ์ ์ถฉ๋ํ๋๊ฒ ๊ฐ๊ธฐ๋ ํ๋ค์ ๊ฐ์ฌํฉ๋๋ค ๋ค์ ๊น์๋ด์ผ๊ฒ ๋ค์
- -1
- 10
- 4K
Q&A
npm run start ์์ ์ค๋ฅ๊ฐ ๋น๋๋ค..
์ ๊ฐ ๋ญ๊ฐ ์ค์น๋ฅผ ์๋ชปํ๊ฑฐ๊ฐ์ ๋ค์ client ํด๋ ๋ด๋ถ๋ฅผ ์น ๋ค ์ง์ฐ๊ณ 14๊ฐ๋ถํฐ ์ฐฌ์ฐฌํ ๋ฐ๋ผ๊ฐ ๋ณด์๋๋ฐ, 15๊ฐ์์ client ํด๋์ npm i redux react-redux redux-saga react-router-dom connected-react-router bootstrap reactstrap dotenv ํ๋ ๋ถ๋ถ์์ ๊ฐ์ฌ๋๊ณผ๋ ๋ฌ๋ฆฌ ๊ณ์ ์๋์ ๊ฐ์ ์๋ฌ๊ฐ ๋จ๋ฉด์ ์ค์น๊ฐ ๋์ง ์์ต๋๋ค.. ๋ฒ์ dependency ์ด์๋ผ๋๋ฐ ์ ๊ฐ ์ด๋ณด๋ผ ์ด๋ป๊ฒ ํด๊ฒฐํด์ผ ํ ์ง ๋ชจ๋ฅด๊ฒ ๋ค์ ..ใ ใ admin@DESKTOP-DQS8FS9 MINGW64 ~/Documents/MERN/client (master) $ npm i redux react-redux redux-saga react-router-dom connected-react-router bootstrap reactstrap dotenv npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: client@0.1.0 npm ERR! Found: react@17.0.1 npm ERR! node_modules/react npm ERR! react@"^17.0.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.4.0" from connected-react-router@6.8.0 npm ERR! node_modules/connected-react-router npm ERR! connected-react-router@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See C:\Users\admin\AppData\Local\npm-cache\eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\admin\AppData\Local\npm-cache\_logs\2021-02-10T01_29_24_319Z-debug.log
- -1
- 10
- 4K
Q&A
npm run start ์์ ์ค๋ฅ๊ฐ ๋น๋๋ค..
ํ๋ ๋๋ ๋ง๋๋ก ํด๋ดค๋๋ฐ ์๋๋ค์ ์ฌ์ค ๋ฐ์ฏค ํฌ๊ธฐํ์ต๋๋ค..ใ ใ ใ ใ ใ ๋ค์ ์ฒ์๋ถํฐ ์ธํ ํด์ผํ๋๊ฑธ๊น์.. ํน์๋ ๋์๋ ๊น ์ถ์ด pkg json ํ์ผ ๋ด์ฉ์ฌ๋ ค๋๊ฒ ์ต๋๋ค client ํด๋ package.json { "name": "client", "version": "0.1.0", "private": true, "dependencies": { "@testing-library/jest-dom": "^5.11.9", "@testing-library/react": "^11.2.5", "@testing-library/user-event": "^12.6.3", "react": "^17.0.1", "react-scripts": "4.0.2", "web-vitals": "^1.1.0" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } } ์ธ๋ถ ํด๋ package.json ํ์ผ { "name": "MERN", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "dev": "nodemon ./server/server.js --exec babel-node", "dev-watch": "babel-watch server/server.js --ignore'./client'" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "babel-watch": "^7.4.0", "bcryptjs": "^2.4.3", "bootstrap": "^4.6.0", "cors": "^2.8.5", "dotenv": "^8.2.0", "express": "^4.17.1", "helmet": "^4.4.1", "history": "^5.0.0", "hpp": "^0.2.3", "jsonwebtoken": "^8.5.1", "moment": "^2.29.1", "mongoose": "^5.11.15", "nodemon": "^2.0.7", "react-router-dom": "^5.2.0" }, "devDependencies": { "@babel/cli": "^7.12.13", "@babel/core": "^7.12.13", "@babel/node": "^7.12.13", "@babel/polyfill": "^7.12.1", "@babel/preset-env": "^7.12.13", "babel-loader": "8.1.0", "morgan": "^1.10.0" } }
- -1
- 10
- 4K
Q&A
npm run start ์์ ์ค๋ฅ๊ฐ ๋น๋๋ค..
npm i -g react react-router-dom react-router ๋ง์ํ์๋ ๊ฑด๊ฐ์?? ๋ฐฉ๊ธ ํด๋ดค๋๋ฐ ์๋๋ค์ ใ ใ ๋์ ๊ฐ์ฌํฉ๋๋ค ๊ณ์ ์ด๋ ๊ฒ๋ง ๋จ๋ค์..ใ ใ Failed to compile. ./src/App.js Module not found: Can't resolve 'connected-react-router' in 'C:\Users\admin\Desktop\MERN\client\src'
- -1
- 10
- 4K
Q&A
๋ชฝ๊ณ DB ์ฐ๊ฒฐ ๊ด๋ จ ์ง๋ฌธ๋๋ฆฝ๋๋ค!
hong hj ๋ ๊ฐ์ฌํฉ๋๋ค ๋๋ถ์ ํด๊ฒฐ๋์๋ค์
- 1
- 6
- 536




