Question:
I posted about this previously and the problem seemed to have resolved itself, but it keeps happening. Now I can’t fork my own repl either - it seems to load infinitely.
Is there a problem with the replit backend? I am getting errors about out of date certificates and the error below. My changes are not reflected and the save cloud icon seems to be animated infinitely, but when I refresh the page my changes are definitely saved to my scripts.
This issue cropped up and made debugging incredibly frustrating.
This error also shows up.
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Repl link:
https://replit.com/@GeorgeSchafer/webUI#scripts/script.js
Screenshots, links, or other helpful context:
script.js from replit editor
import Survey from './survey.js'
import enumTest from './tests/Enum.tst.js'
const elements = {
wrapper: document.querySelector('#wrapper'),
header1: document.createElement('h1'),
headerText: document.createElement('span'),
survey: new Survey()
}
elements.header1.innerText = 'Mood Tracker';
elements.headerText.innerText = 'This survey uses a four point scale, with 0 as "the floor", the lowest you can feel.';
elements.wrapper.appendChild(elements.header1);
elements.wrapper.appendChild(elements.headerText);
elements.wrapper.appendChild(elements.survey.section);
const test = new enumTest();
console.log(test);
script.js from the webpage
import Survey from './survey.js'
import enumTest from './tests/Enum.tst.js'
const elements = {
wrapper: document.querySelector('#wrapper'),
header1: document.createElement('h1'),
headerText: document.createElement('span'),
survey: new Survey()
}
elements.header1.innerText = 'Mood Tracker';
elements.headerText.innerText = 'This survey uses a four point scale, with 0 as "the floor", the lowest you can feel.';
elements.wrapper.appendChild(elements.header1);
elements.wrapper.appendChild(elements.headerText);
elements.wrapper.appendChild(elements.survey.section);