im trying to setup gitlab-ci setup
below is my simple gitlab-ci.yml
image: maven:3.3.9-jdk-8
cache:
paths:
- .m2/repository
build:
stage: build
script:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- mvn compile -Dmaven.test.skip=true
but i get error in npm run build
[INFO] ERROR in ./~/graylog-web-plugin/plugin.js
[INFO] Module not found: Error: Can’t resolve ‘./lib/PluginManifest’ in ‘/builds/***/graylog2-server/graylog2-web-interface/node_modules/graylog-web-plugin’
what might be the problem ??
same commands works fine if i do it in any local/remote machines
jochen
(Jochen)
January 31, 2018, 1:17pm
2
You can take a look at the Travis CI configuration for Graylog for some inspiration:
graylogDev:
[INFO] ERROR in ./~/graylog-web-plugin/plugin.js
[INFO] Module not found: Error: Can’t resolve ‘./lib/PluginManifest’ in ‘/builds/***/graylog2-server/graylog2-web-interface/node_modules/graylog-web-plugin’
@jochen im following .travis.yml
as well but simple mvn compile
fails with above error
any idea why this error comes ??
Thanks
jochen
(Jochen)
February 1, 2018, 9:57am
4
Try running the Maven build as a different user, i. e. not root.
system
(system)
Closed
February 15, 2018, 9:57am
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.