Questions tagged [cyclic]

119 questions
0
votes
0 answers

GIF rendering when run locally but does not render in deployment on cyclic.sh

I want to send a static HTML error page when a user tries to reload the callback route of Spotify's OAuth flow. I use Nodejs for my backend and send the static HTML file using res.sendFile(). There is a GIF in the html which is visible when run…
0
votes
0 answers

setInterval not working on Cyclic.sh in a post request

I have deployed a test server on Cyclic, but when I make a request that should run a setInterval, nothing appears in the logs. Here is the code: const express = require("express"); const app = express(); const port = 3000; var bodyParser =…
Théo Neubeck
  • 31
  • 1
  • 1
  • 4
0
votes
0 answers

I need to reload the Rest API deployed using Render/Cyclic everytime I need to see my project working

I have completed my project which fetches data using JSON server , which works perfect on local server. I deployed the REST API using Render. Now when I open my app I see the data that should have been fetched but when I open the app link after 2…
0
votes
0 answers

I cannot write to my .json file hosted on Cyclic because of "errno: -30 code: EROFS"

This error occurs when I write to the .json file this is deployed on Cyclic via GitHub. I can only read data from the file but cannot write to it. Please help.my code to write to file payload received when writing to the filemy express and route…
0
votes
0 answers

No 'Access-Control-Allow-Origin' header is present on the requested resource. after live hosting nodejs application

trying to make a post request but i keep getting this error in my front end Access to XMLHttpRequest at 'https://sore-rose-chiton-tam.cyclic.app/api/blogs' from origin 'http://localhost:8080' has been blocked by CORS policy: No…
Daniel
  • 271
  • 6
0
votes
1 answer

503 error in hosting a node.js dynamic website on cyclic.sh

I am getting 503 error , while trying to host my website on cyclic.sh. There is connection to the mongodb atlas for database. When I run the webapp on my localhost, it works fine. But each time I deploy the web application on cyclic.sh I receive 503…
0
votes
0 answers

I have deployed a Mern app to cyclic. Deployed is successfull but is not connected to the backend. It is still taking the localhost requested url

In the requested URL it is http://localhost:5000/api I have tried to take the cyclic deployed URL and add it to the REACT environment variables.
Nishant
  • 1
  • 1
0
votes
1 answer

Error: EROFS: read-only file system, open "Filename" when uploading an image to Cyclic.sh

I am trying to first upload my image "formData" to the backend, then use the image path to upload it to ImageBB. var storage = multer.diskStorage({ destination: function (req, file, cb) { cb(null, './tmp') }, filename: function…
ZAAM Oussama
  • 68
  • 10
0
votes
1 answer

problem when storing image with cyclic.sh, back-end

this is my first deployement. I use cyclic.sh for the back-end ( node js, sql). Everything works except when i try to send an image. There is a folder 'images', in the back-end, where images are supposed to be saved. Images are also not added in my…
0
votes
1 answer

Is there a way to turn a DCG to a DAG without losing any connections?

Im currently working on a homework problem that asks us to write an algorithm that checks if a directed cyclic graph is semi connected or not. My current thought process is (if possible) turn DCG to DAG to Topological. I’m stuck on whether or not…
Moronis2234
  • 57
  • 1
  • 6
0
votes
0 answers

Where can I find the root to a GitHub repository? (Trying to build my site)

I'm trying to make my own website and deploy it using cyclic. To do so I need to find the path to the project root. I can't find the project root let alone barely what a project root is. I tried to use it without putting in the root and it didn't…
0
votes
1 answer

Image artefacts when using cyclic colormaps for periodic data

I am currently trying to visualize the phase of an electromagnetic field which is 2pi-periodic. To visualize that e.g. 1.9 pi is almost the same as 0, I am using a cyclic colormap (twilight). However, when I plot my images, there are always lines at…
0
votes
0 answers

Way to identify how many cycles is completed by a randomly oscillating parameter using python

I have a set of data, where I am measuring the displacement of a body and the corresponding force required. The is randomly oscillating. I need to measure when the displacement data is changing from negative to positive, this will count as a…
Swarnabha
  • 1
  • 3
0
votes
0 answers

Retrieve data from LFS database on hosting service?

I have a node project hosted on Cyclic. If your´re not familiar with Cyclic, you basically log in with GitHub, link the repo you want to host and Cyclic just publishes that repo. In this project I have an SQLite database with some light content, and…
0
votes
0 answers

EROFS: read-only file system, open 'Files/car.png'

Hello I Am Geting An Issue EROFS: read-only file system, open 'Files/car.png'. First I want to Ask Do Heroku and Cyclic Allow To Store Binary Data like Images,Videos on their Server If Yes Why Do I am Getting The Above Issue