작성
·
148
0
npm run dev
PS C:\Users\mina\.vscode\boilerplate-mern-stack-master> npm run dev
> react-boiler-plate@1.0.0 dev
> concurrently "npm run backend" "npm run start --prefix client"
'concurrently'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
PS C:\Users\mina\.vscode\boilerplate-mern-stack-master>
라고 뜨고
npm run start 입력시
PS C:\Users\mina\.vscode\boilerplate-mern-stack-master> npm run start
> react-boiler-plate@1.0.0 start
> node server/index.js
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'express'
Require stack:
- C:\Users\mina\.vscode\boilerplate-mern-stack-master\server\index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
at Object.<anonymous> (C:\Users\mina\.vscode\boilerplate-mern-stack-master\server\index.js:1:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\mina\\.vscode\\boilerplate-mern-stack-master\\server\\index.js'
]
}
라고 뜹니다. 아예 화면 도출이 안되네요