gradle-node-plugin icon indicating copy to clipboard operation
gradle-node-plugin copied to clipboard

Gradle plugin for integrating NodeJS in your build. :rocket:

Results 96 gradle-node-plugin issues
Sort by recently updated
recently updated
newest added
trafficstars

The `NpmSetupTask` does not obey to the custom registry defined in `.npmrc` file of the project. An `~/.npmrc` does work, but it would be nice if the custom registry defined...

I stumbled on a weird issue with the following steps: 1. Fresh git checkout, i.e. no `node_modules` directory present 2. Run task `npmInstall` with the `fastNpmInstall` option enabled 3. Run...

We have a monorepo with multiple workspaces. The workspaces also reflect the gradle (sub)project structure. Our project structure looks like this: ``` build.gradle package.json package-lock.json node_modules/ scripts/ \_ build.gradle |_...

> Original question > So i have a multi module project with two subprojects that have Node dependencies. What is the best way to have Node only download once. >...

enhancement

I get these exceptions when calling `gradle pnpmInstall` from my project root (with several sub projects configured for pnpm): ``` > Task :internal:closed:webapps:meistercharts.com:pnpmInstall FAILED Caching disabled for task ':internal:closed:webapps:meistercharts.com:pnpmInstall' because:...

question

I want to build the project's script using grunt. Is that possible in gradle? I'm looking for a related guide, but I can't make progress because I don't understand it...

documentation

Short: stopping gradle execution on Windows from command line by pressing ```Ctrl-C``` doesn't lead to stopping ```node.exe``` subprocess on Windows. **Steps to reproduce:** 1. Create project with [webpack](https://webpack.js.org/guides/getting-started/) 2. Configure...

external dependency

This is a short task list for changing the plugin to use a Build Service to provide the Node.js/npm/yarn download/setup instead of the current task setup. - [x] Download Node.js...

build service / worker api

Related the [document](https://github.com/node-gradle/gradle-node-plugin/blob/master/docs/usage.md#configuring-the-plugin), plugin have to find npm on global scope, but it is not. > Caused by: org.gradle.process.internal.ExecException: A problem occurred starting process 'command 'npm'' at org.gradle.process.internal.DefaultExecHandle.execExceptionFor(DefaultExecHandle.java:241) ... org.gradle.internal.operations.CurrentBuildOperationPreservingRunnable.run(CurrentBuildOperationPreservingRunnable.java:42)...

In https://github.com/node-gradle/gradle-node-plugin/blob/main/src/main/kotlin/com/github/gradle/node/task/NodeTask.kt#L90-L99 exec is not defined as an open method, which means that tasks that extend this cannot add functionality during the execution. In our specific case, we are using...

enhancement