stencil-community / stencil-app-starter

Minimal starter project for building web components with Stencil
https://github.com/ionic-team/stencil
MIT License
320 stars 102 forks source link

New install renders blank screen #68

Closed ghaddon closed 5 years ago

ghaddon commented 5 years ago

Following stencil-app starter installation instructions, I get a blank screen rendered.

Step 1. npm init stencil app

Step 2. npm start

System Versions:

Windows 10 Chrome: 72.0.3626.121 (Official Build) (64-bit) "@stencil/core": "0.18.1", "@stencil/router": "^0.3.3"

Terminal Window Output:

C:\Users\ghadd\stencilProjects\stencilapp>npm run start

stencilapp@0.0.1 start C:\Users\ghadd\stencilProjects\stencilapp stencil build --dev --watch --serve

[44:43.3] @stencil/core v0.18.1 [44:43.4] build, app, dev mode, started ... [44:43.4] transpile started ... [44:43.5] transpile finished in 41 ms [44:43.6] module map started ... [44:43.6] generate styles started ... [44:43.7] compile global style start ... [44:43.7] compile global style finish in 3 ms [44:43.7] generate styles finished in 42 ms [44:45.0] module map finished in 1.39 s [44:45.0] generate bundles started ... [44:45.0] generate bundles finished in 4 ms [44:45.0] generate app files started ... [44:45.1] generate app files finished in 36 ms

[ WARN ] Bundling Warning Generated an empty bundle

[44:46.4] dev server: http://localhost:3333/ [44:46.4] build finished, watching for changes... in 2.99 s

Chrome Browser Output: app.core.js:1510 SyntaxError: Identifier 'h' has already been declared "http://localhost:3333/build/app/app-root.entry.js" then.err @ app.core.js:1510

up4 commented 5 years ago

This has been reported 22 days ago. Bumping.

Also reported here : stencil-router#92.

arsenx commented 5 years ago

Same issue with stencil@one

leocanela commented 5 years ago

So... I read the blog post announcing Stencil One and was ready to try it out, but I get the exact same error :/

apiel commented 5 years ago

Same here :-/

arsenx commented 5 years ago

Alright guys this repo had been updated:

I suggest closing this issue.

ghaddon commented 5 years ago

Tested and everything works. Thanks.