creativetimofficial / ct-paper-dashboard-pro-react

17 stars 6 forks source link

[Bug] Cannot run "production" build #12

Closed apperside closed 3 years ago

apperside commented 3 years ago

Version

1.2.0

Reproduction link

Just downloaded and executed the steps in "Steps to reproduce"

Operating System

Mac os

Device

macbook pro

Browser & Version

firefox & chrome

Steps to reproduce

Hello, I just downloaded the bundle, ran npm run build and then npm run start and everithing is ok. Then I run npm run build, the build succeds and then when I run serve -s build I get a blank page with strange errors in the browsers:

This is chrome https://pasteboard.co/JFa01g3.png This is firefox https://pasteboard.co/JFa0qnl.png

I am using npm 6.14.6 and node 10.22.0, and I didn't edit a single line of code

What is expected?

The app runs

What is actually happening?

Blank page with errors in the console


Solution

Additional comments

einazare commented 3 years ago

Hello there, @apperside ,

Thank you for your interest in working with our products. Please go inside package.json file, and delete the homepage prop. We'll add this in our live docs on our next update of the product, so please leave the issue open.

Best, Manu

apperside commented 3 years ago

It worked, thank you!

From: Nazare Emanuel-Ioan notifications@github.com Reply to: creativetimofficial/ct-paper-dashboard-pro-react reply@reply.github.com Date: Wednesday, 16 December 2020 at 13:28 To: creativetimofficial/ct-paper-dashboard-pro-react ct-paper-dashboard-pro-react@noreply.github.com Cc: Gaspari Simone gaspari.simone@gmail.com, Mention mention@noreply.github.com Subject: Re: [creativetimofficial/ct-paper-dashboard-pro-react] [Bug] Cannot run "production" build (#12)

Hello there, @appersidehttps://github.com/apperside ,

Thank you for your interest in working with our products. Please go inside package.json file, and delete the homepage prop. We'll add this in our live docs on our next update of the product, so please leave the issue open.

Best, Manu

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/creativetimofficial/ct-paper-dashboard-pro-react/issues/12#issuecomment-746215457, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNN6CQZL7B6L5CIZZZKBXDSVCRXFANCNFSM4U5SUDBA.