[ 
https://issues.apache.org/jira/browse/CB-10427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Miha Svalina updated CB-10427:
------------------------------
    Description: 
Application created using Visual Studio Cordova project.

My package.json content:

{code}
{
  "name": "TestCordovaApp",
  "version": "1.0.0",
  "private": true,
  "dependencies": {   
    "cordova-lib": "5.4.1",
    "cordova": "5.4.1"
  }
}
{code}

Other packages are not included, this is just for test. After running npm 
install command in my project root directory the first two lines are:

{code}
X:\androidApp>npm install
npm WARN deprecated [email protected]: this package has been reintegrated into npm 
and is now out of date with respect to npm
npm WARN prefer global [email protected] should be installed with -g
[email protected] X:\androidApp
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│   ├─┬ [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├─┬ [email protected]
│   │ │ └── [email protected]
│   │ ├── [email protected]
│   │ └── [email protected]
│   ├─┬ [email protected]
│   │ ├── [email protected]{code}


I copied the whole cmd output to notepad++ and searched for string npmconf. It 
turns out that cordova-lib 5.4.1 depends on npm 2.14.16.

{code}
├─┬ [email protected]
│ ├─┬ [email protected]
|    │ ├─┬ [email protected]
{code}

I thought that if you are running npm > 2 that this won't be an issue. Or maybe 
I have missed something to avoid seeing deprecation warning.

  was:
My package.json content:

{code}
{
  "name": "TestCordovaApp",
  "version": "1.0.0",
  "private": true,
  "dependencies": {   
    "cordova-lib": "5.4.1",
    "cordova": "5.4.1"
  }
}
{code}

Other packages are not included, this is just for test. After running npm 
install command in my project root directory the first two lines are:

{code}
X:\androidApp>npm install
npm WARN deprecated [email protected]: this package has been reintegrated into npm 
and is now out of date with respect to npm
npm WARN prefer global [email protected] should be installed with -g
[email protected] X:\androidApp
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│   ├─┬ [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├─┬ [email protected]
│   │ │ └── [email protected]
│   │ ├── [email protected]
│   │ └── [email protected]
│   ├─┬ [email protected]
│   │ ├── [email protected]{code}


I copied the whole cmd output to notepad++ and searched for string npmconf. It 
turns out that cordova-lib 5.4.1 depends on npm 2.14.16.

{code}
├─┬ [email protected]
│ ├─┬ [email protected]
|    │ ├─┬ [email protected]
{code}

I thought that if you are running npm > 2 that this won't be an issue. Or maybe 
I have missed something to avoid seeing deprecation warning.


> npmconf and npm Deprecation warning
> -----------------------------------
>
>                 Key: CB-10427
>                 URL: https://issues.apache.org/jira/browse/CB-10427
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android, CordovaLib
>    Affects Versions: 5.4.1
>         Environment: - Microsoft Windows 10 x64
> - Microsoft Visual Studio 2015
> - Nodejs: 5.0.0 32-bit
> - npm 3.3.7 installed globally
>            Reporter: Miha Svalina
>
> Application created using Visual Studio Cordova project.
> My package.json content:
> {code}
> {
>   "name": "TestCordovaApp",
>   "version": "1.0.0",
>   "private": true,
>   "dependencies": {   
>     "cordova-lib": "5.4.1",
>     "cordova": "5.4.1"
>   }
> }
> {code}
> Other packages are not included, this is just for test. After running npm 
> install command in my project root directory the first two lines are:
> {code}
> X:\androidApp>npm install
> npm WARN deprecated [email protected]: this package has been reintegrated into 
> npm and is now out of date with respect to npm
> npm WARN prefer global [email protected] should be installed with -g
> [email protected] X:\androidApp
> ├─┬ [email protected]
> │ ├── [email protected]
> │ ├─┬ [email protected]
> │ │ └── [email protected]
> │ ├── [email protected]
> │ ├── [email protected]
> │ └─┬ [email protected]
> │   ├─┬ [email protected]
> │   │ ├── [email protected]
> │   │ ├── [email protected]
> │   │ ├─┬ [email protected]
> │   │ │ └── [email protected]
> │   │ ├── [email protected]
> │   │ └── [email protected]
> │   ├─┬ [email protected]
> │   │ ├── [email protected]{code}
> I copied the whole cmd output to notepad++ and searched for string npmconf. 
> It turns out that cordova-lib 5.4.1 depends on npm 2.14.16.
> {code}
> ├─┬ [email protected]
> │ ├─┬ [email protected]
> |    │ ├─┬ [email protected]
> {code}
> I thought that if you are running npm > 2 that this won't be an issue. Or 
> maybe I have missed something to avoid seeing deprecation warning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to