You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2021/10/31 06:29:45 UTC
[GitHub] [cordova] mysorian opened a new issue #306: Does not install on Windows 10 (x64)
mysorian opened a new issue #306:
URL: https://github.com/apache/cordova/issues/306
# Bug Report
## Problem
Not installing. Does not install on Windows 10(x64)
### What is expected to happen?
Cordova should install.
### What does actually happen?
This is what happens:
C:\>npm install -g cordova
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 487 packages, and audited 488 packages in 3m
30 packages are looking for funding
run `npm fund` for details
6 vulnerabilities (5 moderate, 1 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm notice
npm notice New patch version of npm available! 8.1.0 -> 8.1.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.1.2
npm notice Run npm install -g npm@8.1.2 to update!
npm notice
C:\>npm audit fix --force
npm WARN using --force Recommended protections disabled.
npm ERR! code ENOLOCK
npm ERR! audit This command requires an existing lockfile.
npm ERR! audit Try creating one first with: npm i --package-lock-only
npm ERR! audit Original error: loadVirtual requires existing shrinkwrap file
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\TestUser\AppData\Local\npm-cache\_logs\2021-10-31T06_11_51_150Z-debug.log
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
C:\>npm install -g cordova
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you experiencing the issue? -->
Windows 10 (x64) Laptop Intel Corei7
### 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.
-->
Cordova from this site:
https://cordova.apache.org/docs/en/10.x/guide/cli/index.html
## 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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] breautek closed issue #306: Does not install on Windows 10 (x64)
Posted by GitBox <gi...@apache.org>.
breautek closed issue #306:
URL: https://github.com/apache/cordova/issues/306
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] breautek commented on issue #306: Does not install on Windows 10 (x64)
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #306:
URL: https://github.com/apache/cordova/issues/306#issuecomment-955751049
Your provided output indicates that the `npm install` command was successful. If NPM wasn't successful, it would be it clear via `npm ERR` messages, which your output did not do on the `npm install` command.
`npm audit fix --force` failed because you're running the command in a non-npm module directory (e.g. it's missing `package.json` as well as the `package-lock.json` file. I know the output suggested for you to run the command to fix potential vulnerability issues, but npm audit isn't a cordova thing, it's an npm thing, so there isn't anything we can do here.
Note that this npm audit that runs when `-g` flag is used scans for all globally installed package, so the vulnerabilities reported by audit may or may be related to cordova.
You can confirm cordova is installed via running `cordova -v`.
Closing as won't fix/invalid. If you require more assistance, I welcome you to our community [Slack](http://slack.cordova.io/) channel.
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] breautek commented on issue #306: Does not install on Windows 10 (x64)
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #306:
URL: https://github.com/apache/cordova/issues/306#issuecomment-955795321
Can you run `node -v` and tell me the output?
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] racile commented on issue #306: Does not install on Windows 10 (x64)
Posted by GitBox <gi...@apache.org>.
racile commented on issue #306:
URL: https://github.com/apache/cordova/issues/306#issuecomment-1064655201
so far everything is working but I just want to know if it's safe to ignore the deprecated warning also if the cordova team is working on a fix for future releases?
` cordova -v 11.0.0`
`npm WARN deprecated har-validator@5.1.5: this library is no longer supported`
`npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.`
`npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142`
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] mysorian commented on issue #306: Does not install on Windows 10 (x64)
Posted by GitBox <gi...@apache.org>.
mysorian commented on issue #306:
URL: https://github.com/apache/cordova/issues/306#issuecomment-956562585
Thanks a lot. You are right. Admin prompt has become a default by habit. I
will try without it. One thing that has complicated install issues has been
the Ransomeware protection in Windows. Anything that installs has to get
through this gate and becomes difficult as you need to give passage through
this gate.
Thanks
On Mon, Nov 1, 2021 at 1:59 AM Norman Breau ***@***.***>
wrote:
> I just tested installing on windows and I'm not reproducing your issue.
>
> I also don't understand why your command prompt shell is located at
> C:\WINDOWS\system32, are you using an admin prompt? It's not recommended
> to run node/npm with admin privileges.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/cordova/issues/306#issuecomment-956172031>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABIFSRQ37LL7WMBFSSO5KUDUJZ6KBANCNFSM5HB5PNOQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] mysorian commented on issue #306: Does not install on Windows 10 (x64)
Posted by GitBox <gi...@apache.org>.
mysorian commented on issue #306:
URL: https://github.com/apache/cordova/issues/306#issuecomment-956562585
Thanks a lot. You are right. Admin prompt has become a default by habit. I
will try without it. One thing that has complicated install issues has been
the Ransomeware protection in Windows. Anything that installs has to get
through this gate and becomes difficult as you need to give passage through
this gate.
Thanks
On Mon, Nov 1, 2021 at 1:59 AM Norman Breau ***@***.***>
wrote:
> I just tested installing on windows and I'm not reproducing your issue.
>
> I also don't understand why your command prompt shell is located at
> C:\WINDOWS\system32, are you using an admin prompt? It's not recommended
> to run node/npm with admin privileges.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/cordova/issues/306#issuecomment-956172031>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABIFSRQ37LL7WMBFSSO5KUDUJZ6KBANCNFSM5HB5PNOQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] mysorian commented on issue #306: Does not install on Windows 10 (x64)
Posted by GitBox <gi...@apache.org>.
mysorian commented on issue #306:
URL: https://github.com/apache/cordova/issues/306#issuecomment-955792568
Thanks for the reply. Running cordova -v results in error shown:
----------------
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)
------------------
In this directory (c:\Users\TestUser\AppData\Roaming\npm) I find, a cordova file(no extension), cordova.cmd, cordova.ps1 and a node_modules folder
----------------
In the Registry, I just find some cardova image files.
-----------------
Is there a fix for this?
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] mysorian commented on issue #306: Does not install on Windows 10 (x64)
Posted by GitBox <gi...@apache.org>.
mysorian commented on issue #306:
URL: https://github.com/apache/cordova/issues/306#issuecomment-956562585
Thanks a lot. You are right. Admin prompt has become a default by habit. I
will try without it. One thing that has complicated install issues has been
the Ransomeware protection in Windows. Anything that installs has to get
through this gate and becomes difficult as you need to give passage through
this gate.
Thanks
On Mon, Nov 1, 2021 at 1:59 AM Norman Breau ***@***.***>
wrote:
> I just tested installing on windows and I'm not reproducing your issue.
>
> I also don't understand why your command prompt shell is located at
> C:\WINDOWS\system32, are you using an admin prompt? It's not recommended
> to run node/npm with admin privileges.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/cordova/issues/306#issuecomment-956172031>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABIFSRQ37LL7WMBFSSO5KUDUJZ6KBANCNFSM5HB5PNOQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] breautek commented on issue #306: Does not install on Windows 10 (x64)
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #306:
URL: https://github.com/apache/cordova/issues/306#issuecomment-956172031
I just tested installing on windows and I'm not reproducing your issue.
I also don't understand why your command prompt shell is located at `C:\WINDOWS\system32`, are you using an admin prompt? It's not recommended to run node/npm with admin privileges.
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] mysorian commented on issue #306: Does not install on Windows 10 (x64)
Posted by GitBox <gi...@apache.org>.
mysorian commented on issue #306:
URL: https://github.com/apache/cordova/issues/306#issuecomment-955936047
Thanks.
It is v16.13.0
Sincerely,
Jay
On Sun, Oct 31, 2021 at 11:33 AM Norman Breau ***@***.***>
wrote:
> Can you run node -v and tell me the output?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/cordova/issues/306#issuecomment-955795321>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABIFSRQBYS5KJBHMAXBT7MTUJWY2BANCNFSM5HB5PNOQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
--
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: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org