node-gradle / gradle-node-plugin

Gradle plugin for integrating NodeJS in your build. :rocket:
Apache License 2.0
601 stars 117 forks source link

Is the plugin broken with gradle 8.0.2 #263

Closed LaFrimousse closed 1 year ago

LaFrimousse commented 1 year ago

Hi all. Since I have updated the gradle wrapper from 7.6 to 8.0.2, I cannot build my project anymore. Please find below the console output when I try to build. Does anyone have an idea what might be the source of this problem ?

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':web-app:nodeSetup'.
> Failed to query the value of task ':web-app:nodeSetup' property 'nodeArchiveFile'.
   > Could not resolve all files for configuration ':web-app:detachedConfiguration1'.
      > Could not resolve org.nodejs:node:18.12.1.
        Required by:
            project :web-app
         > Could not resolve org.nodejs:node:18.12.1.
            > Could not get resource 'https://nodejs.org/dist/v18.12.1/node-v18.12.1-darwin-x64.tar.gz'.
               > Could not HEAD 'https://nodejs.org/dist/v18.12.1/node-v18.12.1-darwin-x64.tar.gz'. Received status code 403 from server: Forbidden
nschonni commented 1 year ago

Likely from https://github.com/nodejs/build/issues/3223#issuecomment-1474235043

LaFrimousse commented 1 year ago

Likely from nodejs/build#3223 (comment)

Yes, it is working again, thanks a lot for your feedback