bailichen / vue-weixin Goto Github PK
View Code? Open in Web Editor NEWVue2 全家桶仿 微信App 项目,支持多人在线聊天和机器人聊天
License: MIT License
Vue2 全家桶仿 微信App 项目,支持多人在线聊天和机器人聊天
License: MIT License
访问不了了 大佬 好想看啊
ERROR in ./build/dev-client.js
Module build failed: ReferenceError: Unknown plugin "transform-runtime" specified in "D:\VUE2\vue-weixin-master\.babelrc" at 0
, attempted to resolve relative to "D:\VUE2\vue-weixin-master"
at D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file\options\option-manager.js:18
0:17
at Array.map (native)
at Function.normalisePlugins (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file\o
ptions\option-manager.js:158:20)
at OptionManager.mergeOptions (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file
options\option-manager.js:234:36)
at OptionManager.init (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file\options
option-manager.js:368:12)
at File.initOptions (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file\index.js:2
12:65)
at new File (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file\index.js:135:24)
at Pipeline.transform (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\pipeline.js:4
6:16)
at transpile (D:\VUE2\vue-weixin-master\node_modules._babel-loader@6.4.1@babel-loader\lib\index.js:46:20)
at Object.module.exports (D:\VUE2\vue-weixin-master\node_modules._babel-loader@6.4.1@babel-loader\lib\index.js:163:20)
@ multi app
ERROR in ./src/main.js
Module build failed: ReferenceError: Unknown plugin "transform-runtime" specified in "D:\VUE2\vue-weixin-master\.babelrc" at 0
, attempted to resolve relative to "D:\VUE2\vue-weixin-master"
at D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file\options\option-manager.js:18
0:17
at Array.map (native)
at Function.normalisePlugins (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file\o
ptions\option-manager.js:158:20)
at OptionManager.mergeOptions (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file
options\option-manager.js:234:36)
at OptionManager.init (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file\options
option-manager.js:368:12)
at File.initOptions (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file\index.js:2
12:65)
at new File (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\file\index.js:135:24)
at Pipeline.transform (D:\VUE2\vue-weixin-master\node_modules._babel-core@6.26.0@babel-core\lib\transformation\pipeline.js:4
6:16)
at transpile (D:\VUE2\vue-weixin-master\node_modules._babel-loader@6.4.1@babel-loader\lib\index.js:46:20)
at Object.module.exports (D:\VUE2\vue-weixin-master\node_modules._babel-loader@6.4.1@babel-loader\lib\index.js:163:20)
@ multi app
手机上调试还是不如pc上方便
config中的index.js 的assetsPublicPath路径改成了assetsPublicPath: './',打包后还是不能本地访问,一定要在服务器上访问吗? 还是其他地方有设置什么?
例如 widthHeight(0.9386666667rem,0.7466666667rem) 这种这么精确的数值是如何实现的
Vue全家桶做的电商项目,有兴趣的小伙伴可以学习下 https://github.com/Geek-James/ddBuy
ReferenceError: io is not defined
vue-router.esm.js:2316
ReferenceError: io is not defined
at Object../node_modules/_babel-loader@7.1.5@babel-loader/lib/index.js!./node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js?!./src/frames/conversation/groupchat.vue?vue&type=script&lang=js& (groupchat.vue:129:1)
at webpack_require (bootstrap:853:1)
at fn (bootstrap:150:1)
at Module../src/frames/conversation/groupchat.vue?vue&type=script&lang=js& (groupchat.vue?1ae0:1:1)
at webpack_require (bootstrap:853:1)
at fn (bootstrap:150:1)
at Module../src/frames/conversation/groupchat.vue (groupchat.vue:1:1)
at webpack_require (bootstrap:853:1)
at fn (bootstrap:150:1)
at router.js:5:1
应该是因为/socket.io.js 是从服务器拿的 但是这个服务器已经不开了 但是换用了本地的js 还是不行
<script src="js/socket.io.js"></script>网上搜了一下,暂时没有找到对emoji实现较好的开源,不知楼主能否添加这个功能
addressbook 滚动到最底部,在点击到别的tab,
返回addressbook不能定位到刚刚的底部位置,
不知可以添加此定位功能吗
I LOVE YOU MORE THAN I CAN SAY so please tell me how run dev?
接口今天发不通,谢啦
求问学习方法,我现在感觉技术栈里的东西学的混乱,而且学习的都非常浅,请教下您的学习方法,如果可以分享您的学习资料就更好了,谢谢
登录之后,各个按钮点击都没有反应
项目压根运行不起来
~
vue-weixin/src/router/router.js # 模块名写错了
import App from '../APP'
# 改成
import App from '../App'
你好,请问你的项目布局图使用什么工具做的呢?想学习,谢谢
希望提供下node版本, 我用的最新的node, install报各种兼容错误
最近在学习大佬的项目,记得之前接口还可以访问,为啥这几天一直进不去啊,还有想问下大佬这个项目有没有写啥笔记啥的,分享分享。最后想说一句,很强,很赞
请问通讯录右侧快速导航点了字母后上移会被拉回定位处是设计这样还是bug
请问下 你这个项目里的iscroll 是在哪里引用了,是怎么解决 聊天框最底部那个 position:fixed 的问题的呢?
^
In file included from ../fsevents.cc:73:
../src/constants.cc:102:11: error: no matching member function for call to
'Set'
object->Set(Nan::Newv8::String("kFSEventStreamEventFlagItemModifie...
/Users/yanminmin/Library/Caches/node-gyp/13.11.0/include/node/v8.h:3547:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/yanminmin/Library/Caches/node-gyp/13.11.0/include/node/v8.h:3550:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32...
^
In file included from ../fsevents.cc:73:
../src/constants.cc:103:11: error: no matching member function for call to
'Set'
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemFinderI...
~~~~~~~~^~~
/Users/yanminmin/Library/Caches/node-gyp/13.11.0/include/node/v8.h:3547:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/yanminmin/Library/Caches/node-gyp/13.11.0/include/node/v8.h:3550:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32...
^
In file included from ../fsevents.cc:73:
../src/constants.cc:104:11: error: no matching member function for call to
'Set'
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemChangeO...
~~~~~~~~^~~
/Users/yanminmin/Library/Caches/node-gyp/13.11.0/include/node/v8.h:3547:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/yanminmin/Library/Caches/node-gyp/13.11.0/include/node/v8.h:3550:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32...
^
In file included from ../fsevents.cc:73:
../src/constants.cc:105:11: error: no matching member function for call to
'Set'
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemXattrMo...
~~~~~~~~^~~
/Users/yanminmin/Library/Caches/node-gyp/13.11.0/include/node/v8.h:3547:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/yanminmin/Library/Caches/node-gyp/13.11.0/include/node/v8.h:3550:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32...
^
In file included from ../fsevents.cc:73:
../src/constants.cc:106:11: error: no matching member function for call to
'Set'
object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsFile"...
~~~~~~~~^~~
/Users/yanminmin/Library/Caches/node-gyp/13.11.0/include/node/v8.h:3547:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/yanminmin/Library/Caches/node-gyp/13.11.0/include/node/v8.h:3550:37: note:
candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32...
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/Cellar/node/13.11.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64" "--napi_version=6" "--node_abi_napi=napi"
gyp ERR! cwd /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/fsevents
gyp ERR! node -v v13.11.0
gyp ERR! node-gyp -v v5.0.7
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/13.11.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64/fse.node --module_name=fse --module_path=/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64 --napi_version=6 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1026:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Darwin 18.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/13.11.0/bin/node" "/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/fsevents
node-pre-gyp ERR! node -v v13.11.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/13.11.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64/fse.node --module_name=fse --module_path=/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64 --napi_version=6 --node_abi_napi=napi' (1)
> [email protected] install /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://npm.taobao.org/mirrors/node-sass/v4.11.0/darwin-x64-79_binding.node
Cannot download "https://npm.taobao.org/mirrors/node-sass/v4.11.0/darwin-x64-79_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
> [email protected] postinstall /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-sass
> node scripts/build.js
Building: /usr/local/Cellar/node/13.11.0/bin/node /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli '/usr/local/Cellar/node/13.11.0/bin/node',
gyp verb cli '/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library='
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb download using dist-url https://npm.taobao.org/dist
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:80:29)
gyp verb `which` failed at /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:89:16
gyp verb `which` failed at /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:171:21)
gyp verb `which` failed python2 Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:80:29)
gyp verb `which` failed at /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:89:16
gyp verb `which` failed at /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:171:21) {
gyp verb `which` failed stack: 'Error: not found: python2\n' +
gyp verb `which` failed ' at getNotFoundError (/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:13:12)\n' +
gyp verb `which` failed ' at F (/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:68:19)\n' +
gyp verb `which` failed ' at E (/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:80:29)\n' +
gyp verb `which` failed ' at /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/which/which.js:89:16\n' +
gyp verb `which` failed ' at /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/isexe/index.js:42:5\n' +
gyp verb `which` failed ' at /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/isexe/mode.js:8:5\n' +
gyp verb `which` failed ' at FSReqCallback.oncomplete (fs.js:171:21)',
gyp verb `which` failed code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/bin/python
gyp verb check python version `/usr/bin/python -c "import sys; print "2.7.16
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 13.11.0
gyp verb command install [ '13.11.0' ]
gyp verb download using dist-url https://npm.taobao.org/dist
gyp verb install input version string "13.11.0"
gyp verb install installing version: 13.11.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 13.11.0
gyp verb build dir attempting to create "build" dir: /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created? /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/yanminmin/.node-gyp/13.11.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/yanminmin/.node-gyp/13.11.0',
gyp info spawn args '-Dnode_gyp_dir=/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/yanminmin/.node-gyp/13.11.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/yanminmin/go/src/github.com/vue-weixin/node_modules/node-sass',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp verb command build []
gyp verb download using dist-url https://npm.taobao.org/dist
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/yanminmin/.node-gyp/13.11.0
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
需要下载么?
点z后滚动到最底部,再往上滚动时会回到最底部,希望大神给个解决办法,不胜感激!
能不能做到?
目前代码里是在写的时候用的插件自动转换为 rem 的么。感觉看起来样式代码很乱。
考虑下用 post2rem 在打包的时候处理点好。
代码写成
{
width: 44px;
}
然后打包后转换为 rem 好点。
这个 rem 自适应方案说起来还蛮久了。其实可以考虑直接用 flex 布局。
代码格式还是有点乱,估计是因为没有用 eslint 吧。
文件组件形式蛮喜欢的
用户跟用户 one2one的聊天,跟自己通讯录里面的人的聊天1对1
这么好的项目,不能继续使用,真的是一种可惜啊!心痛。
求维护啊
提个小问题
通讯录界面字母检索点击Z滚动至底部后,无法再滚动到顶部
在与通讯录中的"百里辰"对话时,机器人的回复显示在右侧(框与用户发言相同)。与其它用户聊天则没有此情况。(不知道这是 bug 还是 feature ?)
不能聊天
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.