Yarn Start yields "Module Not Found" error
See original GitHub issue🐛 Bug Report
Steps to Reproduce
NodeJS 14.16
"dependencies": {
"@docusaurus/core": "2.0.0-beta.6",
"@docusaurus/preset-bootstrap": "2.0.0-beta.6",
"@docusaurus/theme-bootstrap": "^2.0.0-beta.6",
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0",
"clsx": "^1.1.1",
"file-loader": "^6.2.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"url-loader": "^4.1.1"
},
As specified here: https://docusaurus.io/docs/installation
Create a development website using this command:
$ npx @docusaurus/init@latest init my-website bootstrap
Expected behavior
Development site should appear
Actual behavior
$ yarn start
Yarn run v1.22.10
$ docusaurus start
Starting the development server...
Docusaurus website is running at "http://localhost:3000/".
✖ Client
Compiled with some errors in 2.97s
ℹ 「wds」: Project is running at http://localhost:3000/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /Users/someuser/DOCTEST/my-website
ℹ 「wds」: 404s will fallback to /index.html
Module not found: Error: Can't resolve '@theme/BlogArchivePage' in '/Users/someuser/DOCTEST/my-website/.docusaurus'
Module not found: Error: Can't resolve '@theme/BlogArchivePage' in '/Users/someuser/DOCTEST/my-website/.docusaurus'
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
`yarn start` command result in `Module not found` error
The issue seems from the Babel runtime being split into two, and breaking the Material UI. I downgraded the babel runtime, with npm...
Read more >module-not-found-error | Yarn - Package Manager
moduleNotFoundError(id) -> err Returns an error with the appropriate message and code.
Read more >4.0.0-next.77 sample app yields "Module not found: Your ...
4.0.0-next.77 sample app yields "Module not found: Your application tried to access react-refresh" when started with Yarn 2 #9446.
Read more >module-not-found - Next.js
A module not found error can occur for many different reasons: The module you're trying to import is not installed in your dependencies;...
Read more >Error: yarn start - error Command "start" not found-Reactjs
This issue happens when file "package.json" will gets deleted or changed. Please check your "package.json" file. deepak ranjan 21.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

No longer relevant, as the Bootstrap theme has been removed from the core packages.
Ideally, it’d be good to have docusaurus-community org where we could move this Bootstrap theme package. Maybe we should create it ourselves, not wait for long approval from FB?