Closed eddiesarevalo closed 2 years ago
Hello @tloubrieu-jpl, it looks like the package-lock.json is pointing to pds-wds-react version 0.0.1 which is the really broken version. It should be pointing to 0.0.2-beta.3
It looks like the versions are correct in the pds-wds-react package so the problem should be in the doi-ui. I will try to update the package-lock.json in the doi-ui
Thanks @eddiesarevalo , should the file package-lock.json be managed in git ?
@tloubrieu-jpl Yes the package-lock.json file should be tracked by git.
The package-lock.json file is different from the package.json as it keeps track of the specific versions of the modules used as dependencies. When the npm install command is run any conflicts between the dependencies will be resolved by checking this file. If this file doesn't exist then it is created then.
In the package.json file I have set the version of pds-wds-react to be used in the doi-ui to be 0.0.2-beta.3
I put an exact match as trying to to use the ~
(minor version) or ^
(major version) will ignore the beta version.
Once the latest pds-wds-react is merged back to main then we can remove the exact version and use the latest pds-wds-react.
Please try the doi-ui again.
🗒️ Summary
DOI Search has been installed into the DOI UI. Integration bugs have been addressed in the doi search, #117 and #106
♻️ Related Issues