We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'fs' 모듈은 프론트엔드에서 사용되면 안되는데 프론트에서 'fs' 모듈이 호출되는 경우 이 오류가 발생합니다.
해결 방법
module.exports = { webpack: (config, { isServer }) => { // Fixes npm packages that depend on `fs` module if (!isServer) { config.node = { fs: 'empty' } } return config } }
참고 : vercel/next.js#7755
The text was updated successfully, but these errors were encountered:
나의 경우 프론트 코드에서 express 모듈을 호출하면서 발생한 문제 vscode 자동완성 기능이 문제였음.
Sorry, something went wrong.
No branches or pull requests
Module not found: Can't resolve 'fs' 오류
해결 방법
참고 : vercel/next.js#7755
The text was updated successfully, but these errors were encountered: