create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

Build project, doest not show console.log

Open allestaire opened this issue 3 years ago • 6 comments

So basically, the react-scripts build does not show any errors or anything, its hard to debug the project. The local build is working fine, but the server build does not show any sign of errors, it hard to debug in this case, I hope this team should put options not to remove console, though they already declared it on their documentation that NODE_ENV is not editable. But why ? so the real deal is react-scripts should only be used by the elite? Hope you made some exceptions also.

Can someone help me show the console logs?

allestaire avatar May 17 '22 09:05 allestaire

So basically, the react-scripts build does not show any errors or anything, its hard to debug the project. The local build is working fine, but the server build does not show any sign of errors, it hard to debug in this case, I hope this team should put options not to remove console, though they already declared it on their documentation that NODE_ENV is not editable. But why ? so the real deal is react-scripts should only be used by the elite? Hope you made some exceptions also.

Can someone help me show the console logs?

What is the actual issue here ? I can help you out.

mhamzafaisal1 avatar May 21 '22 16:05 mhamzafaisal1

So basically, the react-scripts build does not show any errors or anything, its hard to debug the project. The local build is working fine, but the server build does not show any sign of errors, it hard to debug in this case, I hope this team should put options not to remove console, though they already declared it on their documentation that NODE_ENV is not editable. But why ? so the real deal is react-scripts should only be used by the elite? Hope you made some exceptions also. Can someone help me show the console logs?

What is the actual issue here ? I can help you out.

The problem is, when I run the app on development which is yarn start, everything works well But then I build the app and run it on the server, there are functionality that did not work. my concern is, how do I enable console.log because, on production build consoles are removed.

allestaire avatar May 22 '22 14:05 allestaire

Any resolution on this yet?

MimStha avatar Oct 03 '22 21:10 MimStha

On my case, nope, not yet, What I did is grab the production database and test it on local machine with yarn start Debugging it with build wont work. No console.log

allestaire avatar Oct 03 '22 23:10 allestaire

Same issue for me as well on localhost getting all the errors and after generating and running the build I don't see any errors in console

PixelPraful avatar Dec 13 '22 08:12 PixelPraful