Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Symlinks for npm not established npm -> ../lib/node_modules/npm/bin/npm-cli.js #181

Closed
minibuta opened this issue Jan 3, 2017 · 2 comments
Milestone

Comments

@minibuta
Copy link

minibuta commented Jan 3, 2017

For some reason the local npm symlink in .gradle/nodejs/node-v6.4.0-XXX-x64/bin folder hasn't been established when running npm_install
Tried it under both linux and mac.

should be npm -> ../lib/node_modules/npm/bin/npm-cli.js
but instead its a zero sized file.

Here is a sample gradle file to reproduce.

version '1.0-SNAPSHOT'

buildscript {
    ext {
    }
    repositories {
        mavenCentral()
        jcenter()
        maven { url "https://plugins.gradle.org/m2/" }
    }
    dependencies {
        classpath "com.moowork.gradle:gradle-node-plugin:1.0.1"
    }
}

apply plugin: 'com.moowork.node'

node {
    version = "6.4.0"
    download = true
}

task nodeInstall(type: NodeTask) {
}
@nhoughto
Copy link

nhoughto commented Jan 4, 2017

Seems to be a duplicate of
#164

Should be fixed when this PR lands
#165

@srs srs added this to the 1.1.0 milestone Jan 13, 2017
@srs
Copy link
Owner

srs commented Jan 13, 2017

Fixed in master. Closing this issue.

@srs srs closed this as completed Jan 13, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants