Questions tagged [glitch-framework]

Glitch is an online programming environment where people can collaborate in a Google Docs fashion on code and share their applications with friends. Use this tag for questions related to programming using the Glitch framework.

Glitch is a creative community where people come and code on their own apps using the platform provided at https://glitch.com

It's a framework that runs on Node.js backed server and gives users the possibility to work on code and projects and giving others live access to the same code, so they can work on it simultaneously.

It also allows "sharing" the apps with others so others can try out the app and see what it does, how it works and suggest improvements or remix the entire app into an own version and publish it on glitch.

Taken from glitch.com/about:

Here's what else Glitch provides:

Instant deployment
Automatic hosting on a secure URL
Visual version control
CDN for assets
Secure storage of secrets and credentials
The ability to help each other with code problems in real-time
One-click licenses and codes of conduct
Full console access
GitHub import and export
Custom profiles and team pages
Embeds
Server-side debugger
Complete code portability - no proprietary protocols or libraries

60 questions
6
votes
3 answers

TensorflowJS TFJS error: The dtype of dict

Had tried to run https://glitch.com/~tar-understood-exoplanet and the model would fail to load and I wouldn't be able to use enable the webcam. Anyone had the same issue? While the program is running, in the console I get the following: tfjs:2…
4
votes
2 answers

Glitch.com with Python

How to create and use Python 3.7 on Glitch.com? I created a project. Default Python version is old. I used these files to run Python on Glitch: main.py import discord from discord.ext import commands bot =…
andrasxa
  • 43
  • 1
  • 4
3
votes
1 answer

TextDecoderStream() is not defined

I am learning from google codelab example Getting started with the Web Serial API The example is on glitch so I remixed the code and follow the instructions and copied and pasted these code let decoder = new TextDecoderStream(); inputDone =…
user14084021
  • 31
  • 1
  • 2
2
votes
1 answer

Create a Typewriter Effect with another Variable

I am looking to make a typewriter effect using a Variable. My Variable will select a random string listed to write. I want it to list the string the same way, but i want it to use the typewriter effect to do it! No matter where i look, i cannot…
2
votes
4 answers

How to call a server-side NodeJS function using client-side JavaScript

I'm working on creating a basic login system, and since the server-side uses NodeJS, but client-side doesn't. I have to make any calls that use NPM packages on the server side. The issue is I have no clue how to call a server-side NodeJS function…
Ethan Mitchell
  • 602
  • 5
  • 15
2
votes
1 answer

Why does Safari execute fetch() twice when I refresh?

I'm fiddling around with HTML/JS on Glitch. It's fun! I started playing with the fetch API to make calls so I could interact with a SQLite database, and I noticed something odd as I pecked away. I had logging in my methods, and they were being…
OwenP
  • 24,950
  • 13
  • 65
  • 102
2
votes
1 answer

How to break up HTML files into more manageable chunks - A-frame on Glitch

I am using a-frame in Glitch and I would like to break up my HTML docs into more manageable chunks. As one example, when I have a lot of assets in the tag it would be good to have that in a separate file, that's just one example though…
Nick
  • 914
  • 1
  • 10
  • 30
1
vote
2 answers

Why can't I get a response when I send a message to my Twilio WhatsApp Sandbox?

I want to be able to send a Whatsapp-Message from the number I haver registered as Verified Caller ID in Twilio to the number of my Twilio WhatsApp Sandbox, and getting as answer: "Hola, recibimos tu mensaje: [original message]" This is the Sandbox…
m b
  • 73
  • 6
1
vote
1 answer

Slack App API in Glitch / Bolt Not Getting Actions

I am new to building Slack apps, and I am stumped. I am using Glitch, Bolt, and Socket Mode. I was able to create a message block and successfully send it to users in my workspace. However, I can't seem to receive anything. I copied the exact code…
Kitty
  • 89
  • 10
1
vote
0 answers

req.session.user undefined in glitch but not in local

I try to use req.session.user in node.js to control the connection on my application. It's working on my local environnement but when I put my app on glitch the req.session.user is undefined. I try to use req.session.user in node.js to control the…
1
vote
1 answer

Maker Based AR.Js and A-Frame - Visual Problem, Clipping Mesh

enter image description here The White Mesh bellow Clips through the roof and the further you move the object, the worse it gets. Piotr Adam Milewski answered this question, from another person and gave this…
1
vote
1 answer

why does this code " npm install -g fauna-shell" give me this error

This is npm error in fauna. I used glitch: npm ERR! path /opt/nvm/versions/node/v12.0.0/lib/node_modules npm ERR! > code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: > EACCES: permission denied, access >…
1
vote
1 answer

How do I make the 'tasks' in my web app editable?

When I press 'update' nothing happens. As there are more than one instances of the 'tasks', which is circled enter image description here). By the way, I am using sequelize as my backend. The link to my code…
DemonicAoi
  • 27
  • 7
1
vote
1 answer

How to create a 404 page without using .htaccess

Do you need help making a 404 page? You can use this with express and with my answer on the bottom. (if you have a working package.json and you are using express, you can simply just skip this step.) Add this first to package.json: { "name": " …
Code...
  • 104
  • 1
  • 11
1
vote
1 answer

Why do I get a proxy error on a web server, but not on localhost?

I am trying to write a proxy to access an api and have some working code that runs without problems on my local machine. Now I've tried to host this code on glitch.me and heroku, but it results in an ECONNREFUSED error. This only happens on the…
1
2 3 4