You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i use node-fetch http request in getServerSideProps, next throws error.
This is error information:
[1] Module build failed: UnhandledSchemeError: Reading from "node:fs" is not handled by plugins (Unhandled scheme).
[1] Webpack supports "data:" and "file:" URIs by default.
[1] You may need an additional plugin to handle "node:" URIs.
[1] Could not find files for /post/[id] in .next/build-manifest.json
Expected Behavior
Expect no error.
To Reproduce
none
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Feb 1, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Next.js are you using?
12.0.7
What version of Node.js are you using?
16.10.0
What browser are you using?
chrome
What operating system are you using?
macOS
How are you deploying your application?
Other platform
Describe the Bug
when i use node-fetch http request in getServerSideProps, next throws error.
This is error information:
[1] Module build failed: UnhandledSchemeError: Reading from "node:fs" is not handled by plugins (Unhandled scheme).
[1] Webpack supports "data:" and "file:" URIs by default.
[1] You may need an additional plugin to handle "node:" URIs.
[1] Could not find files for /post/[id] in .next/build-manifest.json
Expected Behavior
Expect no error.
To Reproduce
none
The text was updated successfully, but these errors were encountered: