Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

kaya-cli runtime error #92

Open
vkomenda opened this issue Sep 17, 2019 · 0 comments
Open

kaya-cli runtime error #92

vkomenda opened this issue Sep 17, 2019 · 0 comments

Comments

@vkomenda
Copy link
Contributor

There is a dependency problem in the global installation of kaya-cli when following the method recommended in README.md. The installation itself succeeds without any errors:

$ npm i -g kaya-cli
/home/vk/.config/versions/node/v8.16.1/bin/kaya-cli -> /home/vk/.config/versions/node/v8.16.1/lib/node_modules/kaya-cli/src/server.js
+ kaya-cli@0.2.9
updated 1 package in 8.747s

But the CLI does not run:

$ kaya-cli -h
module.js:550
    throw err;
    ^

Error: Cannot find module 'tslib'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/vk/.config/versions/node/v8.16.1/lib/node_modules/kaya-cli/node_modules/@zilliqa-js/util/dist/index.js:3:15)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)

Please let me know how to fix that.

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

No branches or pull requests

1 participant