Open anandkatti opened 2 years ago
Getting following error when trying to npm ci using front-end-maven plugin. (version 1.13)
Do you want to request a feature or report a bug? Its a Bug.
<execution> <id>npm config2</id> <goals> <goal>npm</goal> </goals> <phase>initialize</phase> <configuration> <arguments>config set http-proxy http://dsfds:3128</arguments> <npmRegistryURL>${npm.registry.package.url}</npmRegistryURL> </configuration> </execution> <execution> <id>npm config3</id> <goals> <goal>npm</goal> </goals> <phase>initialize</phase> <configuration> <arguments>config set https-proxy http://adfsdfsd:3128</arguments> <npmRegistryURL>${npm.registry.package.url}</npmRegistryURL> </configuration> </execution> <execution> <id>npm config4</id> <goals> <goal>npm</goal> </goals> <phase>initialize</phase> <configuration> <arguments>config set proxy http://sdfsdf:3128</arguments> <npmRegistryURL>${npm.registry.package.url}</npmRegistryURL> </configuration> </execution> <execution> <id>npm config5</id> <goals> <goal>npm</goal> </goals> <phase>initialize</phase> <configuration> <arguments>set strict-ssl false</arguments> <npmRegistryURL>${npm.registry.package.url}</npmRegistryURL> </configuration> </execution> <execution> <id>npm config6</id> <goals> <goal>npm</goal> </goals> <phase>initialize</phase> <configuration> <arguments>config set strict-ssl false</arguments> <npmRegistryURL>${npm.registry.package.url}</npmRegistryURL> </configuration> </execution> <execution> <id>npm config7</id> <goals> <goal>npm</goal> </goals> <phase>initialize</phase> <configuration> <arguments>config set HTTP_PROXY http://sdfsdfsdf:3128</arguments> <npmRegistryURL>${npm.registry.package.url}</npmRegistryURL> </configuration> </execution> <execution> <id>npm ci</id> <goals> <goal>npm</goal> </goals> <phase>initialize</phase> <configuration> <arguments>ci</arguments> <npmRegistryURL>${npm.registry.package.url}</npmRegistryURL> </configuration> </execution> </executions>
Getting following error -
2022-02-16 01:00:18 gobuilds.Compile : [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project content-core: Failed to run task: 'npm ci --registry= /npm' failed. (error code 1) -> [Help 1] 2022-02-16 01:00:18 gobuilds.Compile : org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project content-core: Failed to run task 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
2022-02-16 01:00:17 gobuilds.Compile : [INFO] > fsevents@1.2.13 install /build/mts/release/sb-53673311/vcd-ui/content/core/node_modules/cypress-cucumber-preprocessor/node_modules/fsevents 2022-02-16 01:00:17 gobuilds.Compile : [INFO] > node install.js 2022-02-16 01:00:17 gobuilds.Compile : [INFO] 2022-02-16 01:00:17 gobuilds.Compile : [INFO] 2022-02-16 01:00:17 gobuilds.Compile : [INFO] Skipping 'fsevents' build as platform linux is not supported 2022-02-16 01:00:17 gobuilds.Compile : [INFO] 2022-02-16 01:00:17 gobuilds.Compile : [INFO] > cypress@8.5.0 postinstall /build/mts/release/sb-53673311/vcd-ui/content/core/node_modules/cypress 2022-02-16 01:00:17 gobuilds.Compile : [INFO] > node index.js --exec install 2022-02-16 01:00:17 gobuilds.Compile : [INFO] 2022-02-16 01:00:17 gobuilds.Compile : [INFO] Installing Cypress (version: 8.5.0) 2022-02-16 01:00:17 gobuilds.Compile : [INFO] 2022-02-16 01:00:17 gobuilds.Compile : [INFO] [STARTED] Task without title. 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] The Cypress App could not be downloaded. 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] Otherwise, please check network connectivity and try again: 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] ---------- 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] URL: https://download.cypress.io/desktop/8.5.0?platform=linux&arch=x64 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] Error: self signed certificate in certificate chain 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED]
Ideally it should consider the proxy settings.
Please mention your frontend-maven-plugin and operating system version. Plugin Version - 1.3 OS - linux
Getting following error when trying to npm ci using front-end-maven plugin. (version 1.13)
Do you want to request a feature or report a bug? Its a Bug.
Getting following error -
2022-02-16 01:00:18 gobuilds.Compile : [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project content-core: Failed to run task: 'npm ci --registry= /npm' failed. (error code 1) -> [Help 1] 2022-02-16 01:00:18 gobuilds.Compile : org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project content-core: Failed to run task 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) 2022-02-16 01:00:18 gobuilds.Compile : at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
2022-02-16 01:00:17 gobuilds.Compile : [INFO] > fsevents@1.2.13 install /build/mts/release/sb-53673311/vcd-ui/content/core/node_modules/cypress-cucumber-preprocessor/node_modules/fsevents 2022-02-16 01:00:17 gobuilds.Compile : [INFO] > node install.js 2022-02-16 01:00:17 gobuilds.Compile : [INFO] 2022-02-16 01:00:17 gobuilds.Compile : [INFO] 2022-02-16 01:00:17 gobuilds.Compile : [INFO] Skipping 'fsevents' build as platform linux is not supported 2022-02-16 01:00:17 gobuilds.Compile : [INFO] 2022-02-16 01:00:17 gobuilds.Compile : [INFO] > cypress@8.5.0 postinstall /build/mts/release/sb-53673311/vcd-ui/content/core/node_modules/cypress 2022-02-16 01:00:17 gobuilds.Compile : [INFO] > node index.js --exec install 2022-02-16 01:00:17 gobuilds.Compile : [INFO] 2022-02-16 01:00:17 gobuilds.Compile : [INFO] Installing Cypress (version: 8.5.0) 2022-02-16 01:00:17 gobuilds.Compile : [INFO] 2022-02-16 01:00:17 gobuilds.Compile : [INFO] [STARTED] Task without title. 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] The Cypress App could not be downloaded. 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] Otherwise, please check network connectivity and try again: 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] ---------- 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] URL: https://download.cypress.io/desktop/8.5.0?platform=linux&arch=x64 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED] Error: self signed certificate in certificate chain 2022-02-16 01:00:17 gobuilds.Compile : [ERROR] [FAILED]
Ideally it should consider the proxy settings.
Please mention your frontend-maven-plugin and operating system version. Plugin Version - 1.3 OS - linux