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

Build fail index.js missing #101

Open
SoraKohaku opened this issue Jun 11, 2021 · 1 comment
Open

Build fail index.js missing #101

SoraKohaku opened this issue Jun 11, 2021 · 1 comment

Comments

@SoraKohaku
Copy link

Got error after running init.sj. nodejs 14.x
Error: Cannot find module '/home/ecustomer/up/node_modules/sha3/index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:308:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:521:18)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:872:27)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/home/ecustomer/up/node_modules/cryptocurrency-stratum-pool/lib/jobManager.js:3:12) at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32) {
code: 'MODULE_NOT_FOUND',
path: '/home/ecustomer/up/node_modules/sha3/package.json',
requestPath: 'sha3'
}

@le2Ks
Copy link

le2Ks commented Oct 20, 2022

Got error after running init.sj. nodejs 14.x Error: Cannot find module '/home/ecustomer/up/node_modules/sha3/index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (internal/modules/cjs/loader.js:308:19) at Function.Module._findPath (internal/modules/cjs/loader.js:521:18) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:872:27) at Function.Module._load (internal/modules/cjs/loader.js:730:27) at Module.require (internal/modules/cjs/loader.js:957:19) at require (internal/modules/cjs/helpers.js:88:18) at Object. (/home/ecustomer/up/node_modules/cryptocurrency-stratum-pool/lib/jobManager.js:3:12) at Module._compile (internal/modules/cjs/loader.js:1068:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10) at Module.load (internal/modules/cjs/loader.js:933:32) { code: 'MODULE_NOT_FOUND', path: '/home/ecustomer/up/node_modules/sha3/package.json', requestPath: 'sha3' }

Did you find a fix?

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