dappuniversity / eth-todo-list

Blockchain Todo App Tutorial Powered by Ethereum Smart Contracts
556 stars 550 forks source link

`npm sudo run dev` not working #22

Open venturaEffect opened 2 years ago

venturaEffect commented 2 years ago

When trying to run npm sudo run dev I get this error message:

`> eth-todo-list@1.0.0 dev /home/zaesar/Escritorio/blockchain/eth-todo-list

lite-server

sh: 1: lite-server: not found

npm ERR! Linux 4.15.0-171-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "dev" npm ERR! node v8.10.0 npm ERR! npm v3.5.2 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! eth-todo-list@1.0.0 dev: lite-server npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the eth-todo-list@1.0.0 dev script 'lite-server'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the eth-todo-list package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! lite-server npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs eth-todo-list npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls eth-todo-list npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/zaesar/Escritorio/blockchain/eth-todo-list/npm-debug.log `

Can somebody explain me what is wrong? I'm following the tutorial and everything went fine until this point.

Any help will be appreciate it!