Critical dependency: the request of a dependency is an expression #111
Unanswered
ollebergkvist
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Sounds like this? i18next/next-i18next#1545 (comment) You can't use this package from frontend context. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use this package within a route handler (Next.js v.13 app directory (latest version), but I'm getting:
Import trace for requested module:
./node_modules/header-generator/node_modules/browserslist/node.js
./node_modules/header-generator/node_modules/browserslist/index.js
./node_modules/header-generator/utils.js
./node_modules/header-generator/header-generator.js
./node_modules/header-generator/index.js
./node_modules/got-scraping/dist/index.js
./src/app/api/hltv/team/[id]/route.ts
./node_modules/keyv/src/index.js
Critical dependency: the request of a dependency is an expression
Wondering if anyone knows how I can make it work in this env?
Beta Was this translation helpful? Give feedback.
All reactions