Closed luizfmarins closed 3 years ago
We've just migrated this project to the liferay-frontend-projects
monorepo in the name of consolidation. As this issue is quite old now, I'm not going to transfer it automatically. If you consider it to be still relevant, please create a fresh issue over in the new repo.
I'm having a issue building my theme after updating
gradle.plugins.workspace
from version1.10.7
to2.1.14
Issue summary: If I have
package-lock.json
file but node_modules it not initialized yet, build fails.Steps to reproduce:
Checkout the sample repo: https://github.com/luizfmarins/raylife-theme-npm-issue
Run
gw clean deploy
2.1. Error:Remove all package-lock.json and clean everything (
find . -name "package-lock.json" -exec rm -fr '{}' +
,git clean -xfd
)gw clean deploy 4.1 BUILD SUCCESSFUL
Clean workspace (
git clean -xdf
)gw clean deploy 5.1. Error:
Notes: It seems the issue is related too this dependency This issue might be related to https://github.com/npm/npm/issues/17025