[
https://issues.apache.org/jira/browse/CB-13001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Darryl Pogue resolved CB-13001.
-------------------------------
Resolution: Fixed
Fix Version/s: [email protected]
This should be fixed with the latest version of the Cordova tools
> 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, [email protected], 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
> Fix For: [email protected]
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]