Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.41k stars 1.99k forks source link

Install gives wall of text with warning and errors #4122

Closed muffeeee closed 8 years ago

muffeeee commented 8 years ago

I don't think I've ever seen any nodejs project warning and erroring this much, nor has I ever seen ANY nodejs project depending on this many libraries. This project is slow and messy, but most of the time it won't even work. Six hundred and fifty-two modules? Are you guys crazy?

Here's what I get from installing, anyway:

muffe@muffe:~/wp-calypso$ sudo make run
             _
    ___ __ _| |_   _ _ __  ___  ___
   / __/ _` | | | | | '_ \/ __|/ _ \
  | (_| (_| | | |_| | |_) \__ \ (_) |
   \___\__,_|_|\__, | .__/|___/\___/
               |___/|_|

semver@5.1.0 node_modules/semver
npm WARN deprecated babel-core@5.8.12: Babel 5 is no longer being maintained. Upgrade to Babel 6.
npm WARN peerDependencies The peer dependency react@0.12 - 0.14 included from qrcode.react will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency webpack@^1.0.0 included from webpack-dev-middleware will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency react@^0.14.0 included from react-tap-event-plugin will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated jade-lexer@0.0.9: Replaced by pug-lexer
npm WARN deprecated jade-runtime@2.0.0: Replaced by pug-runtime
npm WARN peerDependencies The peer dependency react@^0.14.0 included from react-redux will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency redux@^2.0.0 || ^3.0.0 included from react-redux will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency babel-core@* included from babel-loader will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency webpack@* included from babel-loader will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency webpack@^1.3.0 included from webpack-dev-server will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated jade-runtime@1.1.0: Replaced by pug-runtime
npm WARN deprecated jade-attrs@2.0.0: Replaced by pug-attrs
npm WARN deprecated jade-error@1.2.0: Replaced by pug-error
npm WARN deprecated lodash@2.4.1: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@2.0.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN peerDependencies The peer dependency react@0.13.x || 0.14.x included from enzyme will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

> utf-8-validate@1.2.1 install /home/muffe/wp-calypso/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.3.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/muffe/wp-calypso/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/.node-gyp"
make[1]: Entering directory `/home/muffe/wp-calypso/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/obj.target/validation.node
  COPY Release/validation.node
make[1]: Leaving directory `/home/muffe/wp-calypso/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build'
npm WARN optional dep failed, continuing fsevents@1.0.8

> bufferutil@1.2.1 install /home/muffe/wp-calypso/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.3.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/muffe/wp-calypso/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/.node-gyp"
make[1]: Entering directory `/home/muffe/wp-calypso/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/obj.target/bufferutil.node
  COPY Release/bufferutil.node
make[1]: Leaving directory `/home/muffe/wp-calypso/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build'
|
> utf-8-validate@1.2.1 install /home/muffe/wp-calypso/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.3.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/muffe/wp-calypso/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/.node-gyp"
make[1]: Entering directory `/home/muffe/wp-calypso/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/obj.target/validation.node
  COPY Release/validation.node
make[1]: Leaving directory `/home/muffe/wp-calypso/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build'

> bufferutil@1.2.1 install /home/muffe/wp-calypso/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.3.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/muffe/wp-calypso/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/.node-gyp"
make[1]: Entering directory `/home/muffe/wp-calypso/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/obj.target/bufferutil.node
  COPY Release/bufferutil.node
