Open flip111 opened 3 years ago
When i replace js dependencies from
<script src="https://cdn.jsdelivr.net/npm/vega@5"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-lite@4"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed"></script>
to
<script src="https://cdn.jsdelivr.net/npm/vega@5.19.1/build/vega.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-lite@4.17.0/build/vega-lite.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed@6.15.1/build/vega-embed.js"></script>
i get a different error (scary !!)
TypeError: "fieldDefToSortBy is undefined"
lite 4.17.0/build/vega-lite.js:19106
lite 4.17.0/build/vega-lite.js:18939
lite 4.17.0/build/vega-lite.js:18870
lite 4.17.0/build/vega-lite.js:18745
lite 4.17.0/build/vega-lite.js:18735
lite 4.17.0/build/vega-lite.js:20361
lite 4.17.0/build/vega-lite.js:20655
lite 4.17.0/build/vega-lite.js:20639
lite 4.17.0/build/vega-lite.js:25305
embed 6.15.1/build/vega-embed.js:4922
embed 6.15.1/build/vega-embed.js:5108
embed 6.15.1/build/vega-embed.js:215
embed 6.15.1/build/vega-embed.js:196
embed 6.15.1/build/vega-embed.js:189
embed 6.15.1/build/vega-embed.js:185
embed 6.15.1/build/vega-embed.js:5073
embed 6.15.1/build/vega-embed.js:5020
embed 6.15.1/build/vega-embed.js:215
embed 6.15.1/build/vega-embed.js:196
embed 6.15.1/build/vega-embed.js:186
Found the bug in my program position X [PDatum $ Number 7]
to position X2 [PDatum $ Number 7]
. I will leave issue open see if some type safety could be added.
I have this code, made with
stack new myproject rio
https://github.com/commercialhaskell/stack-templates/blob/master/rio.hsfilesWhen i open the resulting html page and look in the webdeveloper tools i see
Did something escape from the haskell type safety here?
Maybe would be nice to have a debug html with not minimized javascript file or something.