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

Unable to generate types after installing #177

Open
elliotwestlake opened this issue Jul 11, 2021 · 0 comments
Open

Unable to generate types after installing #177

elliotwestlake opened this issue Jul 11, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@elliotwestlake
Copy link

Describe the bug
When trying to generate types after installing sane-shopify I'm now getting the following error:

yarn run v1.22.10
$ sanity-codegen
Error: Cannot find module 'part:@sanity/components/tooltip'
Require stack:
- /Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sanity/base/lib/change-indicators/ChangeBar.js
- /Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sanity/base/lib/change-indicators/ChangeIndicator.js
- /Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sanity/base/lib/change-indicators/index.js
- /Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sane-shopify/sanity-plugin/dist/sanity-plugin.cjs.development.js
- /Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sane-shopify/sanity-plugin/dist/index.js
- /Users/elliot.westlake/github/budding-baskets/studio/schemas/schema.js
- /Users/elliot.westlake/github/budding-baskets/node_modules/sanity-codegen/cli.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
    at Function.Module._load (internal/modules/cjs/loader.js:687:27)
    at Module.require (internal/modules/cjs/loader.js:849:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sanity/base/lib/change-indicators/ChangeBar.js:10:16)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Module._compile (/Users/elliot.westlake/github/budding-baskets/node_modules/pirates/lib/index.js:99:24)
    at Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Object.newLoader [as .js] (/Users/elliot.westlake/github/budding-baskets/node_modules/pirates/lib/index.js:104:7)
    at Module.load (internal/modules/cjs/loader.js:812:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sanity/base/lib/change-indicators/ChangeBar.js',
    '/Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sanity/base/lib/change-indicators/ChangeIndicator.js',
    '/Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sanity/base/lib/change-indicators/index.js',
    '/Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sane-shopify/sanity-plugin/dist/sanity-plugin.cjs.development.js',
    '/Users/elliot.westlake/github/budding-baskets/studio/node_modules/@sane-shopify/sanity-plugin/dist/index.js',
    '/Users/elliot.westlake/github/budding-baskets/studio/schemas/schema.js',
    '/Users/elliot.westlake/github/budding-baskets/node_modules/sanity-codegen/cli.js'
  ]
}
error Command failed with exit code 1.

@elliotwestlake elliotwestlake added the bug Something isn't working label Jul 11, 2021
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

1 participant