generator-jhipster: Angular - generator-jhipster - Couldn't follow symbolic link
Overview of the issue
I upgrade my jhipster project from 5.7.2 to 5.8.2. Migration was a success, all works on my dev environment, but when I push on my gitlab server (ubuntu 18.04), compilation failed. I don’t understand why…
I have a monolith project, with gradle, JWT, postgresql.
Motivation for or Use Case
I can not push upgrade project on my server…
Reproduce the error
`$ ./gradlew test -PnodeInstall --no-daemon
Task :bootBuildInfo Task :compileJava Note: Hibernate JPA 2 Static-Metamodel Generator 5.2.17.Final Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
Task :nodeSetup UP-TO-DATE Task :npmSetup UP-TO-DATE Task :npmInstall FAILED
FAILURE: Build failed with an exception.
- What went wrong: Failed to capture fingerprint of output files for task ‘:npmInstall’ property ‘$1’ during up-to-date check.
Could not list contents of ‘/home/gitlab-runner/builds/23dc74ac/0/Appli/appli/node_modules/generator-jhipster/node_modules/js-yaml/node_modules/.bin/esparse’. Couldn’t follow symbolic link.
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
-
Get more help at https://help.gradle.org
BUILD FAILED in 3m 8s
5 actionable tasks: 3 executed, 2 up-to-date
Uploading artifacts…
Runtime platform arch=amd64 os=linux pid=37537 revision=8bb608ff version=11.7.0
WARNING: build/test-results/test/TEST-*.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 1`
JHipster configuration
“generator-jhipster”: { “promptValues”: { “packageName”: “fr.yoni.appli”, “nativeLanguage”: “fr” }, “jhipsterVersion”: “5.8.2”, “applicationType”: “monolith”, “baseName”: “yvidya”, “packageName”: “fr.yoni.appli”, “packageFolder”: “fr/yoni/appli”, “serverPort”: “8080”, “authenticationType”: “jwt”, “cacheProvider”: “ehcache”, “enableHibernateCache”: true, “websocket”: false, “databaseType”: “sql”, “devDatabaseType”: “postgresql”, “prodDatabaseType”: “postgresql”, “searchEngine”: false, “messageBroker”: false, “serviceDiscoveryType”: false, “buildTool”: “gradle”, “enableSwaggerCodegen”: false, “jwtSecretKey”: “MY KEY=”, “clientFramework”: “angularX”, “useSass”: false, “clientPackageManager”: “npm”, “testFrameworks”: [“gatling”, “cucumber”], “jhiPrefix”: “jhi”, “otherModules”: [], “enableTranslation”: true, “nativeLanguage”: “fr”, “languages”: [“fr”, “en”], “entitySuffix”: “”, “dtoSuffix”: “DTO” }
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (9 by maintainers)
You could try replace the
webpackBuildDevtask with the one from 5.7