Closed Bug 981588 Opened 11 years ago Closed 11 years ago

`npm install` fails behind proxy; convert SSH git:// to https://

Categories

(Webmaker Graveyard :: Popcorn Maker, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ShellHacker, Assigned: admix)

Details

(Whiteboard: [easy bug][goodfirstbug][mentor=jbuck])

Attachments

(1 file)

some proxy servers disable the usage of SSH, but almost everyone allows HTTP, converting the git:// to https:// in the package.json files helps solve this issue.
Sudheeshs-MacBook-Pro:popcorn SudheeshSinganamalla$ npm install npm WARN package.json jshint@1.1.0 No repository field. npm WARN package.json nunjucks@0.1.10 No repository field. npm WARN package.json supertest@0.5.1 No repository field. npm http GET https://github.com/mozilla/makeapi-client/tarball/v0.5.17 npm http GET https://github.com/Pomax/mox-server/archive/master.tar.gz npm http GET https://github.com/mozilla/node-webmaker-i18n/archive/v0.3.11.tar.gz npm http GET https://github.com/mozilla/webmaker-mediasync/tarball/v0.1.28 npm http GET https://registry.npmjs.org/webmaker-locale-mapping npm http GET https://github.com/sivy/node-statsd.git#d6997fff npm http 304 https://registry.npmjs.org/webmaker-locale-mapping npm http 200 https://github.com/sivy/node-statsd.git#d6997fff npm http 200 https://github.com/mozilla/makeapi-client/tarball/v0.5.17 npm http 200 https://github.com/mozilla/node-webmaker-i18n/archive/v0.3.11.tar.gz npm http 200 https://github.com/Pomax/mox-server/archive/master.tar.gz npm http 200 https://github.com/mozilla/webmaker-mediasync/tarball/v0.1.28 npm ERR! not a package /var/folders/2p/67dtz5vj22qf7q_sh63ybkjr0000gn/T/npm-15538-L00289kc/1394456498205-0.7217082360293716/tmp.tgz npm WARN optional dep failed, continuing node-statsd@https://github.com/sivy/node-statsd.git#d6997fff > butter@2.0.87 postinstall /Users/SudheeshSinganamalla/Documents/popcorn > bower install bower nav-global#* not-cached https://github.com/mozilla/nav-global/archive/v0.1.4.tar.gz#* bower nav-global#* resolve https://github.com/mozilla/nav-global/archive/v0.1.4.tar.gz#* bower webmaker-i18n#* not-cached https://github.com/mozilla/node-webmaker-i18n/archive/v0.3.11.tar.gz#* bower webmaker-i18n#* resolve https://github.com/mozilla/node-webmaker-i18n/archive/v0.3.11.tar.gz#* bower nav-global#* download https://github.com/mozilla/nav-global/archive/v0.1.4.tar.gz bower webmaker-i18n#* download https://github.com/mozilla/node-webmaker-i18n/archive/v0.3.11.tar.gz bower retry Request to https://bower.herokuapp.com/packages/farbtastic failed with ETIMEDOUT, retrying in 1.2s bower retry Request to https://bower.herokuapp.com/packages/jquery failed with ETIMEDOUT, retrying in 1.8s bower retry Request to https://bower.herokuapp.com/packages/jquery-ui failed with ETIMEDOUT, retrying in 1.5s bower retry Request to https://bower.herokuapp.com/packages/persona-btn failed with ETIMEDOUT, retrying in 1.4s bower retry Request to https://bower.herokuapp.com/packages/popcorn-js failed with ETIMEDOUT, retrying in 1.2s bower retry Request to https://bower.herokuapp.com/packages/webmaker-analytics failed with ETIMEDOUT, retrying in 1.2s bower retry Request to https://bower.herokuapp.com/packages/webmaker-language-picker failed with ETIMEDOUT, retrying in 1.5s bower retry Request to https://bower.herokuapp.com/packages/webmaker-auth-client failed with ETIMEDOUT, retrying in 1.0s bower nav-global#* retry Download of https://github.com/mozilla/nav-global/archive/v0.1.4.tar.gz failed with ETIMEDOUT, retrying in 1.3s bower webmaker-i18n#* retry Download of https://github.com/mozilla/node-webmaker-i18n/archive/v0.3.11.tar.gz failed with ETIMEDOUT, retrying in 1.9s bower nav-global#* ENOTFOUND getaddrinfo ENOTFOUND Stack trace: Error: getaddrinfo ENOTFOUND at errnoException (dns.js:37:11) at Object.onanswer [as oncomplete] (dns.js:124:16) Console trace: Trace at StandardRenderer.error (/Users/SudheeshSinganamalla/Documents/popcorn/node_modules/bower/lib/renderers/StandardRenderer.js:74:17) at Logger.updateNotifier.packageName (/Users/SudheeshSinganamalla/Documents/popcorn/node_modules/bower/bin/bower:109:18) at Logger.EventEmitter.emit (events.js:95:17) at Logger.emit (/Users/SudheeshSinganamalla/Documents/popcorn/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39) at /Users/SudheeshSinganamalla/Documents/popcorn/node_modules/bower/lib/commands/install.js:27:16 at _rejected (/Users/SudheeshSinganamalla/Documents/popcorn/node_modules/bower/node_modules/q/q.js:808:24) at /Users/SudheeshSinganamalla/Documents/popcorn/node_modules/bower/node_modules/q/q.js:834:30 at Promise.when (/Users/SudheeshSinganamalla/Documents/popcorn/node_modules/bower/node_modules/q/q.js:1079:31) at Promise.promise.promiseDispatch (/Users/SudheeshSinganamalla/Documents/popcorn/node_modules/bower/node_modules/q/q.js:752:41) at /Users/SudheeshSinganamalla/Documents/popcorn/node_modules/bower/node_modules/q/q.js:574:44
Specifically, we'll need to update the node-statsd dependency
Whiteboard: [easy bug][goodfirstbug] → [easy bug][goodfirstbug][mentor=jbuck]
Updated node-statsd dependenciy to https: protocol PR -> https://github.com/mozilla/popcorn.webmaker.org/pull/501
Attachment #8390194 - Flags: review?(jon)
Assignee: nobody → admix.snurnikov
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
Commits pushed to master at https://github.com/mozilla/popcorn.webmaker.org https://github.com/mozilla/popcorn.webmaker.org/commit/ac253a00a8fa631f53b257b4773cf5a49cbdb10c [bug981588] - updated node-statsd dependenciy to https: protocol https://github.com/mozilla/popcorn.webmaker.org/commit/20a2356b48c47a1f829afed7c424706e92f33f84 Merge pull request #501 from admix/bug981588 [bug981588] - updated node-statsd dependenciy to https: protocol
Status: ASSIGNED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: