kanso publish doesn't work (node 0.10.17)
schmittlauch opened this issue · comments
When I run kanso publish in a package directory I get the following error:
extracting duality-linkedin-dust-0.0.3.tar.gz
Error: TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at /usr/lib/node_modules/kanso/lib/repository.js:220:29
at Object.oncomplete (fs.js:107:15)
Failed
Maybe this is because of the new node version I use?
http://nodejs.org/api/path.html#path_path_join_path1_path2
Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown.
So in which file this has to be fixed? I don't know node
Looks like it's at /usr/lib/node_modules/kanso/lib/repository.js:220:29
I can get to this in a bit, just don't want to upgrade my node right now, I'm at v10.3 and it's works fine.
OK, would be great if this will be fixed in near or middle future. I can wait as my packages are not ready to publish yet
Also if you want to test you can install a repository locally and test using that.