I'm running php -S localhost:8000 with this index.php file:
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/main.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/main.min.css">
<script>
document.addEventListener('DOMContentLoaded',function() {
var calendarE1 = document.getElementById('calendar')
var calendar = new FullCalendar.Calendar(calendarE1,{
initialView: 'dayGridMonth'
})
calendar.render()
});
</script>
<title>calendar</title>
</head>
<body>
<div id='calendar'></div>
</body>
<html>
in the console I get the following repeating endlessly. How do I fix this?
inject.js:294running with options: {"name":"SYMUR","sample":1,"tracking_adapter":{},"variants":
{"cws":{"weight":50},"trustpilot":{"weight":50}},"user_id":null}
inject.js:294 trustpilot active
inject.js:294 activated variant : trustpilot
(index):1 Unchecked runtime.lastError: The message port closed before a response was received.
(index):1 Unchecked runtime.lastError: The message port closed before a response was received.
inject.js:294 running with options: {"name":"SYMUR","sample":1,"tracking_adapter":{},"variants":
{"cws":{"weight":50},"trustpilot":{"weight":50}},"user_id":null}
inject.js:294 trustpilot active
inject.js:294 activated variant : trustpilot
(index):1 Unchecked runtime.lastError: The message port closed before a response was received.
inject.js:294 running with options: {"name":"SYMUR","sample":1,"tracking_adapter":{},"variants":
{"cws":{"weight":50},"trustpilot":{"weight":50}},"user_id":null}
inject.js:294 trustpilot active
inject.js:294
question from:
https://stackoverflow.com/questions/65926534/fullcalendar-on-localhost-console-errors 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…