Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error while using ilp-plugin-xrp-escrow #11

Open
manali103 opened this issue Aug 1, 2017 · 3 comments
Open

Getting error while using ilp-plugin-xrp-escrow #11

manali103 opened this issue Aug 1, 2017 · 3 comments

Comments

@manali103
Copy link

Error: Cannot find module 'ilp-plugin-xrp-escrow'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/homel/DemoILP/Ripple/ilp-plugin-xrp-escrow-master/ilp-plugin-xrp-escrow.js:1:87)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)

@michielbdejong
Copy link
Contributor

Since you seem to be running your script from inside the ilp-plugin-xrp-escrow-master folder, you should use require('.') where you would usually use require('ilp-plugin-xrp-escrow'). Alternatively, run npm install ilp-plugin-xrp-escrow from your terminal, which will download the module from npmjs.com and install it under ./node_modules.

@manali103
Copy link
Author

npm install ilp-plugin-xrp-escrow

output:npm ERR! code E404
npm ERR! 404 Not Found: ilp-plugin-xrp-escrow@latest

@michielbdejong
Copy link
Contributor

Ah right, sorry. That's because of #6. Just use require('.') then in your test script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants