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

Error on startup #25

Open
swcurran opened this issue Sep 23, 2024 · 1 comment
Open

Error on startup #25

swcurran opened this issue Sep 23, 2024 · 1 comment
Assignees

Comments

@swcurran
Copy link
Member

I ran the ./manage steps of build and start, and on start got the following error. The network did start, but trying the different curl examples in API.md gave errors (possibly from curl -- not sure the IP address is right).

WARN[0000] /home/swcur/repos/indyread/docker-compose.es.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 5/5
 ✔ Network esnet                      Created                                                                                                                                                                                                                                                                  0.1s 
 ✔ Volume "indyread_indyread-es"      Created                                                                                                                                                                                                                                                                  0.0s 
 ✔ Container indyread-elasticsearch   Started                                                                                                                                                                                                                                                                  0.4s 
 ✔ Container indyread-indyread-api-1  Started                                                                                                                                                                                                                                                                  0.4s 
 ✔ Container indyread-kibana          Started                                                                                                                                                                                                                                                                  0.7s 
Waiting for elasticsearch...
node:internal/modules/cjs/loader:1050
  throw err;
  ^

Error: Cannot find module 'indyscan-storage'
Require stack:
- /d2/repos/indyread/start_test/import_esindex.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1047:15)
    at Module._load (node:internal/modules/cjs/loader:893:27)
    at Module.require (node:internal/modules/cjs/loader:1113:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/d2/repos/indyread/start_test/import_esindex.js:1:25)
    at Module._compile (node:internal/modules/cjs/loader:1226:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1280:10)
    at Module.load (node:internal/modules/cjs/loader:1089:32)
    at Module._load (node:internal/modules/cjs/loader:930:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/d2/repos/indyread/start_test/import_esindex.js' ]
}

Node.js v18.14.0
Want to see the scrolling container logs? Run "./manage logs"
@rxbryan rxbryan self-assigned this Sep 24, 2024
@rxbryan
Copy link
Contributor

rxbryan commented Sep 24, 2024

Hi @swcurran you need to run npm install in the start_test folder

cd start_test
npm install

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