make[1]: Leaving directory `/home/muffe/wp-calypso/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build'
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN optional dep failed, continuing fsevents@1.0.8
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.

> spawn-sync@1.0.15 postinstall /home/muffe/wp-calypso/node_modules/node-sass/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall

npm WARN optional dep failed, continuing fsevents@1.0.8
-
> node-sass@3.4.2 install /home/muffe/wp-calypso/node_modules/node-sass
> node scripts/install.js

Binary downloaded and installed at /home/muffe/wp-calypso/node_modules/node-sass/vendor/linux-x64-46/binding.node

> node-sass@3.4.2 postinstall /home/muffe/wp-calypso/node_modules/node-sass
> node scripts/build.js

` /home/muffe/wp-calypso/node_modules/node-sass/vendor/linux-x64-46/binding.node ` exists.
 testing binary.
Binary is fine; exiting.
jstimezonedetect@1.0.5 node_modules/jstimezonedetect

json-loader@0.5.4 node_modules/json-loader

commander@2.3.0 node_modules/commander

sinon-chai@2.7.0 node_modules/sinon-chai

escape-string-regexp@1.0.3 node_modules/escape-string-regexp

cookie@0.1.2 node_modules/cookie

char-spinner@1.0.1 node_modules/char-spinner

escape-regexp@0.0.1 node_modules/escape-regexp

inherits@2.0.1 node_modules/inherits

ms@0.7.1 node_modules/ms

email-validator@1.0.1 node_modules/email-validator

tween.js@16.3.1 node_modules/tween.js

react-addons-create-fragment@0.14.3 node_modules/react-addons-create-fragment

react-addons-css-transition-group@0.14.3 node_modules/react-addons-css-transition-group

react-addons-linked-state-mixin@0.14.3 node_modules/react-addons-linked-state-mixin

react-addons-test-utils@0.14.3 node_modules/react-addons-test-utils

react-addons-update@0.14.3 node_modules/react-addons-update

component-uid@0.0.2 node_modules/component-uid

localStorage@1.0.2 node_modules/localStorage

phone@1.0.4-3 node_modules/phone

deep-freeze@0.0.1 node_modules/deep-freeze

striptags@2.1.1 node_modules/striptags

key-mirror@1.0.1 node_modules/key-mirror

atob@1.1.2 node_modules/atob

classnames@1.1.1 node_modules/classnames

he@0.5.0 node_modules/he

async@0.9.0 node_modules/async

keymaster@1.6.2 node_modules/keymaster

browser-filesaver@1.1.0 node_modules/browser-filesaver

emitter-component@1.1.1 node_modules/emitter-component

redux-thunk@1.0.0 node_modules/redux-thunk

esformatter-quotes@1.0.3 node_modules/esformatter-quotes

autosize@3.0.7 node_modules/autosize

react-pure-render@1.0.2 node_modules/react-pure-render

react-click-outside@2.1.0 node_modules/react-click-outside

q@1.0.1 node_modules/q

lodash-deep@1.5.3 node_modules/lodash-deep

react-dom@0.14.3 node_modules/react-dom

mockery@1.4.0 node_modules/mockery

debug@2.2.0 node_modules/debug

jed@1.0.2 node_modules/jed

tv4@1.2.7 node_modules/tv4

path-parser@1.0.2 node_modules/path-parser

wpcom-xhr-request@0.3.4 node_modules/wpcom-xhr-request

immutable@3.7.5 node_modules/immutable

qs@4.0.0 node_modules/qs

store@1.3.16 node_modules/store

dom-scroll-into-view@1.0.1 node_modules/dom-scroll-into-view

marked@0.3.5 node_modules/marked

rewire@2.3.3 node_modules/rewire

srcset@1.0.0 node_modules/srcset
├── array-uniq@1.0.2
└── number-is-nan@1.0.0

events@1.0.2 node_modules/events

esformatter-semicolons@1.1.1 node_modules/esformatter-semicolons

walk@2.3.4 node_modules/walk
└── foreachasync@3.0.0

better-assert@1.0.2 node_modules/better-assert
└── callsite@1.0.0

cookie-parser@1.3.2 node_modules/cookie-parser
└── cookie-signature@1.0.4

esformatter-special-bangs@1.0.1 node_modules/esformatter-special-bangs
└── rocambole-token@1.2.1

esformatter-braces@1.2.1 node_modules/esformatter-braces
└── rocambole-token@1.2.1

redux@3.0.4 node_modules/redux

raf@2.0.4 node_modules/raf
└── performance-now@0.1.4

webpack-dev-middleware@1.2.0 node_modules/webpack-dev-middleware
├── memory-fs@0.2.0
└── mime@1.3.4

component-classes@1.2.1 node_modules/component-classes
└── component-indexof@0.0.3

wpcom-proxy-request@1.0.5 node_modules/wpcom-proxy-request
├── component-event@0.1.4
├── progress-event@1.0.0
└── uid@0.0.2

jshashes@1.0.5 node_modules/jshashes

react-day-picker@1.1.0 node_modules/react-day-picker

qrcode.react@0.5.2 node_modules/qrcode.react
└── qr.js@0.0.0

lru-cache@4.0.0 node_modules/lru-cache
├── pseudomap@1.0.2
└── yallist@2.0.0

photon@2.0.0 node_modules/photon
├── seed-random@2.2.0
└── crc32@0.2.2

chalk@1.0.0 node_modules/chalk
├── supports-color@1.3.1
├── strip-ansi@2.0.1 (ansi-regex@1.1.1)
├── has-ansi@1.0.3 (get-stdin@4.0.1, ansi-regex@1.1.1)
└── ansi-styles@2.2.0 (color-convert@1.0.0)

morgan@1.2.0 node_modules/morgan
├── basic-auth@1.0.0
├── depd@0.4.2
├── bytes@1.0.0
└── finished@1.2.2 (ee-first@1.0.3)

page@1.6.4 node_modules/page
└── path-to-regexp@1.2.1 (isarray@0.0.1)

mixedindentlint@1.1.1 node_modules/mixedindentlint
└── minimist@1.2.0

eslint-plugin-react@3.11.3 node_modules/eslint-plugin-react

creditcards@1.1.1 node_modules/creditcards
└── camel-case@0.1.0 (sentence-case@0.1.2)

component-closest@0.1.4 node_modules/component-closest
└── component-matches-selector@0.1.5 (component-query@0.0.3)

moment-timezone@0.4.1 node_modules/moment-timezone

source-map@0.1.39 node_modules/source-map
└── amdefine@1.0.0

esformatter-dot-notation@1.3.1 node_modules/esformatter-dot-notation
├── unquoted-property-validator@1.0.0
├── rocambole-token@1.2.1
└── rocambole@0.6.0 (esprima@2.7.2)

glob@7.0.3 node_modules/glob
├── path-is-absolute@1.0.0
├── once@1.3.3 (wrappy@1.0.1)
├── inflight@1.0.4 (wrappy@1.0.1)
└── minimatch@3.0.0 (brace-expansion@1.1.3)

to-title-case@0.1.5 node_modules/to-title-case
├── escape-regexp-component@1.0.2
├── title-case-minors@0.0.2
└── to-capital-case@0.1.1 (to-no-case@0.1.1)

eslint-plugin-wpcalypso@1.1.3 node_modules/eslint-plugin-wpcalypso
└── requireindex@1.1.0

body-parser@1.15.0 node_modules/body-parser
├── content-type@1.0.1
├── bytes@2.2.0
├── depd@1.1.0
├── on-finished@2.3.0 (ee-first@1.1.1)
├── qs@6.1.0
├── raw-body@2.1.6 (unpipe@1.0.0, bytes@2.3.0)
├── http-errors@1.4.0 (statuses@1.2.1)
├── iconv-lite@0.4.13
└── type-is@1.6.12 (media-typer@0.3.0, mime-types@2.1.10)

react-hot-loader@1.3.0 node_modules/react-hot-loader
├── react-hot-api@0.4.7
└── source-map@0.4.4 (amdefine@1.0.0)

xgettext-js@0.3.0 node_modules/xgettext-js
├── lodash@2.4.2
└── acorn@3.0.4

esformatter-collapse-objects-a8c@0.1.0 node_modules/esformatter-collapse-objects-a8c
├── rocambole-token@1.2.1
├── defaults-deep@0.2.3 (is-extendable@0.1.1, lazy-cache@0.2.7, for-own@0.1.3)
└── rocambole@0.5.1 (esprima@2.7.2)

mocha-junit-reporter@1.9.1 node_modules/mocha-junit-reporter
├── xml@1.0.1
└── mkdirp@0.5.1 (minimist@0.0.8)

express@4.13.3 node_modules/express
├── escape-html@1.0.2
├── merge-descriptors@1.0.0
├── array-flatten@1.1.1
├── cookie@0.1.3
├── utils-merge@1.0.0
├── cookie-signature@1.0.6
├── vary@1.0.1
├── methods@1.1.2
├── content-type@1.0.1
├── etag@1.7.0
├── fresh@0.3.0
├── parseurl@1.3.1
├── content-disposition@0.5.0
├── path-to-regexp@0.1.7
├── range-parser@1.0.3
├── depd@1.0.1
├── on-finished@2.3.0 (ee-first@1.1.1)
├── finalhandler@0.4.0 (unpipe@1.0.0)
├── send@0.13.0 (destroy@1.0.3, http-errors@1.3.1, statuses@1.2.1, mime@1.3.4)
├── proxy-addr@1.0.10 (forwarded@0.1.0, ipaddr.js@1.0.5)
├── type-is@1.6.12 (media-typer@0.3.0, mime-types@2.1.10)
├── accepts@1.2.13 (negotiator@0.5.3, mime-types@2.1.10)
└── serve-static@1.10.2 (escape-html@1.0.3, send@0.13.1)

react-redux@4.0.1 node_modules/react-redux
├── hoist-non-react-statics@1.0.5
└── invariant@2.2.1 (loose-envify@1.1.0)

redux-analytics@0.3.0 node_modules/redux-analytics
└── flux-standard-action@0.6.1 (lodash.isplainobject@3.2.0)

chai@2.0.0 node_modules/chai
├── assertion-error@1.0.0
└── deep-eql@0.1.3 (type-detect@0.1.1)

source-map-support@0.3.2 node_modules/source-map-support
└── source-map@0.1.32 (amdefine@1.0.0)

superagent@1.2.0 node_modules/superagent
├── extend@1.2.1
├── cookiejar@2.0.1
├── methods@1.0.1
├── component-emitter@1.1.2
├── reduce-component@1.0.1
├── mime@1.3.4
├── qs@2.3.3
├── readable-stream@1.0.27-1 (string_decoder@0.10.31, isarray@0.0.1, core-util-is@1.0.2)
├── form-data@0.2.0 (mime-types@2.0.14, combined-stream@0.0.7)
└── formidable@1.0.14

chrono-node@1.1.3 node_modules/chrono-node

clipboard@1.5.3 node_modules/clipboard
├── tiny-emitter@1.0.2
├── select@1.0.6
└── good-listener@1.1.7 (delegate@3.0.1)

sinon@1.12.2 node_modules/sinon
├── lolex@1.1.0
├── util@0.10.3
└── formatio@1.1.1 (samsam@1.1.3)

rtlcss@1.6.1 node_modules/rtlcss
├── strip-json-comments@1.0.4
├── findup@0.1.5 (commander@2.1.0, colors@0.6.2)
├── mkdirp@0.5.0 (minimist@0.0.8)
└── postcss@4.1.16 (js-base64@2.1.9, es6-promise@2.3.0, source-map@0.4.4)

supertest@1.2.0 node_modules/supertest
├── methods@1.1.2
└── superagent@1.8.0 (component-emitter@1.2.0, cookiejar@2.0.6, reduce-component@1.0.1, extend@3.0.0, mime@1.3.4, formidable@1.0.17, qs@2.3.3, readable-stream@1.0.27-1, form-data@1.0.0-rc3)

jquery@1.11.3 node_modules/jquery

localforage@1.3.3 node_modules/localforage
└── promise@5.0.0 (asap@1.0.0)

lunr@0.5.7 node_modules/lunr

nock@2.17.0 node_modules/nock
├── propagate@0.3.1
├── deep-equal@1.0.1
├── lodash@2.4.1
├── debug@1.0.4 (ms@0.6.2)
└── mkdirp@0.5.1 (minimist@0.0.8)

click-outside@1.0.4 node_modules/click-outside
├── node-contains@1.0.0
├── component-event@0.1.4
└── babel-runtime@4.7.4 (core-js@0.6.1)

uglify-js@2.6.1 node_modules/uglify-js
├── async@0.2.10
├── uglify-to-browserify@1.0.2
├── source-map@0.5.3
└── yargs@3.10.0 (decamelize@1.2.0, camelcase@1.2.1, window-size@0.1.0, cliui@2.1.0)

moment@2.10.6 node_modules/moment

sanitize-html@1.11.1 node_modules/sanitize-html
├── regexp-quote@0.0.0
├── xtend@4.0.1
└── htmlparser2@3.8.3 (domelementtype@1.3.0, entities@1.0.0, domhandler@2.3.0, readable-stream@1.1.13, domutils@1.5.1)

mocha@2.3.4 node_modules/mocha
├── escape-string-regexp@1.0.2
├── diff@1.4.0
├── growl@1.8.1
├── supports-color@1.2.0
├── mkdirp@0.5.0 (minimist@0.0.8)
├── glob@3.2.3 (graceful-fs@2.0.3, minimatch@0.2.14)
└── jade@0.26.3 (commander@0.6.1, mkdirp@0.3.0)

exports-loader@0.6.2 node_modules/exports-loader
└── loader-utils@0.2.12 (big.js@3.1.3, json5@0.4.0)

imports-loader@0.6.5 node_modules/imports-loader
└── loader-utils@0.2.12 (big.js@3.1.3, json5@0.4.0)

html-loader@0.4.0 node_modules/html-loader
├── object-assign@4.0.1
├── fastparse@1.1.1
├── source-map@0.5.3
├── es6-templates@0.2.2 (through@2.3.8, recast@0.9.18)
├── html-minifier@1.2.0 (relateurl@0.2.6, change-case@2.3.1, concat-stream@1.5.1, cli@0.11.2, clean-css@3.4.10)
└── loader-utils@0.2.12 (big.js@3.1.3, json5@0.4.0)

webpack-dev-server@1.11.0 node_modules/webpack-dev-server
├── connect-history-api-fallback@1.1.0
├── stream-cache@0.0.2
├── strip-ansi@3.0.1 (ansi-regex@2.0.0)
├── supports-color@3.1.2 (has-flag@1.0.0)
├── http-proxy@1.13.2 (eventemitter3@1.1.1, requires-port@1.0.0)
├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
├── socket.io-client@1.4.5 (parseuri@0.0.4, to-array@0.1.4, component-emitter@1.2.0, indexof@0.0.1, component-bind@1.0.0, backo2@1.0.2, object-component@0.0.3, has-binary@0.1.7, socket.io-parser@2.2.6, engine.io-client@1.6.8)
└── serve-index@1.7.3 (escape-html@1.0.3, parseurl@1.3.1, batch@0.5.3, http-errors@1.3.1, mime-types@2.1.10, accepts@1.2.13)

tinymce@4.2.8 node_modules/tinymce

babel-loader@5.3.2 node_modules/babel-loader
├── object-assign@3.0.0
└── loader-utils@0.2.12 (big.js@3.1.3, json5@0.4.0)

component-tip@2.5.0 node_modules/component-tip
├── component-bind@1.0.0
├── component-query@0.0.3
├── domify@1.3.0
├── component-emitter@1.1.3
├── bounding-client-rect@1.0.5 (get-document@1.0.0)
├── component-events@1.0.9 (component-event@0.1.4, component-delegate@0.2.3)
├── html-browserify@0.0.4 (through@2.3.8)
└── component-css@0.0.6 (within-document@0.0.1, to-camel-case@0.2.1, component-each@0.2.6)

socket.io@1.3.7 node_modules/socket.io
├── has-binary-data@0.1.3 (isarray@0.0.1)
├── debug@2.1.0 (ms@0.6.2)
├── socket.io-adapter@0.3.1 (object-keys@1.0.1, debug@1.0.2, socket.io-parser@2.2.2)
├── socket.io-parser@2.2.4 (isarray@0.0.1, debug@0.7.4, component-emitter@1.1.2, benchmark@1.0.0, json3@3.2.6)
├── engine.io@1.5.4 (base64id@0.1.0, debug@1.0.3, engine.io-parser@1.2.2, ws@0.8.0)
└── socket.io-client@1.3.7 (parseuri@0.0.2, to-array@0.1.3, debug@0.7.4, indexof@0.0.1, component-bind@1.0.0, backo2@1.0.2, object-component@0.0.3, component-emitter@1.1.2, has-binary@0.1.6, engine.io-client@1.5.4)

blanket@1.1.6 node_modules/blanket
├── falafel@0.1.6
├── esprima@1.0.4
└── xtend@2.1.2 (object-keys@0.4.0)

jade@1.11.0 node_modules/jade
├── jade-runtime@2.0.0
├── jade-load@0.0.4 (jade-walk@0.0.3)
├── jade-strip-comments@1.0.0 (jade-error@1.2.0)
├── jade-linker@0.0.3 (jade-error@1.2.0, jade-walk@0.0.3)
├── jade-code-gen@0.0.4 (doctypes@1.0.0, js-stringify@1.0.2, jade-attrs@2.0.0, void-elements@2.0.1, jade-runtime@1.1.0, constantinople@3.0.2, with@5.0.0)
├── jade-filters@1.1.0 (jade-error@1.2.0, jade-walk@0.0.3, constantinople@3.0.2, resolve@1.1.7, jstransformer@0.0.3, clean-css@3.4.10)
├── jade-parser@0.0.9 (jade-error@1.2.0, token-stream@0.0.1)
└── jade-lexer@0.0.9 (jade-error@1.2.0, character-parser@2.2.0, is-expression@1.0.2)

jsdom@7.2.0 node_modules/jsdom
├── webidl-conversions@2.0.1
├── acorn-globals@1.0.9
├── sax@1.1.6
├── abab@1.0.3
├── xml-name-validator@2.0.1
├── symbol-tree@3.1.4
├── tough-cookie@2.2.2
├── nwmatcher@1.3.7
├── cssom@0.3.1
├── whatwg-url-compat@0.6.5 (tr46@0.0.3)
├── parse5@1.5.1
├── acorn@2.7.0
├── escodegen@1.8.0 (estraverse@1.9.3, esutils@2.0.2, esprima@2.7.2, optionator@0.8.1, source-map@0.2.0)
├── request@2.69.0 (aws-sign2@0.6.0, forever-agent@0.6.1, tunnel-agent@0.4.2, oauth-sign@0.8.1, caseless@0.11.0, is-typedarray@1.0.0, aws4@1.3.2, stringstream@0.0.5, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, node-uuid@1.4.7, qs@6.0.2, combined-stream@1.0.5, mime-types@2.1.10, form-data@1.0.0-rc3, bl@1.0.3, hawk@3.1.3, http-signature@1.1.1, har-validator@2.0.6)
└── cssstyle@0.2.34

webpack@1.12.6 node_modules/webpack
├── interpret@0.6.6
├── tapable@0.1.10
├── async@1.5.2
├── clone@1.0.2
├── memory-fs@0.2.0
├── esprima@2.7.2
├── supports-color@3.1.2 (has-flag@1.0.0)
├── enhanced-resolve@0.9.1 (graceful-fs@4.1.3)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
├── webpack-core@0.6.8 (source-map@0.4.4, source-list-map@0.1.5)
├── watchpack@0.2.9 (graceful-fs@4.1.3, async@0.9.2, chokidar@1.4.3)
├── loader-utils@0.2.12 (big.js@3.1.3, json5@0.4.0)
└── node-libs-browser@0.5.3 (https-browserify@0.0.0, tty-browserify@0.0.0, constants-browserify@0.0.1, path-browserify@0.0.0, punycode@1.4.0, string_decoder@0.10.31, os-browserify@0.1.2, process@0.11.2, stream-browserify@1.0.0, assert@1.3.0, domain-browser@1.1.7, querystring-es3@0.2.1, timers-browserify@1.4.2, util@0.10.3, vm-browserify@0.0.4, console-browserify@1.1.0, readable-stream@1.1.13, url@0.10.3, http-browserify@1.7.0, buffer@3.6.0, browserify-zlib@0.1.4, crypto-browserify@3.2.8)

babel@5.8.12 node_modules/babel
├── slash@1.0.0
├── path-exists@1.0.0
├── path-is-absolute@1.0.0
├── fs-readdir-recursive@0.1.2
├── convert-source-map@1.2.0
├── commander@2.9.0 (graceful-readlink@1.0.1)
├── source-map@0.4.4 (amdefine@1.0.0)
├── glob@5.0.15 (once@1.3.3, inflight@1.0.4, minimatch@3.0.0)
├── output-file-sync@1.1.1 (xtend@4.0.1, mkdirp@0.5.1)
├── chokidar@1.4.3 (glob-parent@2.0.0, async-each@1.0.0, is-glob@2.0.1, is-binary-path@1.0.1, readdirp@2.0.0, anymatch@1.3.0)
└── lodash@3.10.1

enzyme@1.1.0 node_modules/enzyme
├── underscore@1.8.3
├── mocha-jsdom@1.1.0
├── sinon@1.17.3 (formatio@1.1.1, samsam@1.1.2, lolex@1.3.2, util@0.10.3)
├── jsdom@6.5.1 (acorn-globals@1.0.9, xml-name-validator@2.0.1, browser-request@0.3.3, xmlhttprequest@1.8.0, xtend@4.0.1, symbol-tree@3.1.4, tough-cookie@2.2.2, nwmatcher@1.3.7, cssom@0.3.1, whatwg-url-compat@0.6.5, parse5@1.5.1, acorn@2.7.0, htmlparser2@3.9.0, escodegen@1.8.0, request@2.69.0, cssstyle@0.2.34)
└── cheerio@0.19.0 (entities@1.1.1, dom-serializer@0.1.0, css-select@1.0.0, htmlparser2@3.8.3, lodash@3.10.1)

autoprefixer@4.0.0 node_modules/autoprefixer
├── fs-extra@0.11.1 (jsonfile@2.2.3, rimraf@2.5.2, ncp@0.6.0, mkdirp@0.5.1)
├── postcss@3.0.7 (js-base64@2.1.9, source-map@0.1.43)
└── autoprefixer-core@4.0.2 (caniuse-db@1.0.30000428)

babel-runtime@5.8.12 node_modules/babel-runtime
└── core-js@0.9.18

wpcom-unpublished@1.0.10 node_modules/wpcom-unpublished
└── wpcom@4.8.5 (babel@5.8.35)

esformatter@0.7.3 node_modules/esformatter
├── rocambole-node@1.0.0
├── debug@0.7.4
├── strip-json-comments@0.1.3
├── stdin@0.0.1
├── supports-color@1.3.1
├── rocambole-token@1.2.1
├── user-home@2.0.0 (os-homedir@1.0.1)
├── semver@2.2.1
├── minimist@1.2.0
├── espree@1.12.3
├── rocambole-whitespace@1.0.0 (repeat-string@1.5.4, debug@2.2.0)
├── rocambole-linebreak@1.0.1 (debug@2.2.0, semver@4.3.6)
├── rocambole@0.7.0 (esprima@2.7.2)
├── glob@5.0.15 (path-is-absolute@1.0.0, once@1.3.3, inflight@1.0.4, minimatch@3.0.0)
├── disparity@2.0.0 (diff@1.4.0, ansi-styles@2.2.0)
├── resolve@1.1.7
├── npm-run@1.1.1 (sync-exec@0.5.0, serializerr@1.0.2, npm-path@1.1.0)
├── mout@0.12.0
└── rocambole-indent@2.0.4 (debug@2.2.0, mout@0.11.1)

react-helmet@2.2.0 node_modules/react-helmet
├── deep-equal@1.0.1
├── shallowequal@0.2.2 (lodash.keys@3.1.2)
├── invariant@2.1.2 (loose-envify@1.1.0)
├── warning@2.1.0 (loose-envify@1.1.0)
├── react-side-effect@1.0.2 (fbjs@0.1.0-alpha.10)
└── core-js@1.2.6

lodash@4.5.0 node_modules/lodash

babel-core@5.8.12 node_modules/babel-core
├── slash@1.0.0
├── try-resolve@1.0.1
├── babel-plugin-remove-console@1.0.1
├── babel-plugin-remove-debugger@1.0.1
├── babel-plugin-react-constant-elements@1.0.3
├── babel-plugin-react-display-name@1.0.3
├── babel-plugin-eval@1.0.1
├── babel-plugin-dead-code-elimination@1.0.2
├── babel-plugin-inline-environment-variables@1.0.1
├── babel-plugin-constant-folding@1.0.1
├── babel-plugin-property-literals@1.0.1
├── babel-plugin-jscript@1.0.4
├── babel-plugin-undefined-to-void@1.1.6
├── path-exists@1.0.0
├── to-fast-properties@1.0.1
├── trim-right@1.0.1
├── babel-plugin-member-expression-literals@1.0.1
├── shebang-regex@1.0.0
├── path-is-absolute@1.0.0
├── fs-readdir-recursive@0.1.2
├── babel-plugin-proto-to-assign@1.0.4
├── babel-plugin-runtime@1.0.7
├── globals@6.4.1
├── private@0.1.6
├── strip-json-comments@1.0.4
├── esutils@2.0.2
├── convert-source-map@1.2.0
├── js-tokens@1.0.1
├── home-or-tmp@1.0.0 (os-tmpdir@1.0.1, user-home@1.1.1)
├── babel-plugin-undeclared-variables-check@1.0.2 (leven@1.0.2)
├── line-numbers@0.2.0 (left-pad@0.0.3)
├── babylon@5.8.35
├── is-integer@1.0.6 (is-finite@1.0.1)
├── repeating@1.1.3 (is-finite@1.0.1)
├── source-map@0.4.4 (amdefine@1.0.0)
├── detect-indent@3.0.1 (get-stdin@4.0.1, minimist@1.2.0)
├── minimatch@2.0.10 (brace-expansion@1.1.3)
├── bluebird@2.10.2
├── output-file-sync@1.1.1 (xtend@4.0.1, mkdirp@0.5.1)
├── resolve@1.1.7
├── regexpu@1.3.0 (regjsgen@0.2.0, regenerate@1.2.1, esprima@2.7.2, regjsparser@0.1.5, recast@0.10.43)
├── source-map-support@0.2.10 (source-map@0.1.32)
├── regenerator@0.8.34 (through@2.3.8, esprima-fb@13001.1.0-dev-harmony-fb, recast@0.10.18, commoner@0.10.4, defs@1.1.1)
├── lodash@3.10.1
└── core-js@0.9.18

twemoji@1.3.2 node_modules/twemoji

fbjs@0.5.0 node_modules/fbjs
├── whatwg-fetch@0.9.0
├── ua-parser-js@0.7.10
├── loose-envify@1.1.0 (js-tokens@1.0.2)
├── promise@7.1.1 (asap@2.0.3)
└── core-js@1.2.6

react-tap-event-plugin@0.2.1 node_modules/react-tap-event-plugin
└── fbjs@0.2.1 (whatwg-fetch@0.9.0, promise@7.1.1, core-js@1.2.6)

flux@2.1.1 node_modules/flux
├── fbjs@0.1.0-alpha.7 (whatwg-fetch@0.9.0, promise@7.1.1, core-js@1.2.6)
└── fbemitter@2.0.2 (fbjs@0.7.2)

eslint@1.10.3 node_modules/eslint
├── path-is-absolute@1.0.0
├── object-assign@4.0.1
├── path-is-inside@1.0.1
├── globals@8.18.0
├── estraverse@4.2.0
├── xml-escape@1.0.0
├── strip-json-comments@1.0.4
├── esutils@2.0.2
├── estraverse-fb@1.3.1
├── text-table@0.2.0
├── user-home@2.0.0 (os-homedir@1.0.1)
├── is-resolvable@1.0.0 (tryit@1.0.2)
├── espree@2.2.5
├── doctrine@0.7.2 (isarray@0.0.1, esutils@1.1.6)
├── optionator@0.6.0 (fast-levenshtein@1.0.7, type-check@0.3.2, levn@0.2.5, wordwrap@0.0.3, deep-is@0.1.3, prelude-ls@1.1.2)
├── json-stable-stringify@1.0.1 (jsonify@0.0.0)
├── glob@5.0.15 (once@1.3.3, inflight@1.0.4)
├── shelljs@0.5.3
├── minimatch@3.0.0 (brace-expansion@1.1.3)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── concat-stream@1.5.1 (typedarray@0.0.6, readable-stream@2.0.5)
├── lodash.merge@3.3.2 (lodash.isarguments@3.0.8, lodash.istypedarray@3.0.5, lodash._getnative@3.9.1, lodash.keysin@3.0.8, lodash.isarray@3.0.4, lodash._arraycopy@3.0.0, lodash._arrayeach@3.0.0, lodash.keys@3.1.2, lodash.isplainobject@3.2.0, lodash.toplainobject@3.0.0, lodash._createassigner@3.1.1)
├── lodash.clonedeep@3.0.2 (lodash._bindcallback@3.0.1, lodash._baseclone@3.3.0)
├── lodash.omit@3.1.0 (lodash._pickbyarray@3.0.2, lodash._arraymap@3.0.0, lodash.restparam@3.6.1, lodash._bindcallback@3.0.1, lodash._baseflatten@3.1.4, lodash.keysin@3.0.8, lodash._pickbycallback@3.0.0, lodash._basedifference@3.0.3)
├── is-my-json-valid@2.13.1 (jsonpointer@2.0.0, generate-function@2.0.0, xtend@4.0.1, generate-object-property@1.2.0)
├── file-entry-cache@1.2.4 (flat-cache@1.0.10)
├── js-yaml@3.4.5 (esprima@2.7.2, argparse@1.0.6)
├── handlebars@4.0.5 (async@1.5.2, source-map@0.4.4, optimist@0.6.1)
├── inquirer@0.11.4 (strip-ansi@3.0.1, ansi-regex@2.0.0, ansi-escapes@1.3.0, figures@1.4.0, rx-lite@3.1.2, through@2.3.8, cli-width@1.1.1, string-width@1.0.1, readline2@1.0.1, cli-cursor@1.0.2, run-async@0.1.0, lodash@3.10.1)
└── escope@3.6.0 (esrecurse@4.1.0, es6-weak-map@2.0.1, es6-map@0.1.3)

babel-eslint@4.1.8 node_modules/babel-eslint
├── acorn-to-esprima@1.0.7
├── lodash.assign@3.2.0 (lodash._createassigner@3.1.1, lodash.keys@3.1.2, lodash._baseassign@3.2.0)
├── lodash.pick@3.1.0 (lodash._bindcallback@3.0.1, lodash._pickbyarray@3.0.2, lodash.restparam@3.6.1, lodash._baseflatten@3.1.4, lodash._pickbycallback@3.0.0)
└── babel-core@5.8.35 (slash@1.0.0, try-resolve@1.0.1, babel-plugin-remove-console@1.0.1, babel-plugin-remove-debugger@1.0.1, babel-plugin-constant-folding@1.0.1, babel-plugin-dead-code-elimination@1.0.2, babel-plugin-eval@1.0.1, babel-plugin-inline-environment-variables@1.0.1, babel-plugin-jscript@1.0.4, babel-plugin-property-literals@1.0.1, babel-plugin-react-constant-elements@1.0.3, babel-plugin-react-display-name@1.0.3, shebang-regex@1.0.0, to-fast-properties@1.0.1, trim-right@1.0.1, babel-plugin-member-expression-literals@1.0.1, babel-plugin-undefined-to-void@1.1.6, path-exists@1.0.0, babel-plugin-proto-to-assign@1.0.4, fs-readdir-recursive@0.1.2, path-is-absolute@1.0.0, babel-plugin-runtime@1.0.7, globals@6.4.1, private@0.1.6, esutils@2.0.2, convert-source-map@1.2.0, js-tokens@1.0.1, babel-plugin-undeclared-variables-check@1.0.2, home-or-tmp@1.0.0, line-numbers@0.2.0, source-map@0.5.3, babylon@5.8.35, is-integer@1.0.6, repeating@1.1.3, detect-indent@3.0.1, minimatch@2.0.10, bluebird@2.10.2, output-file-sync@1.1.1, resolve@1.1.7, regexpu@1.3.0, source-map-support@0.2.10, json5@0.4.0, regenerator@0.8.40, lodash@3.10.1, core-js@1.2.6)

react@0.14.3 node_modules/react
├── envify@3.4.0 (through@2.3.8, jstransform@10.1.0)
└── fbjs@0.3.2 (whatwg-fetch@0.9.0, ua-parser-js@0.7.10, loose-envify@1.1.0, promise@7.1.1, core-js@1.2.6)

node-sass@3.4.2 node_modules/node-sass
├── get-stdin@4.0.1
├── async-foreach@0.1.3
├── chalk@1.1.1 (supports-color@2.0.0, has-ansi@2.0.0, strip-ansi@3.0.1, ansi-styles@2.2.0)
├── nan@2.2.0
├── mkdirp@0.5.1 (minimist@0.0.8)
├── glob@5.0.15 (path-is-absolute@1.0.0, once@1.3.3, inflight@1.0.4, minimatch@3.0.0)
├── npmconf@2.1.2 (ini@1.3.4, uid-number@0.0.5, once@1.3.3, semver@4.3.6, osenv@0.1.3, nopt@3.0.6, config-chain@1.1.10)
├── gaze@0.5.2 (globule@0.1.0)
├── cross-spawn@2.1.5 (cross-spawn-async@2.1.9, spawn-sync@1.0.15)
├── meow@3.7.0 (decamelize@1.2.0, map-obj@1.0.1, trim-newlines@1.0.0, object-assign@4.0.1, camelcase-keys@2.0.0, minimist@1.2.0, loud-rejection@1.3.0, redent@1.0.0, normalize-package-data@2.3.5, read-pkg-up@1.0.1)
├── sass-graph@2.1.1 (glob@6.0.4, yargs@3.32.0)
├── request@2.69.0 (aws-sign2@0.6.0, forever-agent@0.6.1, tunnel-agent@0.4.2, oauth-sign@0.8.1, caseless@0.11.0, is-typedarray@1.0.0, aws4@1.3.2, stringstream@0.0.5, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, tough-cookie@2.2.2, node-uuid@1.4.7, qs@6.0.2, combined-stream@1.0.5, mime-types@2.1.10, form-data@1.0.0-rc3, bl@1.0.3, hawk@3.1.3, http-signature@1.1.1, har-validator@2.0.6)
└── node-gyp@3.3.1 (graceful-fs@4.1.3, fstream@1.0.8, osenv@0.1.3, nopt@3.0.6, minimatch@1.0.0, which@1.2.4, glob@4.5.3, tar@2.2.1, rimraf@2.5.2, npmlog@2.0.2, path-array@1.0.1)
Hash: e0324787fc8fdb8da7b7
Version: webpack 1.12.6
Time: 22074ms
                    Asset     Size  Chunks             Chunk Names
    bundle-development.js  1.47 MB       0  [emitted]  main
bundle-development.js.map  1.96 MB       0  [emitted]  main
    + 650 hidden modules
Rendering Complete, saving .css file...
Wrote CSS to /home/muffe/wp-calypso/public/style.css
Saving: /home/muffe/wp-calypso/public/style-rtl.css
Rendering Complete, saving .css file...
Wrote CSS to /home/muffe/wp-calypso/public/style-debug.css
Wrote Source Map to /home/muffe/wp-calypso/public/style-debug.css.map
Rendering Complete, saving .css file...
Wrote CSS to /home/muffe/wp-calypso/public/editor.css
wp-calypso booted in 1947ms - http://calypso.localhost:3000

Getting bundles ready, hold on...

The bundles thingy run for 5 minutes before doing anything. This long command output also makes my github window lag now..

muffeeee commented 8 years ago

Had to leave a comment to continue describing the problem.

When I attempt to visit the wordpress site (calypso.localhost:3000), it all gets stuck on a wordpress-logo with some "dev | docs" bar at the bottom. Nothing spectacular happens.

The load times reported by the server on each asset is from 200 to 4000 ms(!), which is extremely long. WP-Calypso also uses an insane amount of CPU and RAM resources of my server.

This project seems dead before even starting.

bluefuton commented 8 years ago

Thanks for your interest in Calypso, @muffeeee.

When I attempt to visit the wordpress site (calypso.localhost:3000), it all gets stuck on a wordpress-logo with some "dev | docs" bar at the bottom. Nothing spectacular happens.

Do you see anything in your error console?

muffeeee commented 8 years ago

@bluefuton

No. I only get the standard request logs that you would expect, only that the response times shown in the console range from 200ms to 10000ms. No further errors.

OS: Debian 7

klimeryk commented 8 years ago

Six hundred and fifty-two modules? Are you guys crazy?

This is hardly an issue with wp-calypso - if you look at our package.json, defining our dependencies, it seems reasonable for a project of this size. The problem is with the node ecosystem, where every little function becomes a separate module. Case in point: the recent debacle with left-pad that left "half of the internet" broken. Just depending on babel adds a ton of dependencies. Then there's React, etc.

Any reason why you are running this as root? AFAIK, there's no need for root permissions - node_modules are installed locally. Also, once they are installed, subsequent runs should be significantly faster (and less spammy).

Are there any errors in your browser's console? You can try running in full debug mode to see if any meaningful errors show up: DEBUG=* make run (this turns on all debugging messages for both back- and front-end).

Of course, you might have stumbled upon a broken master - please fetch the newest one from the repo and start by just trying make run again (maybe after a make distclean to start with truly a clean slate).