Skip to content

Module not found: Can't resolve 'fs' #26

@francofantini

Description

@francofantini

Hi there, i'm having a issue when trying to use the useFlag hook.

I'm using "next": "^13.4.4", and having this issue both in /pages ang /app directory.

./node_modules/next/dist/compiled/@vercel/og/index.node.js:17950:0
Module not found: Can't resolve 'fs'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./node_modules/next/dist/server/web/spec-extension/image-response.js
./node_modules/next/server.js
./node_modules/@upstash/edge-flags/dist/index.js
./components/NavBar/NavBar.tsx

Let me know if you need more details to reproduce and hopefully solve this issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions