Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Error following symlink #107

Open
wburgers opened this issue Sep 11, 2018 · 2 comments
Open

Error following symlink #107

wburgers opened this issue Sep 11, 2018 · 2 comments

Comments

@wburgers
Copy link

wburgers commented Sep 11, 2018

I'm getting an error during the npm-install task on jenkins.
It does not happen on my laptop.
Is it related to the creation of symlinks by kotlin-frontend-plugin or does it have to do with the sshpk package?

> Task :project-name:npm-install
 This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/****/.npm/_logs/2018-09-11T13_02_07_770Z-debug.log

> Task :project-name:npm-install FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Failed to capture snapshot of output files for task ':project-name:npm-install' property 'nodeModulesDir' during up-to-date check.
> Could not list contents of '/home/****/workspace/branch-name-FACF4TVG7P6H2BWZ6GEOOHEHVOLEGAOYJLNDTNB4TPXH5I4QBIZA/project-name/build/node_modules/.bin/sshpk-conv'. Couldn't follow symbolic link.

It looks a little bit like this:
srs/gradle-node-plugin#202

@wem
Copy link
Contributor

wem commented Sep 13, 2018

There is a PR for that ... as quick fix you can fork this plugin and apply the changes: #97

Then you are able to set binLinks = false within the npm extension (closure)

@wburgers
Copy link
Author

Thanks Michel,

I must have overlooked your PR.
Too bad the team hasn't merged it yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants