게시글
질문&답변
2022.02.16
TypeError: Images.map is not a function 업로드 파일저장완료후 웹에 보여지는 부분 오류가 나옵니다.
setImages(...Images, response.data.filePath) 여기서 이걸 빠트렸네요 [] setImages([...Images, response.data.filePath])
- 0
- 1
- 413
질문&답변
2022.02.15
Failed to load resource: the server responded with a status of 404 (Not Found) (파일업로드시 오류)
index.js 에서 app.post('/api/product', require('./routes/product')); => app.use('/api/product', require('./routes/product')); 로변경하니까 해결은 됐습니다. 파일저장까지는 완료했습니다.
- 0
- 1
- 3.4K
질문&답변
2022.02.07
윈도우 10인데 npm i 문제 있습니다
파워쉘에서 해도 마찬가지로 PS C:\react> cd .\boilerplate-mern-stack-master\ PS C:\react\boilerplate-mern-stack-master> npm install --global --production windows-build-tools npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/ npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/ npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for details. [##################] \ reify:resolve: timing reifyNode:node_modules/windows-build-tools/node_modules/ajv Completed in 3
- 0
- 4
- 502
질문&답변
2022.02.07
윈도우 10인데 npm i 문제 있습니다
저도 같은 증상인데요.. 윈도우 10에서 는 안되는건가요?
- 0
- 4
- 502