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 when I run npm start #1

Open
iamgodsondaniel5 opened this issue Jul 23, 2024 · 3 comments
Open

Error when I run npm start #1

iamgodsondaniel5 opened this issue Jul 23, 2024 · 3 comments

Comments

@iamgodsondaniel5
Copy link

Screenshot_20240723_152737_Termius.jpg

@mesamirh
Copy link

Upgrade your nodejs to v16 or higher.

Here is the steps

For Ubuntu

Installing nvm

sudo apt update

sudo apt install build-essential libssl-dev curl -y

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash

echo 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"' >> ~/.bashrc echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc

source ~/.bashrc

Upgrading Nodejs using nvm

nvm install 16 // you can install latest one using nvm install node and use nvm alias default node to use nodejs new version by deafult

nvm use 16

@iamgodsondaniel5
Copy link
Author

Still getting same error even after upgrading to nodejs to v16 with the guide you dropped

@mesamirh
Copy link

Create a new file named privateKeys.json. In the privateKeys.json store your wallet private key like this

[ "your_wallet_private_key_here" ]

Note: use "[ ]" this bracket not this { } or this ( ).

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