Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.32.2 causes nuxt prepare to fail #455

Closed
just-maik opened this issue Jan 11, 2024 · 5 comments
Closed

Version 0.32.2 causes nuxt prepare to fail #455

just-maik opened this issue Jan 11, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@just-maik
Copy link

just-maik commented Jan 11, 2024

Environment


  • Operating System: Linux
  • Node Version: v18.18.2
  • Nuxt Version: 3.9.1
  • CLI Version: 3.10.0
  • Nitro Version: 2.8.1
  • Package Manager: yarn@1.22.21
  • Builder: -
  • User Config: devtools, telemetry, modules, tailwindcss, experimental, runtimeConfig, graphql-client, security, app
  • Runtime Modules: @vueuse/nuxt@10.7.1, @nuxtjs/device@3.1.1, nuxt-security@1.0.0-rc.4, nuxt-graphql-client@0.2.32, nuxt-typed-router@3.5.1, nuxt-icon@0.6.8, nuxt-simple-sitemap@4.4.1, @dargmuesli/nuxt-cookie-control@7.2.3, @nuxtjs/tailwindcss@6.10.4
  • Build Modules: -

Describe the bug

Using 0.32.2 causes the following error when running nuxt prepare after upgrading from 0.32.1

Expected behaviour

Should run as expected

Reproduction

No response

Additional context

No response

Logs

$ nuxt prepare 

 WARN  Please avoid recursive environment variables ( loop: PROMPT_COMMAND > PROMPT_COMMAND )                                                                            2:14:12 PM


[2:14:13 PM]  ERROR  Error while requiring module nuxt-graphql-client: Error: Cannot find module '/home/runner/work/nuxt-graphql-client/nuxt-graphql-client/node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/lib/index.js'
Require stack:
- /app/node_modules/nuxt-graphql-client/dist/module.mjs


 ERROR  Cannot find module '/home/runner/work/nuxt-graphql-client/nuxt-graphql-client/node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/lib/index.js'                     2:14:13 PM
Require stack:
- /app/node_modules/nuxt-graphql-client/dist/module.mjs

  Require stack:
  - node_modules/nuxt-graphql-client/dist/module.mjs
  at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
  at Function.resolve (node:internal/modules/cjs/helpers:125:19)
  at _resolve (node_modules/jiti/dist/jiti.js:1:251148)
  at jiti (node_modules/jiti/dist/jiti.js:1:253746)
  at node_modules/nuxt-graphql-client/dist/module.mjs:1:199
  at evalModule (node_modules/jiti/dist/jiti.js:1:256443)
  at jiti (node_modules/jiti/dist/jiti.js:1:254371)
  at requireModule (node_modules/@nuxt/kit/dist/index.mjs:2219:26)
  at loadNuxtModuleInstance (node_modules/@nuxt/kit/dist/index.mjs:2451:92)
  at async installModule (node_modules/@nuxt/kit/dist/index.mjs:2407:47) 



 ERROR  Cannot find module '/home/runner/work/nuxt-graphql-client/nuxt-graphql-client/node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/lib/index.js'                     2:14:13 PM
Require stack:
- /app/node_modules/nuxt-graphql-client/dist/module.mjs
@just-maik just-maik added the bug Something isn't working label Jan 11, 2024
@Saurou
Copy link

Saurou commented Jan 12, 2024

Same here.

reverted to 0.2.31

@urbgimtam
Copy link

Same here.

@just-maik
Copy link
Author

@Diizzayy Diizzayy self-assigned this Jan 13, 2024
@Henvy-Mango
Copy link

Same here

@Diizzayy
Copy link
Owner

This has been fixed as of v0.2.33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants