I am getting error when i write the yarn codegen command #2527
Replies: 1 comment
-
|
Please use WSL2, should work there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
yarn codegen
🔄 Copying files from packages to project...
⚙️ Generating GraphCommerce config types...
🔌 Generating interceptors...
[2025-06-12T06:32:39.105Z] ERROR Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\ACER\Downloads\my-project\node_modules@graphcommerce\graphql-mesh\meshConfig.interceptor' imported from C:\Users\ACER\Downloads\my-project\node_modules@graphcommerce\cli\dist\bin\mesh.js
at finalizeResolution (node:internal/modules/esm/resolve:283:11)
at moduleResolve (node:internal/modules/esm/resolve:952:10)
at defaultResolve (node:internal/modules/esm/resolve:1188:11)
at nextResolve (node:internal/modules/esm/hooks:864:28)
at resolveBase (file:///C:/Users/ACER/Downloads/my-project/node_modules/tsx/dist/esm/index.mjs?1749709957617:4:1641)
at resolveDirectory (file:///C:/Users/ACER/Downloads/my-project/node_modules/tsx/dist/esm/index.mjs?1749709957617:4:2136)
at resolveTsPaths (file:///C:/Users/ACER/Downloads/my-project/node_modules/tsx/dist/esm/index.mjs?1749709957617:4:2871)
at resolve (file:///C:/Users/ACER/Downloads/my-project/node_modules/tsx/dist/esm/index.mjs?1749709957617:4:3353)
at nextResolve (node:internal/modules/esm/hooks:864:28)
at Hooks.resolve (node:internal/modules/esm/hooks:306:30)
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\ACER\Downloads\my-project\node_modules@graphcommerce\graphql-mesh\meshConfig.interceptor' imported from C:\Users\ACER\Downloads\my-project\node_modules@graphcommerce\cli\dist\bin\mesh.js
at finalizeResolution (node:internal/modules/esm/resolve:283:11)
at moduleResolve (node:internal/modules/esm/resolve:952:10)
at defaultResolve (node:internal/modules/esm/resolve:1188:11)
at nextResolve (node:internal/modules/esm/hooks:864:28)
at resolveBase (file:///C:/Users/ACER/Downloads/my-project/node_modules/tsx/dist/esm/index.mjs?1749709957617:4:1641)
at resolveDirectory (file:///C:/Users/ACER/Downloads/my-project/node_modules/tsx/dist/esm/index.mjs?1749709957617:4:2136)
at resolveTsPaths (file:///C:/Users/ACER/Downloads/my-project/node_modules/tsx/dist/esm/index.mjs?1749709957617:4:2871)
at resolve (file:///C:/Users/ACER/Downloads/my-project/node_modules/tsx/dist/esm/index.mjs?1749709957617:4:3353)
at nextResolve (node:internal/modules/esm/hooks:864:28)
at Hooks.resolve (node:internal/modules/esm/hooks:306:30) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///C:/Users/ACER/Downloads/my-project/node_modules/@graphcommerce/graphql-mesh/meshConfig.interceptor'
my yarn version : 4.5.3
My node version : 20.19.2
i am woring in windows
Beta Was this translation helpful? Give feedback.
All reactions