
webpack
翱翔天地
技术在于专注!主要从事前端开发,熟悉vue、jQuery、uniapp等,有微信公众号和微信小程序开发经验,熟练使用echarts、highcharts、帆软报表;了解Java、python和mysql
展开
-
verbose stack Error: missing script: webpack
1、错误描述0 info it worked if it ends with ok1 verbose cli [ 'F:\\nodejs\\node.exe',1 verbose cli 'F:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',1 verbose cli 'run',1 verbose cli 'webpack' ...原创 2018-10-15 11:35:13 · 14604 阅读 · 4 评论 -
Unknown custom element did you register the component correctly
1、错误描述vue.esm.js?efeb:591 [Vue warn]: Unknown custom element: <el-container> - did you register the component correctly? For recursive components, make sure to provide the "name" option.f...原创 2018-10-11 16:41:29 · 100179 阅读 · 3 评论 -
Module build failed: Error: Couldn't find preset "es2015" relative to directory
1、错误描述F:\WebstormProjects\euw\esa>npm install babel-plugin-component -Dnpm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dnpm WARN optional ...原创 2018-10-11 16:15:18 · 10402 阅读 · 1 评论 -
如何使用vue2搭建ElementUI框架
1、新建一个文件夹euw,切换到该路径下cd F:\WebstormProjects\euw2、安装vue-clinpm install vue-cli3、查看vue的版本vue -V4、下载项目vue init webpack esa5、切换到项目路径下cd esa6、安装vuexnpm install vuex...原创 2018-10-11 15:26:36 · 1809 阅读 · 1 评论 -
如何安装vue-cli并搭建vue项目
1、在HBuilder创建一个Vue2 Web项目2、利用cmd切换路径cd D:\njws\Vue2d:3、安装vue-clicnpm install -g vue-cli4、查看vue安装版本vue -V5、初始化vue并创建项目、下载webpack模板vue init webpack cmp6、切换到项目目录cd cmp7、启动vue项目npm run dev...原创 2018-07-02 19:10:59 · 530 阅读 · 0 评论 -
npm ERR! missing: core-util-is@^1.0.2, required by Administrator
1、错误描述C:\Users\Administrator>npm listC:\Users\Administrator+-- babel-core@5.8.38 extraneous+-- UNMET DEPENDENCY core-util-is@^1.0.2+-- grunt@1.0.2 extraneous+-- UNMET DEPENDENCY process-nextic...原创 2018-06-02 14:56:50 · 5501 阅读 · 0 评论 -
安装vue和webpack相关命令
一、安装vue相关命令1、安装vuecnpm install vue2、安装vue-clicnpm install -g vue-cli3、查看vue安装版本vue -V二、安装webpack1、安装webpackcnpm install -g webpack2、安装webpack-dev-servercnpm install -g webpack-dev-server3、查看webpack版本w...原创 2018-06-02 14:39:11 · 1577 阅读 · 0 评论 -
The 'mode' option has not been set, webpack will fallback to 'production' for th is value
1、错误描述C:\Users\Administrator>cd cmaC:\Users\Administrator\cma>webpack you.js today.jsHash: 39919aae8cb041a7549fVersion: webpack 4.10.2Time: 588msBuilt at: 2018-06-01 21:01:06 1 assetEntr...原创 2018-06-01 21:16:47 · 3310 阅读 · 6 评论 -
Error: Cannot find module 'util-deprecate'
1、错误描述C:\Users\Administrator>cd cmaC:\Users\Administrator\cma>webpack you.js today.jsC:\Users\Administrator\node_modules\webpack-cli\bin\webpack.js:449 throw e...原创 2018-06-01 20:58:13 · 3518 阅读 · 0 评论 -
Error: Cannot find module 'core-util-is'
1、错误描述C:\Users\Administrator>cd cmaC:\Users\Administrator\cma>webpack you.js today.jsC:\Users\Administrator\node_modules\webpack-cli\bin\webpack.js:449 throw e...原创 2018-06-01 20:49:47 · 2511 阅读 · 1 评论 -
Error: Cannot find module 'process-nextick-args'
1、错误描述C:\Users\Administrator>cd cmaC:\Users\Administrator\cma>webpack you.js today.jsC:\Users\Administrator\node_modules\webpack-cli\bin\webpack.js:449 throw e...原创 2018-06-01 20:32:13 · 4182 阅读 · 0 评论 -
Error: Cannot find module 'webpack/schemas/WebpackOptions.json'
1、错误原因C:\Users\Administrator\cma>webpack you.js today.jsinternal/modules/cjs/loader.js:573 throw err; ^Error: Cannot find module 'webpack/schemas/WebpackOptions.json' at Function.Mod...原创 2018-06-01 20:18:15 · 3492 阅读 · 0 评论 -
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of me
1、错误描述Administrator@USER-0GUONPPBHK MINGW64 /g/HBuilderXWork/erp-html (master)$ npm run dev> erp2@0.1.0 dev G:\HBuilderXWork\erp-html> vue-cli-service serve INFO Starting development s...原创 2019-09-03 14:13:41 · 14502 阅读 · 3 评论