vaadin / full-stack-starter

Public repository for Full Stack Starter issues
https://vaadin.com/start
1 stars 0 forks source link

Start bakery app in production mode #23

Open einue opened 5 years ago

einue commented 5 years ago

When I run mvn spring-boot:run -Dvaadin.productionMode -X, i get the following error: [INFO] yarn install v1.6.0 [INFO] [1/4] Resolving packages... [INFO] [2/4] Fetching packages... [INFO] [3/4] Linking dependencies... [ERROR] warning "polymer-build > polymer-project-config@3.13.0" has incorrect peer dependency "polymer-analyzer@^3.0.0-pre.17 || ^3.0.0". [INFO] [4/4] Building fresh packages... [ERROR] error D:\Users*\VaadinWorkspace\start-vaadin-12\target\node_modules\iltorb: Command failed. [INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. [ERROR] Exit code: 1 [ERROR] Command: node ./scripts/install.js || node-gyp rebuild [ERROR] Arguments: [ERROR] Directory: D:\Users*\VaadinWorkspace\start-vaadin-12\target\node_modules\iltorb [ERROR] Output: [ERROR] info looking for cached prebuild @ D:\Users****\AppData\Roaming\npm-cache_prebuilds\f18eac-iltorb-v2.4.0-node-v57-win32-x64.tar.gz [ERROR] http request GET https://github.com/MayhemYDG/iltorb/releases/download/v2.4.0/iltorb-v2.4.0-node-v57-win32-x64.tar.gz [ERROR] WARN install connect ETIMEDOUT 192.30.253.112:443 [ERROR] Der Befehl "node-gyp" ist entweder falsch geschrieben oder [ERROR] konnte nicht gefunden werden. [INFO] ---------------------------------------

[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:12.0.0:package-for-production (default) on project start-vaadin-12: Execution default of goal com.vaadin:vaadin-maven- plugin:12.0.0:package-for-production failed: Failed to install required frontend dependencies: 'yarn install --https-proxy=http://**.***.*.***:8080 --proxy=http://**.***.*.***:8080 ' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.vaadin:vaadin-maven-plugin:12.0.0:package-for-production (default) on project start-vaadin-12: Ex ecution default of goal com.vaadin:vaadin-maven-plugin:12.0.0:package-for-production failed: Failed to install required frontend dependencies

It looks like the error comes frum the gulp-brotli package which has the iltorb package as dependency. Have anybody an idea how to fix this?