When running command: npm create qwik@latest
And selecting option of installing dependencies, get an error. To solve this, i goto the app directory (qwik-app) and then run: npm install
When running command: npm init builder.io@latest and selecting Yes to integrate builder, i get this error
◇ Would you like to integrate Builder.io with this app?
│ Yes, install dependencies and update vite.config.ts
│
◇ Updated vite.config.ts
│
◇ Installing dependencies
│
◇ Updates for Builder.io completed
│
◆ Next Steps
│
● npm run dev
A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)
npm ERR! code 1
npm ERR! path (pathname here)
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-builder
npm ERR! A complete log of this run can be found in: C:\Users\Kush\AppData\Local\npm-cache_logs\2023-11-11T09_01_47_508Z-debug-0.log
I get this error after running server (npm run dev):
(Pathname)> npm run dev
dev
vite --mode ssr
Expect significant performance loss in development.
Disabling the browser’s cache results in waterfall requests.
VITE v4.5.0 ready in 3152 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h to show help
A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)
A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented) (x2)
A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented) (x3)
[Builder.io]: Error fetching data. {
url: URL {
href: ‘https://cdn.builder.io/api/v3/content/page?apiKey=YOUR_API_KEY&limit=1&noTraverse=false&includeRefs=true&userAttributes={“urlPath”%3A"%2F"}’,
origin: ‘https://cdn.builder.io’,
protocol: ‘https:’,
username: ‘’,
password: ‘’,
host: ‘cdn.builder.io’,
hostname: ‘cdn.builder.io’,
port: ‘’,
pathname: ‘/api/v3/content/page’,
search: ‘?apiKey=YOUR_API_KEY&limit=1&noTraverse=false&includeRefs=true&userAttributes=%7B%22urlPath%22%3A%22%2F%22%7D’,
searchParams: URLSearchParams {
‘apiKey’ => ‘YOUR_API_KEY’,
‘limit’ => ‘1’,
‘noTraverse’ => ‘false’,
‘includeRefs’ => ‘true’,
‘userAttributes’ => ‘{“urlPath”:“/”}’ },
hash: ‘’
},
content: { status: 404, message: ‘Model not found’ },
options: {
model: ‘page’,
apiKey: ‘YOUR_API_KEY’,
options: {},
userAttributes: { urlPath: ‘/’ },
limit: 1
}
}
ErrorResponse: Page not found
at error ((Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:24940:14)
at Object.useBuilderContent_routeLoader_fmvo2g0iIYA ((Pathname)/qwik-app/src/routes/[…index]/index.tsx:34:49)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.qrl ((Pathname)/qwik-app/node_modules/@builder.io/qwik/core.mjs:8202:24)
at async measure ((Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:24716:12)
at async Promise.all (index 0)
at async (Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:24457:7
at async Object.next ((Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:24837:9)
at async runNext ((Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:25082:5)
at async (Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:25632:26 {
status: 404
}
[Builder.io]: Error fetching data. {
url: URL {
href: ‘https://cdn.builder.io/api/v3/content/page?apiKey=YOUR_API_KEY&limit=1&noTraverse=false&includeRefs=true&userAttributes={“urlPath”%3A"%2F"}’,
origin: ‘https://cdn.builder.io’,
protocol: ‘https:’,
username: ‘’,
password: ‘’,
host: ‘cdn.builder.io’,
hostname: ‘cdn.builder.io’,
port: ‘’,
pathname: ‘/api/v3/content/page’,
search: ‘?apiKey=YOUR_API_KEY&limit=1&noTraverse=false&includeRefs=true&userAttributes=%7B%22urlPath%22%3A%22%2F%22%7D’,
searchParams: URLSearchParams {
‘apiKey’ => ‘YOUR_API_KEY’,
‘limit’ => ‘1’,
‘noTraverse’ => ‘false’,
‘includeRefs’ => ‘true’,
‘userAttributes’ => ‘{“urlPath”:“/”}’ },
hash: ‘’
},
content: { status: 404, message: ‘Model not found’ },
options: {
model: ‘page’,
apiKey: ‘YOUR_API_KEY’,
options: {},
userAttributes: { urlPath: ‘/’ },
limit: 1
}
}
ErrorResponse: Page not found
at error ((Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:24940:14)
at Object.useBuilderContent_routeLoader_fmvo2g0iIYA (D:/Kush/VsCode/Personal/React/qwik-app/src/routes/[…index]/index.tsx:34:49)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.qrl (D:/Kush/VsCode/Personal/React/qwik-app/node_modules/@builder.io/qwik/core.mjs:8202:24)
at async measure ((Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:24716:12)
at async Promise.all (index 0)
at async (Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:24457:7
at async Object.next ((Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:24837:9)
at async runNext ((Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:25082:5)
at async (Pathname)\qwik-app\node_modules@builder.io\qwik-city\vite\index.cjs:25632:26 {
status: 404
}
EEven though I’ve added my API key, i get similar error