simple-dapp-tutorial icon indicating copy to clipboard operation
simple-dapp-tutorial copied to clipboard

Static Server Not Found

Open eanmikale opened this issue 4 years ago • 0 comments

I cannot get past the "npm run serve" Step, with the following error output:

Failed at the [email protected] serve script 'static-server . --port 9011'

sh: 1: static-server: not found

npm ERR! Linux 5.4.0-91-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "serve" 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! [email protected] serve: static-server . --port 9011 npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the [email protected] serve script 'static-server . --port 9011'. 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 metamask-simple-dapp package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! static-server . --port 9011 npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs metamask-simple-dapp npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls metamask-simple-dapp npm ERR! There is likely additional logging output above.

Any insight is greatly appreciated.

eanmikale avatar Dec 12 '21 18:12 eanmikale