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
Just wanted to mention that i seem to be having some sort of dependency issue building my docusarus blog that maybe seems like might be giscus related? (not sure how the depenency management here really works tbh but though better to mention it).
Just wanted to mention in case is anything that might break for others using docusarus and giscus etc.
Error i see is (netlify link below should work)
5:33:32 PM: Module not found: Error: Can't resolve 'react/jsx-runtime' in '/opt/build/repo/node_modules/@giscus/react/dist'
Did you mean 'jsx-runtime.js'?
5:33:32 PM: BREAKING CHANGE: The request 'react/jsx-runtime' failed to resolve only because it was resolved as fully specified
5:33:32 PM: (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
5:33:32 PM: The extension in the request is mandatory for it to be fully specified.
5:33:32 PM: Add the extension to the request.
5:33:32 PM: [ERROR] Client bundle compiled with errors therefore further build is impossible.
5:33:32 PM:
5:33:32 PM: ────────────────────────────────────────────────────────────────
5:33:32 PM: "build.command" failed
5:33:32 PM: ────────────────────────────────────────────────────────────────
5:33:32 PM:
5:33:32 PM: Error message
5:33:33 PM: Creating deploy upload records
5:33:32 PM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
5:33:32 PM:
5:33:32 PM: Error location
5:33:32 PM: In Build command from Netlify app:
5:33:33 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
5:33:32 PM: npm run build
5:33:32 PM:
5:33:32 PM: Resolved config
5:33:32 PM: build:
5:33:32 PM: command: npm run build
5:33:32 PM: commandOrigin: ui
5:33:32 PM: environment:
5:33:32 PM: - REVIEW_ID
5:33:32 PM: publish: /opt/build/repo/build
5:33:32 PM: publishOrigin: ui
Vercel also encountered a similar problem, you can try to modify the tsconfig.json configuration.
{// This file is not used in compilation. It is here just for a nice editor experience."extends": "@tsconfig/docusaurus/tsconfig.json","compilerOptions": {"jsx": "react-jsx"}}
Hello,
Just wanted to mention that i seem to be having some sort of dependency issue building my docusarus blog that maybe seems like might be giscus related? (not sure how the depenency management here really works tbh but though better to mention it).
Just wanted to mention in case is anything that might break for others using docusarus and giscus etc.
Error i see is (netlify link below should work)
netdata/blog#141
https://app.netlify.com/sites/netdata-blog/deploys/63767045535f680008be2fff
p.s. thanks for giscus its so cool!!!
The text was updated successfully, but these errors were encountered: