hilongjw / vue-zhihu-daily Goto Github PK
View Code? Open in Web Editor NEWzhihu daily spa with vue 线上演示在这里 ---->
Home Page: http://zhihu.bood.in/
zhihu daily spa with vue 线上演示在这里 ---->
Home Page: http://zhihu.bood.in/
admin 与 index? index项目代码。admin是???
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 silly lifecycle [email protected]~prestart: no script for prestart, continuing
7 info lifecycle [email protected]~start: [email protected]
8 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/chenjun/repos/me/vue-demo/vue-zhihu-daily/node_modules/.bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
10 verbose lifecycle [email protected]~start: CWD: /Users/chenjun/repos/me/vue-demo/vue-zhihu-daily
11 silly lifecycle [email protected]~start: Args: [ '-c', 'cd server && node app' ]
12 silly lifecycle [email protected]~start: Returned: code: 1 signal: null
13 info lifecycle [email protected]~start: Failed to exec start script
14 verbose stack Error: [email protected] start: `cd server && node app`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:242:16)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at EventEmitter.emit (events.js:172:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at ChildProcess.emit (events.js:172:7)
14 verbose stack at maybeClose (internal/child_process.js:818:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid [email protected]
16 verbose cwd /Users/chenjun/repos/me/vue-demo/vue-zhihu-daily
17 error Darwin 16.3.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
19 error node v5.0.0
20 error npm v3.10.5
21 error code ELIFECYCLE
22 error [email protected] start: `cd server && node app`
22 error Exit status 1
23 error Failed at the [email protected] start script 'cd server && node app'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the vue-zhihu-daily package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error cd server && node app
23 error You can get information on how to open an issue for this project with:
23 error npm bugs vue-zhihu-daily
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls vue-zhihu-daily
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
npm报错提示如上
我以前自己用vuejs的时候也碰到过这个问题,一直没解决,刚用手机测试下了下,也存在这个问题
通过接口拿到启动界面图像数据, 图像是https的 ,但是界面不显示
<img v-bind:src="startImage.img">
startImage: {
img: 'https://pic4.zhimg.com/70444c83a9bd41c226e01508e7aeb36d.jpg'
}
请问有做过这个尝试么
请教一下部署在nginx应该配置呢?
我配了之后,会报这个错误:
app.js:23 GET http://ldl.vue.com/readapi?uri=http://news.at.zhihu.com/api/4/news/before/20160629 404 (Not Found)
谢谢~
为什么本地运行这个项目vuejsdevtools检测不出来任何东西
首页3个tab标签,手机端后面2个tab点击没有反应,pc可以的
这里面有两个模块 index模块和admin模块,整个admin模块都没有调用,而那个admin模块似乎是想写成一个弹幕?
使用npm start老是出现app is listening at port:80这样的东西
手机端 点击主题日报 和 关于没有反应
favicon没有,服务器端渲染没有
请问如果没有nodejs的基础的话,是不是暂时不推荐学习这个项目的?
还有这里的node应该只做了图片缓存的吧?
imagebox.js是您自己写出来的吗?太厉害了
项目中没有看到请求数据代码
firefox下无法点击头部菜单,提示错误:
TypeError: t.path is undefined app.js:18:8790
报错的,无法运行 你试了吗?
进度条插件没效果vue-progressbar
const AV = require('leanengine')
const config = {
appId: 'dpeFsmm4JIVgnmQP0tizLCcO-gzGzoHsz',
appKey: '2ph8iVVCL1TtNjKNCUG8TtKn'
}
AV.initialize(config.appId, config.appKey)
AV.Cloud.useMasterKey()
exports.AV = AV
呜哇~
E:\vue\zhihu>npm start
> [email protected] start E:\vue\zhihu
> cd server && node app
events.js:141
throw er; // Unhandled 'error' event
^
Error: listen EACCES 0.0.0.0:80
at Object.exports._errnoException (util.js:870:11)
at exports._exceptionWithHostPort (util.js:893:20)
at Server._listen2 (net.js:1221:19)
at listen (net.js:1270:10)
at Server.listen (net.js:1366:5)
at EventEmitter.listen (E:\vue\zhihu\node_modules\.4.14.0@express\lib\applic
ation.js:617:24)
at Object.<anonymous> (E:\vue\zhihu\server\app.js:25:5)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
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.