Error building site: hugo server

I installed a hugo theme but I am not able to run the project by hugo server, I get this error:
Error: error building site: TOCSS: failed to transform “scss/main.scss” (text/x-scss): “C:\Users\User\Desktop\New folder (2)\\o11ycloud\themes\docsy-main\assets\scss\main.scss:1:1”: File to import not found or unreadable: …/vendor/bootstrap/scss/functions.

It looks like that you forgot to install the dependencies.

cd themes/docsy && npm install

It’s a little complex, it depends how you install the theme (Git Submodule or Hugo Module), I’d suggest asking questions on Issues · google/docsy · GitHub for getting more helpful answers.

The directory New folder (2) in your path contains a space, this might be the reason why your build fails (see this known issue). Can you rename that directory and report back whether this cures your problem?