192.168.1.76
192.168.1.76
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
[ERR_MODULE_NOT_FOUND]
so i can test my app tonight
16 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
[ERR_MODULE_NOT_FOUND]
is there a monkeypatch fix i can apply to the imports/urls to make it point to the right module version?
16 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
[ERR_MODULE_NOT_FOUND]
it just writes the version prefix in reverse
16 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
[ERR_MODULE_NOT_FOUND]
oh wait
16 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
[ERR_MODULE_NOT_FOUND]
Awesome. Do you want me to provide you with any more information?
16 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
Compiling typescript frontend and serving it with Deno
as a js runtime it's already sick
10 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
Compiling typescript frontend and serving it with Deno
that's awesome. i think once we have the ability to configure how the frontend files should be bundled with the deno configuration, it'll truly be competing with the backend options that already exist
10 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
[ERR_MODULE_NOT_FOUND]
Does this have something to do with express and Deno looking for different versions of http or something?
16 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
[ERR_MODULE_NOT_FOUND]
My imports inside server.ts
import type { Socket } from 'npm:socket.io';
import express from 'npm:express';
import { createServer } from 'npm:http';
import { Server } from 'npm:socket.io';
import { createClient, RedisClientType, RedisDefaultModules } from 'npm:redis';
import YAML from 'npm:yaml';
import { User } from "./class/User.ts";
import type { Socket } from 'npm:socket.io';
import express from 'npm:express';
import { createServer } from 'npm:http';
import { Server } from 'npm:socket.io';
import { createClient, RedisClientType, RedisDefaultModules } from 'npm:redis';
import YAML from 'npm:yaml';
import { User } from "./class/User.ts";
16 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
Compiling typescript frontend and serving it with Deno
but I'm sad because this kind of defeats the point of using Deno
10 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
Compiling typescript frontend and serving it with Deno
I ended up creating a separate project for the frontend only in a different vscode workspace that uses node.js+vite+typescript
10 replies
DDeno
Created by 192.168.1.76 on 9/28/2024 in #help
Compiling typescript frontend and serving it with Deno
Yeah, I'm already doing that -- the problem is compiling a simple frontend (index.html, main.ts, style.css) into this public directory using deno, but from a bit of searching, it looks like the DOM api isn't available, so you'd have to use something like React instead
10 replies