edbrsk / d3-stencil

Charts built with D3 and Stencil. Framework-agnostic, simple.
https://d3-stencil.dev
MIT License
67 stars 15 forks source link

manifest problem #127

Open goulu opened 4 years ago

goulu commented 4 years ago

on fresh install, with Stencil 1.9.2, I do "yarn" (ok, no error), then "yarn start" seems to run ok :

$ stencil build --dev --watch --serve
[33:26.8]  @stencil/core v1.9.2
[33:27.1]  build, d3-stencil, dev mode, started ...
[33:27.2]  transpile started ...
[33:28.8]  transpile finished in 1.55 s
[33:28.8]  type checking started ...
[33:28.8]  copy started ...
[33:28.8]  generate styles started ...
[33:28.8]  bundling components started ...
[33:29.1]  copy finished (2 files) in 279 ms
[33:29.4]  generate styles finished in 603 ms
[33:30.4]  bundling components finished in 1.57 s
[33:30.5]  build finished, watching for changes... in 3.39 s

[33:30.5]  dev server: http://localhost:3333/

what I get on the browser is the directory of my project (how?)

image

when I browse http://localhost:3333/src I get an empty web page, but I can see the index.html source code :

image

But I also have errors in the console :

GET http://localhost:3333/build/d3-stencil.esm.js net::ERR_ABORTED 404 (Not Found)
manifest.json:1 GET http://localhost:3333/manifest.json 404 (Not Found)
manifest.json:1 Manifest: Line: 1, column: 5, Unexpected data after root element.

Seems to be https://github.com/ionic-team/stencil/issues/1272 , but I can't use Stencil newer than 1.9.2 because of #126 ...