eggi
                
              
                
                
              
                  
                  
              1
              
             
            
              Hi,
When I try to test the create note API with the following command:
$ serverless invoke local --function create --path mocks/create-event.json
I get an initialization error for serverless-webpack:
Serverless plugin "serverless-webpack" initialization errored: Unexpected token
Any ideas on how I should troubleshoot? I am a beginner and do not really no where to start.
Thank you!
             
            
              
              
              
            
            
           
          
            
              
                eggi
                
              
              
                  
                  
              2
              
             
            
              Solved. No longer a problem.
             
            
              
              
              
            
            
           
          
            
              
                jayair
                
              
              
                  
                  
              3
              
             
            
              Oh thanks for reporting back. How did you fix it?
             
            
              
              
              
            
            
           
          
            
              
                Aamir
                
              
              
                  
                  
              4
              
             
            
              How did you solved this issue @eggi ?
             
            
              
              
              
            
            
           
          
            
              
                eggi
                
              
              
                  
                  
              5
              
             
            
              I solved it by updating to the latest version of node.
             
            
              
              
              1 Like
            
            
           
          
            
              
                jayair
                
              
              
                  
                  
              6
              
             
            
              Thanks for reporting back!
             
            
              
              
              1 Like