You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a very basic docs site, containing the default contents only. It is published at https://borlander.gitbook.io/borlander-docs, and I am trying to launch the local frontend against this site, following, exactly, the steps from Readme.md.
I am on Windows
have cloned the gitbook main branch, at commit f9a075e
using node 20.6.1
$> nvm use 20.6
Now using node v20.6.1 (64-bit)
bun install
$>bun install
bun install v1.1.30 (7996d06b)
warn: GET https://npm.fontawesome.com/@awesome.me/kit-a463935e93/-/1.0.8/kit-a463935e93-1.0.8.tgz - 401
Checked 1721 installs across 1654 packages (no changes) [444.00ms]
bun dev
... all looks good
open http://localhost:3000/borlander.gitbook.io/borlander-docs/basics/markdown in Chrome
=>
Page shows Internal Server Error
The bun console for gitbook#dev node shows, among a lot of traces, the following error:
│trace cloudflareDO.get(api.getSite("eiNZhKOsBTlOrNF2raBT","site_VPQBq")) 2.612900000065565ms {}
│trace cloudflareDO.get(api.getSiteSpaces(21f175f9b562a4c26a8706c241f1c6275e23c589)) 2.767099999822676ms {}
│trace cloudflareDO.get(api.getSiteCustomizationById("eiNZhKOsBTlOrNF2raBT","site_VPQBq")) 2.930200000293553ms {}
│ ⨯ Internal error: TypeError: Cannot read properties of undefined (reading 'default')
│ at resolveClientReference (../../node_modules/next/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.develop │ent.js:87:55)
│ at resolveModule (../../node_modules/next/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js:1 │67:35)
│ at processFullRow (../../node_modules/next/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js: │740:25)
│ at processBinaryChunk (../../node_modules/next/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development │js:1858:21)
│ at progress (../../node_modules/next/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js:1926:1 │)
│digest: "1732920403"
│[TypeError: Cannot read properties of undefined (reading 'default')]
│ ⨯ [TypeError: Cannot read properties of undefined (reading 'default')]
│ ⨯ [TypeError: Cannot read properties of null (reading 'default')]
│ GET /borlander.gitbook.io/borlander-docs/basics/markdown 500 in 6051ms
│ ✓ Compiled in 1231ms (1337 modules)
│trace cloudflareDO.set(api.getSiteIntegrationScripts("eiNZhKOsBTlOrNF2raBT","site_VPQBq")) 0.08810000028461218ms {}
│trace cache.setCacheEntry(api.getSiteIntegrationScripts("eiNZhKOsBTlOrNF2raBT","site_VPQBq")) 0.5449999999254942ms {}
Screenshot:
The text was updated successfully, but these errors were encountered:
viatra2
changed the title
Cannot launch locally: Internal Server Error for the site with only default contents
Cannot launch locally on Windows: Internal Server Error for the site with only default contents
Oct 13, 2024
Disclaimer: I am very new to gitbook.
I have created a very basic docs site, containing the default contents only. It is published at https://borlander.gitbook.io/borlander-docs, and I am trying to launch the local frontend against this site, following, exactly, the steps from
Readme.md
.bun dev
... all looks good
open
http://localhost:3000/borlander.gitbook.io/borlander-docs/basics/markdown
in Chrome=>
Internal Server Error
gitbook#dev
node shows, among a lot of traces, the following error:Screenshot:
The text was updated successfully, but these errors were encountered: