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 while running npm start for local installation #43

Open
Yesh123456 opened this issue Mar 27, 2022 · 0 comments
Open

Error while running npm start for local installation #43

Yesh123456 opened this issue Mar 27, 2022 · 0 comments

Comments

@Yesh123456
Copy link

Hello,
I am trying to setup eos-icons-landing page but it require eos-icons-api.

I have followed Running on your machine steps (I am using Linux):

ajyj@ajyj:~$ sudo systemctl status mongodservice
● mongod.service - MongoDB Database Server
   Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2022-03-27 18:46:02 IST; 59s ago
     Docs: https://docs.mongodb.org/manual
 Main PID: 6346 (mongod)
   CGroup: /system.slice/mongod.service
           └─6346 /usr/bin/mongod --config /etc/mongod.conf

Mar 27 10:46:02 ajyj systemd[1]: Started MongoDB Database Server.

Here above command doesnt work so sudo npm install -g grunt-cli works for me.

  • Start the server using npm start

I have done stackoverflow but i am not familiar to remote redis host also this may gives error for mongodb if redis works.

It gives me following error

ajyj@ajyj:~/sem8/eos-icons-api-main$ sudo npm start
[sudo] password for ajyj: 

> [email protected] start /home/ajyj/sem8/eos-icons-api-main
> NODE_PATH=./src ts-node --transpile-only ./src/server.ts

Server started successfully on port:3131
Error: getaddrinfo ENOTFOUND redis-11218.c233.eu-west-1-1.ec2.cloud.redislabs.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:71:26)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `NODE_PATH=./src ts-node --transpile-only ./src/server.ts`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ajyj/.npm/_logs/2022-03-27T14_13_34_564Z-debug.log
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

1 participant