Skip to content

bug: Faild to install capacitor cli #21523

@afattahi54

Description

@afattahi54

Bug Report

Ionic version:
[x] 5.x

Current behavior:
installing capacitor cli exit with error

Expected behavior:

Steps to reproduce:

npm install --save @capacitor/cli

Other information:

26089 silly saveTree +-- react@16.13.1
26089 silly saveTree `-- typescript@3.8.3
26090 verbose stack RangeError: Maximum call stack size exceeded
26090 verbose stack     at RegExp.test (<anonymous>)
26090 verbose stack     at isDepOptional (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:428:45)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:437:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26090 verbose stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:453:9)
26091 verbose cwd D:\RD\Projects\app\myAppss

````

**Ionic info:**
````
# ionic info

Ionic:

   Ionic CLI       : 6.10.0 (C:\Users\a_fattahi\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework : @ionic/react 5.2.1

Capacitor:

   Capacitor CLI   : not installed
   @capacitor/core : 2.1.2

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v12.18.0 (C:\Program Files\nodejs\node.exe)
   npm    : 6.14.4
   OS     : Windows 10
````

Metadata

Metadata

Assignees

No one assigned

    Labels

    ionitron: supportcloses the issue with links to the correct resources

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions