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

Cannot find module '@steemit/rpc-auth' #411

Open
DoctorLai opened this issue Oct 9, 2018 · 1 comment
Open

Cannot find module '@steemit/rpc-auth' #411

DoctorLai opened this issue Oct 9, 2018 · 1 comment

Comments

@DoctorLai
Copy link
Contributor

DoctorLai commented Oct 9, 2018

Expected behavior

npm test should pass all the tests

Actual behavior

@steemit/steem-js@0.7.2 test /var/www/steem-js
eslint --quiet src test; mocha -t 40000 --require babel-polyfill --require babel-register

module.js:550
throw err;
^

Error: Cannot find module '@steemit/rpc-auth'
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. (/var/www/steem-js/src/api/index.js:18:1)
at Module._compile (module.js:653:30)
at loader (/root/.nvm/versions/node/v8.12.0/lib/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/root/.nvm/versions/node/v8.12.0/lib/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/var/www/steem-js/src/index.js:1:13)
at Module._compile (module.js:653:30)
at loader (/root/.nvm/versions/node/v8.12.0/lib/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/root/.nvm/versions/node/v8.12.0/lib/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/var/www/steem-js/test/api.test.js:5:1)
at Module._compile (module.js:653:30)
at loader (/root/.nvm/versions/node/v8.12.0/lib/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/root/.nvm/versions/node/v8.12.0/lib/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at /root/.nvm/versions/node/v8.12.0/lib/node_modules/mocha/lib/mocha.js:250:27
at Array.forEach ()
at Mocha.loadFiles (/root/.nvm/versions/node/v8.12.0/lib/node_modules/mocha/lib/mocha.js:247:14)
at Mocha.run (/root/.nvm/versions/node/v8.12.0/lib/node_modules/mocha/lib/mocha.js:576:10)
at Object. (/root/.nvm/versions/node/v8.12.0/lib/node_modules/mocha/bin/_mocha:637:18)
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)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
npm ERR! Test failed. See above for more details.

How to reproduce

npm install steemit/rpc-auth doesn't solve the issue.

Environment information

Ubuntu 18.04.1 LTS
nodejs v8.12.0

@relativityboy
Copy link
Contributor

relativityboy commented Oct 11, 2018

@DoctorLai - The "How to reproduce" only covers what you did to try to debug, not how to reproduce.

Please outline exactly how to reproduce.

I'm inclined to think you cloned, but didn't npm i after going into the steem-js dir on your local.

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