Error when installing famo.us

160 views Asked by At

I have node.js installed, and I want to install fam.us (http://famous.org/get-started.html)

I tried this command

npm install -g famous-cli

but I get an error, does anyone know how to fix it?

C:\Users\Me\Desktop\Apps\Messenger>npm install -g famous-cli
C:\Users\Me\AppData\Roaming\npm\famous -> C:\Users\Me\AppData\Roaming\npm\no
de_modules\famous-cli\bin\famous.js
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "famous-cli"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read

npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "famous-cli"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read

npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "famous-cli"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read

npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\phonegap-build requires colors@'0.6.x' but will load
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\connect-phonegap\node_modules\connect\node_modules\multiparty\nod
e_modules\stream-counter requires readable-stream@'~1.1.8' but will load
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\connect-phonegap\node_modules\connect\node_modules\multiparty\nod
e_modules\readable-stream,
npm WARN unmet dependency which is version 1.1.13-1
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\prompt\node_modules\winston requires colors@'0.x.x' but will load

npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
[email protected] C:\Users\Me\AppData\Roaming\npm\node_modules\famous-cli
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], supports-color@1
.3.1, [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], through@2.
3.7, [email protected], [email protected], [email protected])
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "famous-cli"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1

npm ERR! Callback called more than once.
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Me\Desktop\Apps\Messenger\npm-debug.log

C:\Users\Me\Desktop\Apps\Messenger>npm install -g famous-cli
C:\Users\Me\AppData\Roaming\npm\famous -> C:\Users\Me\AppData\Roaming\npm\no
de_modules\famous-cli\bin\famous.js
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\phonegap-build requires colors@'0.6.x' but will load
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\connect-phonegap\node_modules\connect\node_modules\multiparty\nod
e_modules\stream-counter requires readable-stream@'~1.1.8' but will load
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\connect-phonegap\node_modules\connect\node_modules\multiparty\nod
e_modules\readable-stream,
npm WARN unmet dependency which is version 1.1.13-1
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\prompt\node_modules\winston requires colors@'0.x.x' but will load

npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
[email protected] C:\Users\Me\AppData\Roaming\npm\node_modules\famous-cli
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], supports-color@1
.3.1, [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], through@2.
3.7, [email protected], [email protected], [email protected])

C:\Users\Me\Desktop\Apps\Messenger>npm install -g famous-cli
C:\Users\Me\AppData\Roaming\npm\famous -> C:\Users\Me\AppData\Roaming\npm\no
de_modules\famous-cli\bin\famous.js
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\phonegap-build requires colors@'0.6.x' but will load
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\connect-phonegap\node_modules\connect\node_modules\multiparty\nod
e_modules\stream-counter requires readable-stream@'~1.1.8' but will load
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\connect-phonegap\node_modules\connect\node_modules\multiparty\nod
e_modules\readable-stream,
npm WARN unmet dependency which is version 1.1.13-1
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\prompt\node_modules\winston requires colors@'0.x.x' but will load

npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
[email protected] C:\Users\Me\AppData\Roaming\npm\node_modules\famous-cli
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], supports-color@1
.3.1, [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], through@2.
3.7, [email protected], [email protected], [email protected])

C:\Users\Me\Desktop\Apps\Messenger>npm install -g famous-cli
C:\Users\Me\AppData\Roaming\npm\famous -> C:\Users\Me\AppData\Roaming\npm\no
de_modules\famous-cli\bin\famous.js
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\phonegap-build requires colors@'0.6.x' but will load
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\connect-phonegap\node_modules\connect\node_modules\multiparty\nod
e_modules\stream-counter requires readable-stream@'~1.1.8' but will load
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\connect-phonegap\node_modules\connect\node_modules\multiparty\nod
e_modules\readable-stream,
npm WARN unmet dependency which is version 1.1.13-1
npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\prompt\node_modules\winston requires colors@'0.x.x' but will load

npm WARN unmet dependency C:\Users\Me\AppData\Roaming\npm\node_modules\phonega
p\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
[email protected] C:\Users\Me\AppData\Roaming\npm\node_modules\famous-cli
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], supports-color@1
.3.1, [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], through@2.
3.7, [email protected], [email protected], [email protected])

C:\Users\Me\Desktop\Apps\Messenger>
1

There are 1 answers

0
Offirmo On

Your main error seems to be ECONNRESET, which npm conveniently describes to you in the error log :

This is most likely not a problem with npm itself and is related to network connectivity. In most cases you are behind a proxy or have bad network settings.

You should check you WiFi or network cable and try again. Clearing your npm dependencies and start from scratch may help :

rm -rf node_modules
rm -rf ~/.npm
rm -rf [your node path]/lib/node_modules