Error when building blank smooth-doc project
jwo opened this issue ยท 1 comments
jwo commented
๐ Bug Report
Error when building blank smooth-doc project
failed Building static HTML for pages - 6.550s
ERROR #95313
Building static HTML failed for path "/404/"
See our docs page for more info on this error: https://gatsby.dev/debug-html
17 | }
18 |
> 19 | return _construct.apply(null, arguments);
| ^
20 | }
21 |
22 | module.exports = _construct;
WebpackError: ReferenceError: Link is not defined
- construct.js:19
node_modules/@babel/runtime/helpers/construct.js:19:1
To Reproduce
npx gatsby-cli new website https://github.com/gregberge/smooth-doc-starter
cd website
yarn build
Expected behavior
It to build, but it does not
Link to repl or repo (highly encouraged)
N/A
Issues without a reproduction link are likely to stall.
Run npx envinfo --system --binaries --npmPackages smooth-doc,gatsby,react,react-dom --markdown --clipboard
Paste the results here:
*** Clipboard option removed - use clipboardy or clipboard-cli directly ***
## System:
- OS: macOS 10.15.7
- CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
- Memory: 715.03 MB / 16.00 GB
- Shell: 5.7.1 - /bin/zsh
## Binaries:
- Node: 12.9.1 - /usr/local/bin/node
- Yarn: 1.22.0 - ~/.yarn/bin/yarn
- npm: 6.13.4 - /usr/local/bin/npm
## npmPackages:
- gatsby: ^2.15.18 => 2.24.80
- react: ^16.10.1 => 16.14.0
- react-dom: ^16.10.1 => 16.14.0
- smooth-doc: ^5.0.4 => 5.1.1
jwo commented
I could see how the problem might be here โ I donโt see Link
defined on the 404 page
https://github.com/gregberge/smooth-doc/blame/d9a86dbd2c34518ed316944f4cc6423f2d805906/smooth-doc/pages/404.mdx#L27