XRPLF / xrpl.js

A JavaScript/TypeScript API for interacting with the XRP Ledger in Node.js and the browser
https://xrpl.org/
1.21k stars 512 forks source link

`npm link xrpl` doesn't work properly #2704

Open mvadari opened 3 months ago

mvadari commented 3 months ago

Reproduction:

I believe this is because the prepare script is running - that line was added here: https://github.com/XRPLF/xrpl.js/pull/2530

ckeshava commented 3 months ago

will it help if you install the copyfiles package? npm install copyfiles -g ?

mvadari commented 3 months ago

will it help if you install the copyfiles package? npm install copyfiles -g ?

Yes, but I shouldn't need to install a separate package to be able to run npm link xrpl.

I don't think just adding copyfiles to the normal, non-dev dependencies is the answer either, but I don't understand npm link well enough to understand what's happening here.