When trying to deploy a freshly built website on GitHub pages, I'm getting an error when the deploy script tried to copy server.bundle.js file to destination folder.
yes
Windows 10
The deploy command should run to completion and deploy the assets to GitHub Pages.
The following error occured (code which threw) :
<project-path>\node_modules\@docusaurus\core\lib\commands\deploy.js:106
throw new Error(`Error: Copying build assets failed with error '${error}'`);
^
Error: Error: Copying build assets failed with error 'Error: ENOENT: no such file or directory, stat '<project-path>\build\server.bundle.js''
When I commented out the code in build command script which does the removal of server.bundle.js, the deploy command runs to completion
2.0.0-alpha.40
@pfongkye sorry for the long wait, could you please reproduce this bug on the latest version (2.0.0-alpha.49)?
hello @lex111
no problem. I'll take a look and will keep you updated.
Hello @lex111
I've tested with version 2.0.0-alpha.50 and it deployed correctly.
Great, thanks for the confirmation!