You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikita Matrosov (JIRA)" <ji...@apache.org> on 2017/07/10 14:03:02 UTC

[jira] [Commented] (CB-13001) NPM Installation loop with package-lock.json and cordova-plugin-device

    [ https://issues.apache.org/jira/browse/CB-13001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080357#comment-16080357 ] 

Nikita Matrosov commented on CB-13001:
--------------------------------------

[~Paedly], could you please try with an older npm version (pre 5)? (see https://forum.ionicframework.com/t/eloop-too-many-symbolic-links-encountered/94992)

> NPM Installation loop with package-lock.json and cordova-plugin-device
> ----------------------------------------------------------------------
>
>                 Key: CB-13001
>                 URL: https://issues.apache.org/jira/browse/CB-13001
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-device
>    Affects Versions: 1.1.0, 7.0.0, 1.1.3, 1.1.1, 7.0.2, cordova@7.0.0, 7.0.1
>         Environment: Docker environment on bitrise.io & Windows 10 64-bit with nodejs 6.9.1 and NPM 5.0.4
>            Reporter: Paedly
>
> If this lines are in the {{package-lock.json}} I get a symlink loop on my linux docker environment.
> {code:javascript}    "cordova-plugin-device": {
>       "version": "1.1.6",
>       "resolved": "https://registry.npmjs.org/cordova-plugin-device/-/cordova-plugin-device-1.1.6.tgz",
>       "integrity": "sha1-LSF2TK18m4AVI+TgmjDgJLJJM0s="
>     },{code}
> Here is the {{package.json}}:
> {code:javascript}{
>     "version": "0.0.1",
>     "author": "Ionic Framework",
>     "homepage": "http://ionicframework.com/",
>     "private": true,
>     "dependencies": {
>         "cordova-plugin-device": "^1.1.6"
>     },
>     "devDependencies": {
>         "@ionic/cli-plugin-cordova": "1.4.0",
>         "@ionic/cli-plugin-ionic-angular": "1.3.1",
>         "typescript": "2.3.4"
>     },
>     "cordova": {
>         "plugins": {
>             "cordova-plugin-device": {}
>         },
>         "platforms": [
>             "android",
>             "ios"
>         ]
>     }
> }{code}
> *And this is the error.*
> {code}Error: npm: Command failed with exit code 216 Error output:
> npm ERR! path
> /bitrise/src/node_modules/cordova-plugin-device/package.json
> npm ERR! code ELOOP
> npm ERR! errno -40
> npm ERR! syscall open
> npm ERR! ELOOP: too many symbolic links encountered, open
> '/bitrise/src/node_modules/cordova-plugin-device/package.json'{code}
> Don't know what the problem is with this {{package-lock.json}} entry.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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