https://github.com/xPixv/willesPlay.js-Video-Dem
carryhjr / coplayer Goto Github PK
View Code? Open in Web Editor NEW异地同步播放视频,解决异地恋的部分困扰
异地同步播放视频,解决异地恋的部分困扰
如题
您好,十分感谢您的开源!
我希望能够使用到您的这个开源项目,但是我不太懂npm,在安装依赖的时候遇到了一些困难,安装 socket.io总是各种失败,google了一阵子,感觉像是版本问题,希望您能给与一点思路。
`root@iZ2vc73dy2czl4yhljwhq2Z:~/coplayer/coplayer# npm install --save socket.io --registry=https://registry.npm.taobao.org
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npm.taobao.org/socket.io
npm http 200 https://registry.npm.taobao.org/socket.io
npm WARN engine [email protected]: wanted: {"node":">=10.0.0"} (current: {"node":"v0.10.25","npm":"1.3.10"})
npm http GET https://registry.npm.taobao.org/accepts
npm http GET https://registry.npm.taobao.org/base64id
npm http GET https://registry.npm.taobao.org/debug
npm http GET https://registry.npm.taobao.org/engine.io
npm http GET https://registry.npm.taobao.org/socket.io-adapter
npm http GET https://registry.npm.taobao.org/socket.io-parser
npm http 200 https://registry.npm.taobao.org/accepts
npm http 200 https://registry.npm.taobao.org/base64id
npm http 200 https://registry.npm.taobao.org/engine.io
npm http 200 https://registry.npm.taobao.org/socket.io-parser
npm http 200 https://registry.npm.taobao.org/debug
npm http 200 https://registry.npm.taobao.org/socket.io-adapter
npm http GET https://registry.npm.taobao.org/types/cookie
npm http GET https://registry.npm.taobao.org/types/cors
npm http GET https://registry.npm.taobao.org/types/node
npm http 405 https://registry.npm.taobao.org/types/cookie
npm http 405 https://registry.npm.taobao.org/types/node
npm ERR! TypeError: Cannot read property 'latest' of undefined
npm ERR! at next (/usr/share/npm/lib/cache.js:687:35)
npm ERR! at /usr/share/npm/lib/cache.js:675:5
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Linux 4.4.0-85-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--save" "socket.io" "--registry=https://registry.npm.taobao.org"
npm ERR! cwd /root/coplayer/coplayer
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! type non_object_property_load
npm ERR! TypeError: Cannot read property 'latest' of undefined
npm ERR! at next (/usr/share/npm/lib/cache.js:687:35)
npm ERR! at /usr/share/npm/lib/cache.js:675:5
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Linux 4.4.0-85-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--save" "socket.io" "--registry=https://registry.npm.taobao.org"
npm ERR! cwd /root/coplayer/coplayer
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! type non_object_property_load
npm http 405 https://registry.npm.taobao.org/types/cors
npm ERR! TypeError: Cannot read property 'latest' of undefined
npm ERR! at next (/usr/share/npm/lib/cache.js:687:35)
npm ERR! at /usr/share/npm/lib/cache.js:675:5
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Linux 4.4.0-85-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--save" "socket.io" "--registry=https://registry.npm.taobao.org"
npm ERR! cwd /root/coplayer/coplayer
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! type non_object_property_load
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/coplayer/coplayer/npm-debug.log
npm ERR! not ok code 0
`
可以正常访问,各项操作也可以看到 message,但是无法播放视频,需要安装视频解码器吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.