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

Module not found: Can't resolve '/dist/generated/locales' in '/nekomata/dist/utils' #5

Open
bruno-sartori opened this issue Sep 18, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@bruno-sartori
Copy link
Owner

I got this issue when using Nekomata as a dependency of an ejected create-react-app application.

Screenshot_1

Steps:

  • Create a react app with npx create-react-app my-app
  • Eject the application: yarn eject
  • Update webpack.config.dev rules:
    { test: /\.m?js/, resolve: { fullySpecified: false } }
  • Link nekomata project to react project: cd nekomata && yarn link and cd my-app && yarn link @bsartori/nekomata
  • Import Nekomata on App.jsx: import '@bsartori/nekomata';
  • Render <nekomata-main></nekomata-main> on App.jsx.
@bruno-sartori bruno-sartori added bug Something isn't working good first issue Good for newcomers labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant