ruaan
ruaan
DDeno
Created by ruaan on 1/31/2024 in #help
Fetch request from own server
try
{
const response = await fetch('.../ping',
{
method: "GET",
headers: {
"Content-Type": "application/json",
},
});
if (!response.ok)
throw new Error('Fetch failed');

console.log(response.ok);
console.log(response.status)
}
catch (error)
{
console.error('Error:', error);
}
try
{
const response = await fetch('.../ping',
{
method: "GET",
headers: {
"Content-Type": "application/json",
},
});
if (!response.ok)
throw new Error('Fetch failed');

console.log(response.ok);
console.log(response.status)
}
catch (error)
{
console.error('Error:', error);
}
why when i make a get request to my own deno deploy server it fails?
19 replies
DDeno
Created by ruaan on 1/6/2024 in #help
Deno deploy: "Error The deployment failed: ISOLATE_INTERNAL_FAILURE"
what's this error?
Cloning repository (100%)
Project linked successfully. Building first deployment:
Downloaded
file:///src/config.js
Packaging complete
Error The deployment failed: ISOLATE_INTERNAL_FAILURE
Cloning repository (100%)
Project linked successfully. Building first deployment:
Downloaded
file:///src/config.js
Packaging complete
Error The deployment failed: ISOLATE_INTERNAL_FAILURE
i'm trying to deploy this MongoDB project: https://github.com/Pamel-a/mongo
23 replies
DDeno
Created by ruaan on 10/22/2023 in #help
GitHub CLI from deno
Is it possible/how to use the GitHub cli (gh) from JavaScript on deno? Using the Github cli I'm able to generate download_urls for files on a private repo without exposing my github token to the application My idea is to call it from javascript side and return the url from an api, but i've no idea if its possible to run such tool from deno server
3 replies
DDeno
Created by ruaan on 9/27/2022 in #help
newbie help on deploying first project to deno
I asked on deno github and was told to ask on discord: https://github.com/denoland/deno/discussions/16039 I wonder if someone could help me on this, im trying to deploy a mongodb nodejs project
8 replies