DEV Community

Discussion on: Stencil The web components compiler... Part 2!

Collapse
 
kiho profile image
Kiho Chang

Looks good but somehow your code throws compiler error with latest version of Stencil.

Collapse
 
tunaxor profile image
Angel Daniel Munoz Gonzalez

Thanks would you be kind to tell me where? I started the project with the stencil cli and is published already

Collapse
 
kiho profile image
Kiho Chang • Edited

I don't have stencil cli I did npm run build and got this error.
You can check my fork here github.com/Kiho/tun-stencil-sample
[ ERROR ] TypeError: Parameter "url" must be a string, not undefined at Url.parse (url.js:103:11) at Object.urlParse
as parse at getWritePathFromUrl
(D:\Work\stencil\tun-stencil-sample\node_modules\@stencil\core\dist\compiler\index.js:7708:38) at
D:\Work\stencil\tun-stencil-sample\node_modules\@stencil\core\dist\compiler\index.js:13945:26 at
Generator.next () at
D:\Work\stencil\tun-stencil-sample\node_modules\@stencil\core\dist\compiler\index.js:13815:71 at new Promise
() at __awaiter$E
(D:\Work\stencil\tun-stencil-sample\node_modules\@stencil\core\dist\compiler\index.js:13811:12) at
writePrerenderDest
(D:\Work\stencil\tun-stencil-sample\node_modules\@stencil\core\dist\compiler\index.js:13943:12) at
D:\Work\stencil\tun-stencil-sample\node_modules\@stencil\core\dist\compiler\index.js:13929:19

Thread Thread
 
tunaxor profile image
Angel Daniel Munoz Gonzalez

Let me take a look at it and I'll get back to you

Thread Thread
 
tunaxor profile image
Angel Daniel Munoz Gonzalez

There is an issue on GitHub about this, I'll try to keep you posted
github.com/ionic-team/stencil/issu...