eun-choi edited a comment on issue #566:
URL: https://github.com/apache/cordova-cli/issues/566#issuecomment-956999233


   Before re-install:
   ```
   [email protected] /usr/local/lib/node_modules/cordova
   └─┬ [email protected]
     └─┬ [email protected]
       └── [email protected] 
   
   > cordova build ios
   /usr/local/lib/node_modules/cordova/node_modules/macos-release/index.js:27
   const [name, version] = nameMap.get(release);
   
   TypeError: undefined is not iterable (cannot read property 
Symbol(Symbol.iterator))
   ```
   
   
   After re-install:
   ```
   [email protected] /usr/local/lib/node_modules/cordova
   └─┬ [email protected]
     └─┬ [email protected]
       └── [email protected] 
   ```
   
   
   This problem was solved by reinstalling.
   However, if you upgrade macOS 12 with it already cordova 10 installed,
   I suspect others will have the same problem.
   Because, it's been over a year since the cordova 10.0.0 version was released.
   
   https://github.com/apache/cordova-cli/blob/master/package-lock.json
   3860 lines:
   ```
       "macos-release": {
         "version": "2.4.1",
         "resolved": 
"https://registry.npmjs.org/macos-release/-/macos-release-2.4.1.tgz";,
         "integrity": 
"sha512-H/QHeBIN1fIGJX517pvK8IEK53yQOW7YcEI55oYtgjDdoCQQz7eJS94qt5kNrscReEyuD/JcdFCm2XBEcGOITg=="
       },
   ```
   
   I know that dependencies are pinned to insight 0.10.3.
   If you update the insight dependency to version 0.11.1,
   I think there should be no problem.
   
   https://github.com/apache/cordova-cli/blob/master/package.json
   32 lines:
   ```
       "insight": "^0.10.3",
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to