Shopify / shopify-app-bridge

https://shopify.dev/docs/api/app-bridge
88 stars 9 forks source link

Cannot deploy to heroku -> module not found #76

Closed luciilucii closed 1 year ago

luciilucii commented 3 years ago

Describe the bug

When trying to deploy to heroku, I get an Module not found error like below:

remote: ModuleNotFoundError: Module not found: Error: Can't resolve './Client' in '/tmp/build_#/node_modules/@shopify/app-bridge/actions'

I've updated and reinstalled to the latest version of the package.

Contextual information

Packages and versions

List the relevant packages you’re using, and their versions. For example:

Platform

Additional context

Found this related to the bug:

This error is almost always encountered here because the casing of the module's filename does not match what is committed to git. On our local computers (macOS & Windows) the system is case insensitive, but the Linux OS of Heroku is case sensitive.

kris-tremblay commented 1 year ago

Closing this as inactive. If you are still seeing this issue, please feel free to re-open.