我打劫,到快赢的时候,就电脑突然假死卡住不动动了怎么办

分享一个小小的 Vue.js + Node.js 的 后台管理系统 - CNode技术社区
这家伙很懒,什么个性签名都没有留下。
Vue Management System
mongodb 3+
Element UI
集成 wangEditor 富文本编辑器 (新浪表情包支持)
集成七牛云图片上传
集成极光推送
完整 Node.js 后端
后端角色权限控制
git clone https:/&#/ericjjj/vms.git
// 启动后端, 依赖 mongodb
cd backend/utils
// 复制配置文件, 并修改对应配置
cp config.simple.js config.js
// 运行
node index.js
// 启动前端
cd backend/utils
// 复制配置文件, 并修改对应配置
cp config.simple.js config.js
// 运行
npm run dev
cd backend
npm run test
互相交流 谢谢啦
npm run dev
ERROR in ./src/stores/api.js
Module not found: Error: Cannot resolve ‘file’ or ‘directory’ …/config in vms\frontend
src\stores
@ ./src/stores/api.js 8:14-34
ERROR in ./src/tools/index.js
Module not found: Error: Cannot resolve ‘file’ or ‘directory’ …/config.js in vms\fronte
nd\src\tools
@ ./src/tools/index.js 15:14-37
cp config.simple.js config.js
cp config.simple.js config.js
来自酷炫的
1,412 config.js
1,412 config.simple.js
backend 是正常的
是在npm run dev的时候报错 好象是webpack的问题
完整的错误信息 
------------------
npm run dev
VMS@1.0.0 dev  vms\frontend
node build/dev-server.js
Listening at
webpack: wait until bundle finished: /index.html
webpack built 913fa36a361ef1997f48 in 53071ms
Hash: 913fa36a361ef1997f48
Version: webpack 1.14.0
Time: 53071ms
Chunk Names
static/fonts/icomoon.0a74426.eot
static/fonts/icomoon.9f5fd7b.ttf
static/fonts/icomoon.7d4ac7d.woff
static/img/icomoon.f558046.svg
WARNING in ./~/vue-loader/lib/template-compiler?{“id”:“data-v-2f9cc3c4”}!./~/vue-loader/lib/templat
-compiler/preprocessor.js?raw&engine=pug!./~/vue-loader/lib/selector.js?type=template&index=0!./src
views/items/Users.vue
&el-option v-for=“item in options”&: component lists rendered with v-for should have explicit keys.
for more info.
WARNING in ./~/vue-loader/lib/template-compiler?{“id”:“data-v-2f9cc3c4”}!./~/vue-loader/lib/templat
-compiler/preprocessor.js?raw&engine=pug!./~/vue-loader/lib/selector.js?type=template&index=0!./src
views/items/Users.vue
&el-option v-for=“item in options”&: component lists rendered with v-for should have explicit keys.
for more info.
ERROR in ./src/stores/api.js
Module not found: Error: Cannot resolve ‘file’ or ‘directory’ …/config in  \vms\frontend
src\stores
@ ./src/stores/api.js 8:14-34
ERROR in ./src/tools/index.js
Module not found: Error: Cannot resolve ‘file’ or ‘directory’ …/config.js in  \vms\front
nd\src\tools
@ ./src/tools/index.js 15:14-37
Child html-webpack-plugin for “index.html”:
Chunk Names
index.html
webpack: Failed to compile.
cp config.simple.js config.js
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
服务器赞助商为
,存储赞助商为
,由提供应用性能服务。
新手搭建 Node.js 服务器,推荐使用无需备案的nodejs、git和npm在windows下的安装 – Onlyke
Introduction
作者:Daniel Sun
努力成为全栈攻城狮
家有小仙女:
- 15,129 views - 5,264 views - 4,081 views - 3,631 views - 3,164 views - 3,019 views - 2,866 views - 2,813 views - 2,745 views - 2,278 views
分类目录分类目录
选择分类目录
Linux&&(49)
&&&Openwrt&&(5)
&&&macos&&(1)
minecraft&&(3)
Nginx&&(13)
Node.js&&(2)
&&&Laravel&&(14)
Python&&(2)
&&&mysql&&(3)
wordpress&&(3)
未分类&&(2)
生活&&(12)
安装node.js
直接去nodejs的官网上下载nodejs安装程序,双击安装就可以了
测试安装是否成功:
在命令行输入 node –v 应该可以查看到当前安装的nodejs版本号
访问下载Git to Windows并进行安装
一路Next没什么问题,其中Adjusting your PATH environment选择默认值Use Git Bash only,然后在Configuring the line ending conversions选择Checkout as-is, commit Unix-style line endings即可
注意,以下操作可能需要翻墙和Linux命令基础
我们打开Git Bash,执行下面的命令
git clone --recursive git:///isaacs/npm.git
git clone --recursive git://github.com/isaacs/npm.git
然后执行下面命令进入npm目录并安装
node cli.js install npm -gf
cd npmnode cli.js install npm -gf
到现在为止,三个软件全部安装完成vue-cli全局安装每次都需要吗?
老师,全局的vue-cli每次创建新项目都需要全局安装吗?还是第一次安装了之后,以后在用init创建新项目的时候就不需要再安装vue-cli了呢?
好的,谢谢啦
写下你的评论...
Copyright (C)
All Rights Reserved | 京ICP备 号-2

我要回帖

更多关于 电脑突然假死卡住不动 的文章

 

随机推荐