marko-js-archive / marko-starter

MIT License
30 stars 8 forks source link

error messages for `npm run build` do not include route which error'd #27

Open ramses0 opened 6 years ago

ramses0 commented 6 years ago

[marko-starter marko-starter-demo] Error building project. Error: Parameter "username" is required. at replace (/home/rames/Git/abc/play-estn/server/node_modules/reverse-path/index.js:39:19) at String.replace () at reversePath (/home/rames/Git/abc/play-estn/server/node_modules/reverse-path/index.js:24:17) at buildRoute (/home/rames/Git/abc/play-estn/server/node_modules/marko-starter/src/util/buildAllRoutes.js:30:21) at Promise.all.routes.map (/home/rames/Git/abc/play-estn/server/node_modules/marko-starter/src/util/buildAllRoutes.js:16:14) at Array.map () at module.exports (/home/rames/Git/abc/play-estn/server/node_modules/marko-starter/src/util/buildAllRoutes.js:14:36) at _runProjectTasks.then.then (/home/rames/Git/abc/play-estn/server/node_modules/marko-starter/index.js:151:24) at npm ERR! code ELIFECYCLE

austinkelleher commented 6 years ago

@ramses0 thanks for the report. Is that error coming from your project? (Error: Parameter "username" is required.) It's not coming from marko-starter. If so, how are you throwing the error?