'Why unable to deploy my website on github pages?

I have a React website which I am trying to deploy using GIthub pages. While following the steps to deploy my application Im getting the following error:

Failed to compile.

static/css/main.9a1ecd2c.css from Css Minimizer plugin
Error: Unexpected '/'. Escaping special characters with \ may help.

Steps I followed:

1)Creating a repo.

2)Linking local and remote repo

3)adding URL to my package.json file.

4)installing gh-pages

5)adding redeploy and deploy script as :

 "predeploy":"npm run build",
    "deploy":"gh-pages -d build",

6)running npm run deploy



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source