Error build Android #17993
              
                Unanswered
              
          
                  
                    
                      MohMehrnia
                    
                  
                
                  asked this question in
                CLI - Capacitor / Cordova modes
              
            
            
              Error build Android
            
            #17993
          
          
        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.
Uh oh!
There was an error while loading. Please reload this page.
-
When Build android wuth capacitor Show Me Bellow message
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/mohammad/MySourceCodes/vue.js/mach/eslint.config.js from /usr/share/nodejs/eslint/lib/cli-engine/config-array-factory.js not supported.
Instead change the require of eslint.config.js in /usr/share/nodejs/eslint/lib/cli-engine/config-array-factory.js to a dynamic import() which is available in all CommonJS modules.
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at module.exports (/usr/share/nodejs/import-fresh/index.js:32:59)
at loadJSConfigFile (/usr/share/nodejs/eslint/lib/cli-engine/config-array-factory.js:189:16)
at loadConfigFile (/usr/share/nodejs/eslint/lib/cli-engine/config-array-factory.js:251:20)
at ConfigArrayFactory._loadConfigData
Beta Was this translation helpful? Give feedback.
All reactions