coreui / coreui-free-react-admin-template

Open source admin template based on Bootstrap 5 and React.js
https://coreui.io/product/free-react-admin-template/
MIT License
4.54k stars 2.26k forks source link

npm run build failed #393

Closed netiapaul closed 1 year ago

netiapaul commented 1 year ago

CoreUI Free React Admin Template v4

$ npm run build

XXXXXXXXX@4.1.1 build react-scripts build

Creating an optimized production build... Failed to compile.

./src/scss/style.scss ParserError: Syntax Error at line: 1, column 39

HyunjiEllenPak commented 1 year ago

Hi, I had the similar issue.

After finishing running "npm run build" successfully on this app, empty web screen is shown and the error message "uncaught syntaxError: Unexpected token '<' " is shown. How can I solve it?

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

jamaluddin7 commented 1 year ago

Hi, I had the similar issue.

After finishing running "npm run build" successfully on this app, empty web screen is shown and the error message "uncaught syntaxError: Unexpected token '<' " is shown. How can I solve it? Hi, Change your "homepage": ".", to "homepage": "/", in package.json

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions