Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framework Cache not Initializing #1480

Closed
pmcarow opened this issue Jun 25, 2024 · 0 comments
Closed

Framework Cache not Initializing #1480

pmcarow opened this issue Jun 25, 2024 · 0 comments

Comments

@pmcarow
Copy link

pmcarow commented Jun 25, 2024

Windows 10
node v22.2.0
npm v10.7.0

Running npm init @observablehq.

! Failed to initialize Framework cache. This may be a transient error loading data
| from external servers or downloading imported modules from jsDelivr; or it might
| be a network configuration issue such as a firewall blocking traffic. You can
| ignore this error for now and Framework will automatically try to download again
| on preview or build. If you continue to experience issues, please check your
| network configuration.

All the example files download, but when running npm run dev, the following error throws:

GET /
npm:@observablehq/plot → TypeError: fetch failed
at node:internal/deps/undici/undici:12502:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:https:///C:/Users/pcarow/Documents/obsv_sandbox/hello-framework/node_modules/@observablehq/framework/dist/npm.js:194:22 {
[cause]: Error: self-signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1676:34)
at TLSSocket.emit (node:events:520:28)
at TLSSocket._finishInit (node:_tls_wrap:1087:8)
at ssl.onhandshakedone (node:_tls_wrap:873:12) {
code: 'SELF_SIGNED_CERT_IN_CHAIN'
}
}
TypeError: fetch failed
at node:internal/deps/undici/undici:12502:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:https:///C:/Users/pcarow/Documents/obsv_sandbox/hello-framework/node_modules/@observablehq/framework/dist/npm.js:194:22 {
[cause]: Error: self-signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1676:34)
at TLSSocket.emit (node:events:520:28)
at TLSSocket._finishInit (node:_tls_wrap:1087:8)
at ssl.onhandshakedone (node:_tls_wrap:873:12) {
code: 'SELF_SIGNED_CERT_IN_CHAIN'
}

@mootari mootari transferred this issue from observablehq/feedback Jun 25, 2024
@observablehq observablehq locked and limited conversation to collaborators Jun 25, 2024
@mbostock mbostock converted this issue into discussion #1481 Jun 25, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant