creativetimofficial / ct-light-bootstrap-dashboard-pro-react

LBD Pro React Version
20 stars 8 forks source link

When creating a production build #33

Closed suarezhar closed 5 years ago

suarezhar commented 5 years ago

Hi Creative Team, I recently purchased the light bootstrap dashboard. I installed npm i query-string@6.1.0 to parse the query string into an object. When I ran npm run build I got an error related to the previous package Do I need to install a different query-string version? Regards, Harnier.

einazare commented 5 years ago

Hello there, @suarezhar ,

Thank you for your interest in working with our products. Can you paste the error here?

Best, Manu

suarezhar commented 5 years ago

Hello @EINazare, Thank you for your quick response. I attached below the issue details. Regards, Harnier query-string issue

einazare commented 5 years ago

Hello again, @suarezhar ,

I've found the issue. The issue comes from the fact that in this product we use react-scripts version 1, and in version 1, the build command did not compile libraries from node_modules. To solve this issue you can do one of the following (just one): 1) Install query-string version 5.0.1 2) Update our dependencies - we do NOT recommend this action since we do not know what might break in our product with newer versions.

Best, Manu

suarezhar commented 5 years ago

Hello Manu, I downgrade the package to version 5.0.1 as you recommended and it works perfectly fine. Thank you so much for your help. Have a good day, Harnier.

On Wed, Feb 20, 2019 at 6:13 AM Nazare Emanuel-Ioan < notifications@github.com> wrote:

Hello again, @suarezhar https://github.com/suarezhar ,

I've found the issue. The issue comes from the fact that in this product we use react-scripts version 1, and in version 1, the build command did not compile libraries from node_modules. To solve this issue you can do one of the following (just one):

  1. Install query-string version 5.0.1
  2. Update our dependencies - we do NOT recommend this action since we do not know what might break in our product with newer versions.

Best, Manu

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/creativetimofficial/ct-light-bootstrap-dashboard-pro-react/issues/33#issuecomment-465531678, or mute the thread https://github.com/notifications/unsubscribe-auth/AOrEP3_-_e_urL8X3z8Pl3GolQuTvlLuks5vPS3QgaJpZM4bDFIh .

-- Harnier Suarez