DEV Community

Discussion on: Modern WebApps - Infrastructure: Vue, Parcel & Workbox

Collapse
 
johnson_cor profile image
Corey Johnson • Edited

Great post! Can't wait to try it out

Edit: I tried running your sample but get an error..

sh: start: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! greekdev-template-vue-spa@1.0.0 dev: `start parcel src/web/index.html --no-hmr --out-dir ./dist/web`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the greekdev-template-vue-spa@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Collapse
 
sarmis profile image
Thomas Sarmis • Edited

Oups. I will push a fix tomorrow, but you can fix it locally by removing the start command from the dev script in package.json

Correct is

"scripts": {
    "dev": "parcel src/web/index.html --no-hmr --out-dir ./dist/web"
},
Collapse
 
johnson_cor profile image
Corey Johnson

Thanks!

Thread Thread
 
sarmis profile image
Thomas Sarmis

I upload the fix and editited my previous reply... thank you for your patience