xrpl.js
xrpl.js copied to clipboard
`npm link xrpl` doesn't work properly
Reproduction:
- Run
npm i -g xrpl
- Then try running a script with
const xrpl = require("xrpl")
- It fails with a
MODULE_NOT_FOUND
error - Try then running
npm link xrpl
to link the global module in locally - You get the following error:
npm error code 127
npm error path /usr/local/lib/node_modules/xrpl
npm error command failed
npm error command sh -c copyfiles ../../README.md xrpl/README.md
npm error sh: 1: copyfiles: not found
I believe this is because the prepare
script is running - that line was added here: https://github.com/XRPLF/xrpl.js/pull/2530