You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/10/31 21:27:40 UTC

[GitHub] [cordova-windows] mysorian opened a new issue #399: Cordova installation problem

mysorian opened a new issue #399:
URL: https://github.com/apache/cordova-windows/issues/399


   # Bug Report
   
   ## Problem
   Using npm Cordova did not install.
   ### What is expected to happen?
   I must be able to run cardova from command line
   
   
   ### What does actually happen?
   An error was thrown and executing c:\cardova -v
   
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   This is the error:
   C:\WINDOWS\system32>cordova -v
   c:\Users\TestUser\AppData\Roaming\npm\node_modules\cordova\node_modules\conf\node_modules\make-dir\index.js:77
                                   throw err;
                                   ^
   
   RangeError: Maximum call stack size exceeded
       at Object.mkdirSync (node:fs:1316:19)
       at make (c:\Users\TestUser\AppData\Roaming\npm\node_modules\cordova\node_modules\conf\node_modules\make-dir\index.js:61:12)
       at make (c:\Users\TestUser\AppData\Roaming\npm\node_modules\cordova\node_modules\conf\node_modules\make-dir\index.js:68:5)
       at make (c:\Users\TestUser\AppData\Roaming\npm\node_modules\cordova\node_modules\conf\node_modules\make-dir\index.js:69:12)
       at make (c:\Users\TestUser\AppData\Roaming\npm\node_modules\cordova\node_modules\conf\node_modules\make-dir\index.js:69:12)
       at make (c:\Users\TestUser\AppData\Roaming\npm\node_modules\cordova\node_modules\conf\node_modules\make-dir\index.js:69:12)
       at make (c:\Users\TestUser\AppData\Roaming\npm\node_modules\cordova\node_modules\conf\node_modules\make-dir\index.js:69:12)
       at make (c:\Users\TestUser\AppData\Roaming\npm\node_modules\cordova\node_modules\conf\node_modules\make-dir\index.js:69:12)
       at make (c:\Users\TestUser\AppData\Roaming\npm\node_modules\cordova\node_modules\conf\node_modules\make-dir\index.js:69:12)
       at make (c:\Users\TestUser\AppData\Roaming\npm\node_modules\cordova\node_modules\conf\node_modules\make-dir\index.js:69:12)
   ---------------------
    Windows registry has reference to some Cardova image files. A few other Cardova related files in the npm folder.
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   C:\cardova -v
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   Windows 10 (x64). npm is installed. Intel Core i7 on a Dell laptop.
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Visual studio Community2017 and Android Studio Snow cat are installed and working
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [x ] I included all the necessary information above
   


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-windows] breautek commented on issue #399: Cordova installation problem

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #399:
URL: https://github.com/apache/cordova-windows/issues/399#issuecomment-957056913


   That's the default path for globally installed packages on windows. I would advise against manually manipulating files, especially if you don't know what you're doing. [Configure NPM](https://docs.npmjs.com/cli/v7/using-npm/config) instead if you prefer the global packages to be installed in a different location.
   
   Closing this issue because it was found that it wasn't a cordova-windows issue.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-windows] mysorian commented on issue #399: Cordova installation problem

Posted by GitBox <gi...@apache.org>.
mysorian commented on issue #399:
URL: https://github.com/apache/cordova-windows/issues/399#issuecomment-957042415


   Finally got the install to work.
   The problem was solved by clearing the npm cache using **npm cache clean -f**
   Why do I get the Cordova folder created in this folder (C:\Users\TestUser\AppData\Roaming\npm\node_modules\**cordova**)
   ![Cordova_Folder](https://user-images.githubusercontent.com/5265734/139776735-7670055d-5f26-4e90-b81f-af20f93608c2.jpg)
   ?
   Does the folder look complete?
   I suppose it is globally accessible. should I move it to a simpler location (like Program Files)?


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-windows] breautek commented on issue #399: Cordova installation problem

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #399:
URL: https://github.com/apache/cordova-windows/issues/399#issuecomment-957056913


   That's the default path for globally installed packages on windows. I would advise against manually manipulating files, especially if you don't know what you're doing. [Configure NPM](https://docs.npmjs.com/cli/v7/using-npm/config) instead if you prefer the global packages to be installed in a different location.
   
   Closing this issue because it was found that it wasn't a cordova-windows issue.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-windows] breautek closed issue #399: Cordova installation problem

Posted by GitBox <gi...@apache.org>.
breautek closed issue #399:
URL: https://github.com/apache/cordova-windows/issues/399


   


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-windows] breautek commented on issue #399: Cordova installation problem

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #399:
URL: https://github.com/apache/cordova-windows/issues/399#issuecomment-957056913


   That's the default path for globally installed packages on windows. I would advise against manually manipulating files, especially if you don't know what you're doing. [Configure NPM](https://docs.npmjs.com/cli/v7/using-npm/config) instead if you prefer the global packages to be installed in a different location.
   
   Closing this issue because it was found that it wasn't a cordova-windows issue.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-windows] breautek closed issue #399: Cordova installation problem

Posted by GitBox <gi...@apache.org>.
breautek closed issue #399:
URL: https://github.com/apache/cordova-windows/issues/399


   


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-windows] mysorian commented on issue #399: Cordova installation problem

Posted by GitBox <gi...@apache.org>.
mysorian commented on issue #399:
URL: https://github.com/apache/cordova-windows/issues/399#issuecomment-957042415


   Finally got the install to work.
   The problem was solved by clearing the npm cache using **npm cache clean -f**
   Why do I get the Cordova folder created in this folder (C:\Users\TestUser\AppData\Roaming\npm\node_modules\**cordova**)
   ![Cordova_Folder](https://user-images.githubusercontent.com/5265734/139776735-7670055d-5f26-4e90-b81f-af20f93608c2.jpg)
   ?
   Does the folder look complete?
   I suppose it is globally accessible. should I move it to a simpler location (like Program Files)?


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-windows] mysorian commented on issue #399: Cordova installation problem

Posted by GitBox <gi...@apache.org>.
mysorian commented on issue #399:
URL: https://github.com/apache/cordova-windows/issues/399#issuecomment-957042415


   Finally got the install to work.
   The problem was solved by clearing the npm cache using **npm cache clean -f**
   Why do I get the Cordova folder created in this folder (C:\Users\TestUser\AppData\Roaming\npm\node_modules\**cordova**)
   ![Cordova_Folder](https://user-images.githubusercontent.com/5265734/139776735-7670055d-5f26-4e90-b81f-af20f93608c2.jpg)
   ?
   Does the folder look complete?
   I suppose it is globally accessible. should I move it to a simpler location (like Program Files)?


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-windows] breautek closed issue #399: Cordova installation problem

Posted by GitBox <gi...@apache.org>.
breautek closed issue #399:
URL: https://github.com/apache/cordova-windows/issues/399


   


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org