-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
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
import loadGoogleMapsApi from 'load-google-maps-api'
class {
onMount() {
// Google Maps API Stuff
}
}
lasso-page package-path="./browser.json"
<!DOCTYPE html>
html
head
title -- App
lasso-head
body
div.search-container.location-search
div.input-field
p.input-label -- Search
input#pac-input.controls type="text" placeholder="Search Box"
div#map
lasso-body
browser-refreshWhen 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.
Metadata
Metadata
Assignees
Labels
No labels