How can I create a npm package from a kotlin js pr...
# javascript
p
How can I create a npm package from a kotlin js project with all generated dependencies included?
r
b
Note that due to known npm and yarn bugs you can only install published package from repo via npm. You can install via both, npm and yarn when installing from tarball.
p
Ok I tried but it didn`t work for me. When I execute the packJsNpmPublication task I get an publications folder with node_modules, package.json and so on. I published it and when I try to install it via npm I get the errors: syscall rename node_modules/ktor-ktor-client-json-jsLegacy and using external npm dependencies seems not possible