Open NBuhinicek opened 5 years ago
➜ token_sale npm run dev
dapp-token-sale@1.0.0 dev my-path lite-server
sh: lite-server: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! dapp-token-sale@1.0.0 dev: lite-server
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the dapp-token-sale@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in: npm ERR! /Users/infinum/.npm/_logs/2018-11-23T21_57_19_577Z-debug.log
was getting this at start but solved it with
`rm -rf node_modules
rm package-lock.json
npm cache clear --force
npm install`
Is myb this 'solution' wrong and because of it I get the VM exception when buying?
You must solve the dependencies running npm install
or npm install lite-server
@gwmccubbin Hey, did everything as on the video but when I start a server with npm run dev, and try to buy some tokens and submit the eth on metamask, I keep getting the "VM exception while processing transaction revert". Any toughts?
Sir @NBuhinicek have you solved this error
@gwmccubbin Hey, did everything as on the video but when I start a server with npm run dev, and try to buy some tokens and submit the eth on metamask, I keep getting the "VM exception while processing transaction revert". Any toughts?