Closed MindFreeze closed 8 years ago
@MindFreeze Which version of napa
? Could you try npm cache clean && rm -rf node_modules && npm i napa@latest && npm i
?
Nope. Did not help. Versions I've tried: Napa: 2.0.0 , 2.0.1 Nodejs: 4.0.0 , 4.1.1, 4.1.2
I haven't tried another zipped package, so maybe it is related to https://github.com/openseadragon/openseadragon/releases/download/v2.0.0/openseadragon-bin-2.0.0.zip and the same one with .tar.gz extension.
P.S. I saw this same bug in a few other packages, so maybe it is a problem with one of napa's dependencies and updating them could fix it.
I confirm:
info download https://github.com/gwatts/jquery.sparkline/archive/v2.1.2.tar.gz into jquery.sparkline
/Users/loicmahieu/Repos/iGLOO/.../node_modules/onetime/index.js:15
throw new Error(fnName + ' can only be called once.');
^
Node: v4.2.1 Napa: v2.0.1
@MindFreeze, @LoicMahieu napa v2.0.2 should work for ya
Confirm. v2.0.2 fixes it.
:+1:
When I try to install a zip or tar.gz I get this error: