Closed ivancheban closed 4 years ago
Hi @ivancheban,
I'm not 100% sure I can follow what you mean.The Readme says that you first need to npm install @cmfcmf/docusaurus-search-local
and then can run npm run build
. Are you suggesting to run npm install
in between these two commands? I don't think that's necessary.
The readme Installation section says that you need to npm install @cmfcmf/docusaurus-search-local
, that's all. The second step should be npm install
. Otherwise, if you execute `npm run build', you'll get an error.
To install docusaurus-search-local:
yarn add @cmfcmf/docusaurus-search-local
or npm install @cmfcmf/docusaurus-search-local
.npm install
.npm run build
.I'm sorry, I still can't reproduce your issue. I tried the following commands to setup a new installation and everything worked without an issue:
npx @docusaurus/init@next init my-website classic
yarn add @cmfcmf/docusaurus-search-local
cd my-website
vim docusuaurus.config.js # add plugin to config
yarn start
:unicorn: After you install this npm package, you need to
npm install
before building your project withnpm run build
.