denoland / denoland/examples

Examples are NOT Working in Ubuntu

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
114
Forks
37
PR merge metrics
No merged PRs in 30d

Description

FYI

### 1
```bash
Task dev deno run -A --unstable --node-modules-dir npm:vite
failed to load config from /home/juan/dev/denoland-examples/with-react/vite.config.mjs
error when starting dev server:
TypeError: Invalid package specifier 'npm:react-dom/client@^18.2'. Did you mean to write 'npm:react-dom@^18.2/client'?
```
Easily soved by changing npm:react-dom/client@^18.2' to 'npm:react-dom@^18.2/client

### 2

But this one in unsolvable in ubuntu (but it works in w11)
```bash
Task dev deno run -A --unstable --node-modules-dir npm:vite
error when starting dev server:
Error: getaddrinfo ENOTFOUND localhost
at __node_internal_captureLargerStackTrace (https://deno.land/std@0.165.0/node/internal/errors.ts:113:11)
at __node_internal_ (https://deno.land/std@0.165.0/node/internal/errors.ts:335:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (https://deno.land/std@0.165.0/node/internal/dns/promises.ts:67:17)
at https://deno.land/std@0.165.0/node/internal_binding/cares_wrap.ts:111:9
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.