Sheik
Angular SSR Deno
I'm trying to run Angular ssr with Deno, but I get the following error.
deno run -A dist/deno-angular/server/server.mjs
error: Relative import path "fs/promises" not prefixed with / or ./ or ../
If you want to use a built-in Node module, add a "node:" prefix (ex. "node:fs/promises").
at file:///home/sheik/Documents/deno-angular/dist/deno-angular/server/server.mjs:105:1275
Do you know if there is a way to fix this?
21 replies
Running Angular SSR on Deno Deploy
I have an Angular application with SSR, and when I run it locally with Deno, it runs without any problem, but I don't know how to host my application in Deno Deploy.
To run Angular with SSR with Deno, I would have to do
deno task serve:ssr:<name>
How could I run that in Deno Deploy using Github Actions?
7 replies
Github Actions file_server with headers
Hello, I have my portfolio deployed in deno deploy (developed in Angular and I use Github Actions for the bundle and deploy), and I was interested in adding the header to my deploy.yml of my github actions
Cache-Control: max-age=336000
locally I can use
deno run -A https://deno.land/std@0.217.0/http/file_server.ts -H "Cache-Control: max-age=336000"
but in a github action I can't use
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "ricardorobles"
entrypoint: "https://deno.land/std@0.217.0/http/file_server.ts -H 'Cache-Control: max-age=2592000'"
Does anyone know how I can add that header?
3 replies
Have the Deno deploy templates disappeared?
Good morning, I can't find https://dash.deno.com/new from the account dashboard panel. Are the templates going to be removed?
2 replies