Skip to content

Could not resolve './globalThis.js' #204

@productdevbook

Description

@productdevbook

Environment


  • Operating System: Darwin
  • Node Version: v16.13.0
  • Nuxt Version: 3.0.0-27267816.6bd7186
  • Package Manager: [email protected]
  • Bundler: Vite
  • User Config: buildModules, build
  • Runtime Modules: -
  • Build Modules: [email protected]

Describe the bug

yarn build

Reproduction

https://github.com/productdevbook/productdevbook.com

Additional context

No response

Logs

yarn run v1.22.17
$ nuxi build
Nuxt CLI v3.0.0-27267528.292b524                                                                                                                                                                                        06:46:08

 ERROR  Could not resolve './globalThis.js' from node_modules/@apollo/client/utilities/globals/index.js                                                                                                                 06:46:12


 ERROR  Could not resolve './globalThis.js' from node_modules/@apollo/client/utilities/globals/index.js                                                                                                                 06:46:12

  at error (node_modules/rollup/dist/shared/rollup.js:158:30)
  at ModuleLoader.handleResolveId (node_modules/rollup/dist/shared/rollup.js:22306:24)
  at node_modules/rollup/dist/shared/rollup.js:22300:26

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions