devsoap / ds-gradle-vaadin

Gradle plugin for building Vaadin Flow 10/11/12/13/14/15 apps
https://devsoap.com/gradle-vaadin-flow-plugin
Other
36 stars 13 forks source link

Fail to setup npm #299

Closed vinz486 closed 4 years ago

vinz486 commented 4 years ago

Desktop (please complete the following information):

Describe the bug On a fresh project, running the "npmInstall" task give errors

To Reproduce Steps to reproduce the behavior:

  1. Setup project with Spring 2.2.0.RELEASE and Vaadin 14.0.5
  2. Run Gradle task npmInstall'
  3. See error: `17:11:40: Executing task 'npmInstall'...

Configure project : Using Gradle Vaadin Flow Plugin 1.2.0 Allow Vaadin to gather usage statistics by setting vaadin.submitStatistics=true (hide this message by setting it to false)

Task :nodeSetup UP-TO-DATE Task :npmSetup UP-TO-DATE Task :npmInstall FAILED

FAILURE: Build failed with an exception.

Expected behavior node and npm installed locally

Additional context This is a fresh project on a fresh workstation.

johndevs commented 4 years ago

Hi,

Could you try the latest beta release of 1.3? The latest version is 1.3.beta5

vinz486 commented 4 years ago

Done. Same errors but now I have also:

"The project will be compiled for Vaadin 13 (Flow 1) compatibility mode. Running in NPM mode is only available for PRO subscribers."

And I'm not a pro subscriber.