You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check out code, run npm install, then npm start. Note browser opens with component rendering correctly (ie. should see map)
Kill npm start.
Run npm run build
Install web server like http-server (ie. npm install -g http-server), start in base directory, load up the index.html in browser (eg. http://127.0.0.1:8080/index.html). Should see same thing as when running npm start, but instead encounter two errors shown above.
Other information:
Please let me know if I can provide any more information to help debug this.
I'm submitting a:
[X ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
When trying to load built versions of this component (ie. after running
npm run build
), I get two errors in the browser. First:Then:
Expected behavior:
I expect component to load correctly without errors. It DOES load correctly in dev mode (ie. when you run
npm start
).Steps to reproduce:
I created a sample repo to reproduce the error:
https://github.com/EarthlingInteractive/syncarto-map-error
npm install
, thennpm start
. Note browser opens with component rendering correctly (ie. should see map)npm run build
npm install -g http-server
), start in base directory, load up theindex.html
in browser (eg. http://127.0.0.1:8080/index.html). Should see same thing as when runningnpm start
, but instead encounter two errors shown above.Other information:
Please let me know if I can provide any more information to help debug this.
Possibly related to: #1516
Though I think I have the latest versions of any stencil/ionic libraries installed already.
The text was updated successfully, but these errors were encountered: