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

Changes main path in packages.json #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kareemsalah227
Copy link

@kareemsalah227 kareemsalah227 commented Sep 12, 2020

Problem:

When fetching the package using npm install in a create-react-app, user will get a compilation error that ra-data-springboot-data can not be resolved.

The problem is because the main entry defined in packages.json is pointing to a non-existing path lib/index.js.

Solution:

Either create the wrong path and copy index.js under the created path lib, or just change the main entry to src/index.js, I did the latter.

Reference:

#4

@vishpat I'll mention you since I can't add you as a reviewer.

@jbournonville
Copy link

@vishpat did you have the possibility to merge this PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants