-
Notifications
You must be signed in to change notification settings - Fork 4
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
Possible to remove preinstall script? #434
Comments
Hmmm..... that's a pretty critical dependency for executing this package, so I'm hesitant to remove the check or move it to be runtime instead of install time. @IGx89 Have you considered running |
|
@IGx89 I've been looking into this more, and installing as an optional dependency seems to be the most "correct" approach in the NPM ecosystem since there is no explicit way to have install for CI vs. install for local development. I'll get a note added to readme about this |
Hello! We're using your package in frontend projects worked on by developers without Java/Maven installed on their systems. That should normally be just fine, since we're only running this package in our CI system (local development doesn't require packaging for AEM). However, due to your preinstall script that runs
mvn -v
, developers get an error aboutmvn
not being found when they attempt to do a simplenpm install
on the frontend project. Would it be possible to remove that preinstall script so that developers aren't required to install Java/Maven?Our workaround in the meantime is to run
npm install --ignore-scripts
instead.Thanks!
The text was updated successfully, but these errors were encountered: