react-scripts build just hangs when encountering "Module not found" error
              
              #12187
            
            
              
                Unanswered
              
          
                  
                    
                      ikhwanhayat
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
When running
react-scripts build(vianpm run build), I notice that it just hangs and did not exit when a "Module not found" error occurred. This is problematic for us since we are using a CI and this makes the pipeline waits until it times out. I did not notice this problem happening for other kinds of error.I am not sure if this is by design or there's some bug. Hope I can get some help, thank you.
Additional information
NodeJS version: 16.14.1
npm version: 8.5.0
react-scripts version: 5.0.0
Beta Was this translation helpful? Give feedback.
All reactions