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
Hello, I'm using Marko.js, Lasso.js and npm library load-google-maps-api. I'm doing a test app with just one page.
index.marko
importloadGoogleMapsApifrom'load-google-maps-api'class {onMount() {// Google Maps API Stuff }}lasso-pagepackage-path="./browser.json"<!DOCTYPE html>htmlheadtitle -- Applasso-headbodydiv.search-container.location-searchdiv.input-fieldp.input-label -- Searchinput#pac-input.controlstype="text"placeholder="Search Box"div#maplasso-bodybrowser-refresh
When I access this page using broswer-refresh server.js everything works fine. I can see the map on screen, search for places and add markers. But when I run node server.js it doesn't work anymore, I can't see the map and a simple log in the onMount() method is not shown in the console. Instead, I get this error message: Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': Nodes of type '#text' may not be inserted inside nodes of type '#document'.
Thank you.
The text was updated successfully, but these errors were encountered:
Hello, I'm using Marko.js, Lasso.js and npm library load-google-maps-api. I'm doing a test app with just one page.
index.marko
When I access this page using
broswer-refresh server.js
everything works fine. I can see the map on screen, search for places and add markers. But when I runnode server.js
it doesn't work anymore, I can't see the map and a simple log in theonMount()
method is not shown in the console. Instead, I get this error message:Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': Nodes of type '#text' may not be inserted inside nodes of type '#document'.
Thank you.
The text was updated successfully, but these errors were encountered: