fedehub93 / gatsby-source-shopify-translations

Translations resources from shopify and Internationalization using the i18next i18n ecosystem.
MIT License
3 stars 2 forks source link

Cannot find module './dist/plugin/createSchemaCustomization' #13

Open AlexanderProd opened 1 year ago

AlexanderProd commented 1 year ago

With the latest version 0.5.0, I'm getting the following error when starting the development server or building the gatsby site.

Error in "/Users/alexanderhoerl/Sites/example.com/node_modules/gatsby-source-shopify-translations/gatsby-node": Cannot find module
'./dist/plugin/createSchemaCustomization'
Require stack:
- /Users/alexanderhoerl/Sites/example.com/node_modules/gatsby-source-shopify-translations/gatsby-node.js

  Error: Cannot find module './dist/plugin/createSchemaCustomization'
  Require stack:
  - /Users/alexanderhoerl/Sites/example.com/node_modules/gatsby-source-shopify-translations/gatsby-node.js

I'm using gatsby v5.11.0 gatsby-plugin-react-i18next 3.0.1

KevinBritten commented 1 year ago

Just ran into this today when switching back from my local version of the package.

It seems there is no dist folder in the latest release.

AlexanderProd commented 1 year ago

I've commited the dist to my fork so we can temporarily install the package from a git source.

yarn add https://github.com/AlexanderProd/gatsby-source-shopify-translations