ra-data-springboot-rest
ra-data-springboot-rest copied to clipboard
There is a error path in package.json
"main": "lib/index.js",
There is not 'lib' in current src path. pls fix it, thks.
@kevinywb I ran into the same problem. I created a PR to fix it.
https://github.com/vishpat/ra-data-springboot-rest/pull/5
As a temporary fix you can use patch-package:
-
add patch-package dependencies to your project :
yarn add patch-package postinstall-postinstall -D
-
add postinstall script to your package.json
"scripts": {
...
"postinstall": "patch-package"
},
- modify the ra-data-springboot-rest package.json in node_modules folder :
{
...
"main": "src/index.js",
...
}
- run
npx patch-package ra-data-springboot-rest --exclude
command
And you should be good to go.