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
node:internal/process/esm_loader:34
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/typeofweb/…/node_modules/next/cache' imported from /Users/typeofweb/…/src/lib/stripe/stripe.ts
Did you mean to import "next/cache.js"?
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at S (file:///Users/typeofweb/…/node_modules/.pnpm/tsx@4.9.1/node_modules/tsx/dist/esm/index.mjs?1714890869622:2:2951)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
at handleMessage (node:internal/modules/esm/worker:196:24)
at Immediate.checkForMessages [as _onImmediate] (node:internal/modules/esm/worker:138:28)
at process.processImmediate (node:internal/timers:478:21) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///Users/typeofweb/…/node_modules/next/cache'
}
Contributions
I'm interested in working on this issue
I'm willing to offer financial support
The text was updated successfully, but these errors were encountered:
Acknowledgements
Minimal reproduction URL
https://stackblitz.com/edit/node-ztssub
Version
v4.9.1
Node.js version
v20.12.2
Package manager
pnpm
Operating system
macOS
Problem & expected behavior (under 200 words)
Contributions
The text was updated successfully, but these errors were encountered: