Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package will not install #12

Open
AdamMannPro opened this issue Dec 18, 2017 · 0 comments
Open

Package will not install #12

AdamMannPro opened this issue Dec 18, 2017 · 0 comments

Comments

@AdamMannPro
Copy link

Hi, trying to install this but I keep getting an error

`homeserver-ex490:~ admin$ npm install sky-remote
/Users/admin
└── sky-remote@1.1.0

npm WARN enoent ENOENT: no such file or directory, open '/Users/admin/package.json'
npm WARN admin No description
npm WARN admin No repository field.
npm WARN admin No README data
npm WARN admin No license field.`

If I move the files from /users/admin/node_modules/sky-remote I then get this error

`homeserver-ex490:~ admin$ npm install sky-remote
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "sky-remote"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ENOSELF

npm ERR! Refusing to install sky-remote as a dependency of itself
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /Users/admin/npm-debug.log
`

LOG FILE CONTENTS

0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', 1 verbose cli '/usr/local/bin/npm', 1 verbose cli 'install', 1 verbose cli 'sky-remote' ] 2 info using npm@3.10.10 3 info using node@v6.10.2 4 verbose config Skipping project config: /Users/admin/.npmrc. (matches userconfig) 5 silly loadCurrentTree Starting 6 silly install loadCurrentTree 7 silly install readLocalPackageData 8 silly fetchPackageMetaData sky-remote 9 silly fetchNamedPackageData sky-remote 10 silly mapToRegistry name sky-remote 11 silly mapToRegistry using default registry 12 silly mapToRegistry registry https://registry.npmjs.org/ 13 silly mapToRegistry data Result { 13 silly mapToRegistry raw: 'sky-remote', 13 silly mapToRegistry scope: null, 13 silly mapToRegistry escapedName: 'sky-remote', 13 silly mapToRegistry name: 'sky-remote', 13 silly mapToRegistry rawSpec: '', 13 silly mapToRegistry spec: 'latest', 13 silly mapToRegistry type: 'tag' } 14 silly mapToRegistry uri https://registry.npmjs.org/sky-remote 15 verbose request uri https://registry.npmjs.org/sky-remote 16 verbose request no auth needed 17 info attempt registry request try #1 at 10:34:27 PM 18 verbose request id 1fbc25cf9e0974a8 19 verbose etag "58ceadc5-23b0" 20 verbose lastModified Sun, 19 Mar 2017 16:11:49 GMT 21 http request GET https://registry.npmjs.org/sky-remote 22 http 304 https://registry.npmjs.org/sky-remote 23 verbose headers { date: 'Mon, 18 Dec 2017 22:34:28 GMT', 23 verbose headers via: '1.1 varnish', 23 verbose headers 'cache-control': 'max-age=300', 23 verbose headers etag: '"58ceadc5-23b0"', 23 verbose headers age: '1433', 23 verbose headers connection: 'keep-alive', 23 verbose headers 'x-served-by': 'cache-lcy19235-LCY', 23 verbose headers 'x-cache': 'HIT', 23 verbose headers 'x-cache-hits': '1', 23 verbose headers 'x-timer': 'S1513636469.776920,VS0,VE0', 23 verbose headers vary: 'Accept-Encoding, Accept' } 24 silly get cb [ 304, 24 silly get { date: 'Mon, 18 Dec 2017 22:34:28 GMT', 24 silly get via: '1.1 varnish', 24 silly get 'cache-control': 'max-age=300', 24 silly get etag: '"58ceadc5-23b0"', 24 silly get age: '1433', 24 silly get connection: 'keep-alive', 24 silly get 'x-served-by': 'cache-lcy19235-LCY', 24 silly get 'x-cache': 'HIT', 24 silly get 'x-cache-hits': '1', 24 silly get 'x-timer': 'S1513636469.776920,VS0,VE0', 24 silly get vary: 'Accept-Encoding, Accept' } ] 25 verbose etag https://registry.npmjs.org/sky-remote from cache 26 verbose get saving sky-remote to /Users/admin/.npm/registry.npmjs.org/sky-remote/.cache.json 27 verbose correctMkdir /Users/admin/.npm correctMkdir not in flight; initializing 28 silly install normalizeTree 29 silly loadCurrentTree Finishing 30 silly loadIdealTree Starting 31 silly install loadIdealTree 32 silly cloneCurrentTree Starting 33 silly install cloneCurrentTreeToIdealTree 34 silly cloneCurrentTree Finishing 35 silly loadShrinkwrap Starting 36 silly install loadShrinkwrap 37 silly loadShrinkwrap Finishing 38 silly loadAllDepsIntoIdealTree Starting 39 silly install loadAllDepsIntoIdealTree 40 silly rollbackFailedOptional Starting 41 silly rollbackFailedOptional Finishing 42 silly runTopLevelLifecycles Finishing 43 silly install printInstalled 44 verbose stack Error: Refusing to install sky-remote as a dependency of itself 44 verbose stack at checkSelf (/usr/local/lib/node_modules/npm/lib/install/validate-args.js:53:14) 44 verbose stack at Array.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8) 44 verbose stack at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14) 44 verbose stack at chain (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:20:5) 44 verbose stack at /usr/local/lib/node_modules/npm/lib/install/validate-args.js:16:5 44 verbose stack at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35 44 verbose stack at Array.forEach (native) 44 verbose stack at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11 44 verbose stack at Array.forEach (native) 44 verbose stack at asyncMap (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:51:8) 45 verbose cwd /Users/admin 46 error Darwin 14.5.0 47 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "sky-remote" 48 error node v6.10.2 49 error npm v3.10.10 50 error code ENOSELF 51 error Refusing to install sky-remote as a dependency of itself 52 error If you need help, you may report this error at: 52 error <https://github.com/npm/npm/issues> 53 verbose exit [ 1, true ]

Please can you advise where I am going wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant