node webdev would be easier if ... every vendor didnt invent their own protocols ... for example this morning ive already had issues with babel, glitch, zeit and webpack
many so called 'quick starters' simply hide functionality
glitch never call your package 'build' script so you have to include it inside your start script, they have renamed git/github 'push' to 'export' (and SOMETIMES push from local master into remote glitch), 'node run' doesnt work inside a package file (use run-script instead) AND babel & webpack dont work when installed globally ...
i could go on and on but here is a node express pug cloudinary example that i THINK works
try it for yourself and let me know if it works for you :)
you can start with either the glitch repo or the github repo
node express pug cloudinary
This is a concept application showing the use of the Network Information API, Service Workers and Cloudinary to adaptively display lower quality images if required based on the network speed.
Install the dependencies
Build
$ NODE_PATH=/usr/local/lib/node_modules npm run-script build
Start
$ NODE_PATH=/usr/local/lib/node_modules npm start
Top comments (0)