npm-install

npm installation error connect ECONNREFUSED 127.0.0.1:8080

我怕爱的太早我们不能终老 提交于 2019-12-21 22:21:51
问题 ive just started working on my first node JS app, while trying to install express through npm, i was getting te following error : Error: connect ECONNREFUSED 127.0.0.1:8080 at Object.exports._errnoException (util.js:870:11) at exports._exceptionWithHostPort (util.js:893:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1057:14) { [Error: connect ECONNREFUSED 127.0.0.1:8080] code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080 } and at npm

Why did package-lock.json change the integrity hash from sha1 to sha512?

痴心易碎 提交于 2019-12-20 15:36:56
问题 I just generated a new npm lockfile, package-lock.json, as part of my typical workflow. But I noticed that this time all of the integrity hashes have been changed from sha1 to sha512. What is happening here? 回答1: From what I can see, npm changed the integrity checksum from sha1 to sha512. If your git changes are going from sha1 to sha512, you should do that update once and it will be good after that. If someone else working with the codebase and sees a git change from sha512 down to sha1

Using “npm install” to install jquery-ui

ぃ、小莉子 提交于 2019-12-20 11:02:04
问题 I see from here https://github.com/jquery/jquery-ui that jquery-ui's latest release is 1.11.4. However, when I use "npm install jquery-ui", it's only 1.10.3. I checked this version in node_modules/jquery-ui/jquery-ui.js . Is there any way for me to install the latest version? 回答1: jQuery-ui specifically needs to be build after installation. To avoid this, use npm install jquery-ui-dist 回答2: T J gave the right answer, but it is a bit short / too generic... The GitHub project is at https:/

Not compatible with your operating system or architecture: fsevents@1.0.11

爷,独闯天下 提交于 2019-12-20 09:21:54
问题 I'm using Ubuntu 15.04. While running the following command: npm install fsevents I'm getting following error: npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.11 npm WARN tutorial@1.0.0 No repository field. Has anybody solved this? 回答1: I was facing the same issue with this dependecy when building other application. Just for the sake of knowledge and to people who are not well

npm command issue

风格不统一 提交于 2019-12-20 06:18:36
问题 I have installed node js on my system. (Windows 7). I have set the environment path variable to "C:\Users\pUser\AppData\Roaming\npm\node_modules\npm" . There one .npmrc file in users folder. Which has values set for https_proxy,proxy,registry. I try to check the node version and npm version as follows: a. D:\Pooja Project\project-sd-develop-12>node -v output -->v6.9.4 b. D:\Pooja Project\project-sd-develop-12>npm -v (Does not show any result) It doesn't respond at all for npm command.Neither

Building Autodesk Forge RCDB on Windows 10 fails with node-gyp errors

一笑奈何 提交于 2019-12-20 05:01:54
问题 While attempting to get the Forge Responsive Connected Database to build. I am unable to build this application on my Windows 10 machine. I am unable to succesffuly run “npm install”. I get the following errors as listed below. I ended up trying to use a pre-configured “canvas” and it still didn’t let the node app run. https://github.com/Autodesk-Forge/forge-rcdb.nodejs I have tried these solutions to no success: https://github.com/npm/npm/issues/14543 https://github.com/nodejs/node-gyp#on

NPM install hangs on loadRequestedDeps

跟風遠走 提交于 2019-12-20 01:35:10
问题 When I download any package using NPM, it hangs on the last command "loadRequestedDeps." I've added my whole -verbose output to the end of this question for reference. It will just sit there until I cancel the command, and nothing will be installed and my package.json will not be updated. What could the issue be? I've looked around but haven't found out how to fix my particular problem. Here's some info: OS is Windows 10 Node version is 6.9.1 NPM version is 3.10.8 My CPU maxes out at 100%

Angular2 - npm install didn't find namespace webdriver

狂风中的少年 提交于 2019-12-19 13:32:09
问题 After reinitiating an Angular2 project, I've launch the command npm install and got the following error : node_modules/protractor/built/browser.d.ts(258,37): error TS2503: Cannot find namespace 'webdriver' Anyone knows where it comes from/ how can I fixed it ? Thanking you, 回答1: Update 21-12-2016: This is fixed as of protractor 4.0.14. protractor has a dependency on selenium-webdriver: '@types/selenium-webdriver': '~2.53.31', unfortunately, https://github.com/DefinitelyTyped/DefinitelyTyped

Error: Cannot read property 'replace' of undefined when building iOS Cordova

こ雲淡風輕ζ 提交于 2019-12-18 10:14:14
问题 I created a cordova project using cordova create project hello com.hello Hello . And added iOS platform using cordova platform add iOS . And tried to do cordova run ios after cordova build ios . But it shows me this error(I used --d/ --verbose to get the details). /usr/bin/codesign --force --sign - --timestamp=none /Volumes/Untitled/Plot/PlotReel/platforms/ios/build/emulator/PlotReel.app /Volumes/Untitled/Plot/PlotReel/platforms/ios/build/emulator/PlotReel.app: replacing existing signature **

NPM unknown protocol

☆樱花仙子☆ 提交于 2019-12-18 05:23:08
问题 When I run npm install I get following error. It seems it can't download any package. I use node 8.2.1 and npm 5.3.0 Do you have any idea what is wrong? npm ERR! code EPROTO npm ERR! errno EPROTO npm ERR! request to https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz failed, reason: write EPROTO 140640770651968:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:797: npm logs: 0215 verbose type system 20216 verbose stack FetchError: