작성
·
161
0
ch 9.5 다운받아서 했는데도 안되네요 ㅠㅠ
D:\desktop\ch9\9.5\nodebird>npm start
> nodebird@0.0.1 start
> nodemon app
[nodemon] 2.0.6
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node app.js`
uploads 폴더가 없어 uploads 폴더를 생성합니다.
node:internal/modules/cjs/loader:928
throw err;
^
Error: Cannot find module './Strategy'
Require stack:
- D:\desktop\ch9\9.5\nodebird\node_modules\passport-kakao\dist\passport-kakao.js
- D:\desktop\ch9\9.5\nodebird\passport\kakaoStrategy.js
- D:\desktop\ch9\9.5\nodebird\passport\index.js
- D:\desktop\ch9\9.5\nodebird\app.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
at Function.Module._load (node:internal/modules/cjs/loader:769:27)
at Module.require (node:internal/modules/cjs/loader:997:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object.<anonymous> (D:\desktop\ch9\9.5\nodebird\node_modules\passport-kakao\dist\passport-kakao.js:6:34)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:997:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\\desktop\\ch9\\9.5\\nodebird\\node_modules\\passport-kakao\\dist\\passport-kakao.js',
'D:\\desktop\\ch9\\9.5\\nodebird\\passport\\kakaoStrategy.js',
'D:\\desktop\\ch9\\9.5\\nodebird\\passport\\index.js',
'D:\\desktop\\ch9\\9.5\\nodebird\\app.js'
]
}
[nodemon] app crashed - waiting for file changes before starting...