Issue with snapcraft nodejs plugin (and the local npm cache)

VanCutsem, Geoffroy geoffroy.vancutsem at
Tue Jan 31 12:56:43 UTC 2017

I’m no expert at all on nodejs and npm but doing an `npm update` feels more appropriate than deleting the entire cache, or am I missing something?

A bug has been filed:


From: snapcraft-bounces at [mailto:snapcraft-bounces at] On Behalf Of Stephen Stewart
Sent: Tuesday, January 31, 2017 12:30 PM
To: Snapcraft <snapcraft at>
Subject: Re: Issue with snapcraft nodejs plugin (and the local npm cache)


Another quick fix: I believe the nodejs plugin uses the global npm cache, which will be ~/.npm[1], so you could try deleting that folder.

Consider having the nodejs plugin support per project .npmrc so users can set cache options themselves rather than set via args in the plugin.


Hope this helps,

On Tue, Jan 31, 2017 at 12:05 AM Leo Arias <leo.arias at<mailto:leo.arias at>> wrote:
Hello Geoffroy,

thanks for all the information. Can you please report a bug?

pura vida.

Snapcraft mailing list
Snapcraft at<mailto:Snapcraft at>
Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Snapcraft mailing list