npm install报错,webpack报错,npm install vue-cli报错

npm install 报错
图片说明

npm install webpack --save-dev 报错
图片说明

npm install vue-cli报错
图片说明

但是npm run dev 可以正常跑起来
图片说明
页面的显示也正常

我的提问的两个原帖链接:
http://blog.csdn.net/aeoliancrazy/article/details/77863343
http://blog.csdn.net/aeoliancrazy/article/details/77881396

我不是刷点击量,只是这个蛋疼的提问框无法预览

不要从网上别人的直接复制过来回答我,在我的上述2个链接中,已经试了6种方法了,包括6中的混用

回答的亲么,拿出点诚意,我查了两天,网上相同的问题,帖子很少,而回答也是稀烂

希望大家能帮我解决下此问题,先谢谢各位了

3个回答

不知道你是要干啥,我感觉你是要拿vue打一个脚手架是吗?那你这个步骤是不是有点反了?如果是要打开别人的vue项目,那直接npm install就好了,欢迎追问,刚刚用vue做了一个项目

aeoliancrazy
aeoliancrazy 恩,是这样的亲,我现在要做的就是用vue-cli搭建一个脚手架而已.node.js什么的肯定先是装好的,首先我是习惯性的先npm install一次,那么我node安装成功了为什么会报错,我在cmd用管理员身份运行,输入node -v 或是node可以正常的显示node版本和相关信息,那么node是正常的,那为什么npm install会报错;第二,打开别人的项目,我也知道,在他的根目录下npm install,会替换他的原有的module目录,或是增加插件,根据他的config配置,但是同样的会报错;这样跟你说把,我这边就是参照菜鸟教程的方式安装脚手架失败,报错,但是还是可以run起来的;我用我哥们的电脑用同样的操作,他的不会报错,我的报错,我查了环境变量,config文件等,和我哥们的基本一样,但我的就是报错
2 年多之前 回复
q213546879
/*----无忧----*/ 回复aeoliancrazy: 首先,这不是我个人的网站,所以也就不存在什么诱导注册之类的,对我也没好处,我只是没事会去那里看看,基本问题确实会有人回答。另外回答你这个问题的时候我才开始用这个网站,不是太会加链接,见谅哈
2 年多之前 回复
aeoliancrazy
aeoliancrazy 你好,首先感谢你的回答,但是你是诱导注册啊,我也看了你发的链接的博文,报错不一样,而且你在回答的时候,能不能注意一下格式,整个评论都是链接,知不知道这样用户体验很差的啊,我拒绝诱导注册,但是还是谢谢你的回答,就不点踩了
2 年多之前 回复

我其实开始怀疑是不是我的笔记本的硬件问题或是操作系统的问题,我现在用那的win7 32位的,国庆了,我重装系统再试试

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
npm中下载依赖文件出错,怎么处理?
开始,用npm安装webpack,执行npm install webpack --save-dev 报错:![图片说明](https://img-ask.csdn.net/upload/201711/01/1509550837_518239.png) 把文件夹改名位webp,在执行安装命令就成功了。 现在,用npm安装vue-cli,执行npm install vue-cli -g 报错:![图片说明](https://img-ask.csdn.net/upload/201711/01/1509551185_689249.png) 请问这个是什么原因?怎么解决?
初始化vue项目出错,用的都是最新版的npm node,怎么解决
首先执行命令 npm install -g @vue/cli npm install -g @vue/cli-init 再 sudo vue init webpack todo 然后就开始报错了,怎么回事?![图片说明](https://img-ask.csdn.net/upload/201806/14/1528907378_483551.png)
vue-cli 打包文件报错
# vue-cli 打包文件报错 报错代码如下 ```shell > canteen@1.0.0 build D:\桌面\workPlace\07.items\06..canteen > node build/build.js / building for production...Error processing file: static/css/app.9e1b2591f3911ed3227be61dd300833e.css (node:1908) UnhandledPromiseRejectionWarning: postcss-svgo: Error in parsing SVG: Unquoted attribute value Line: 0 Column: 14 Char: \ (node:1908) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:1908) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. ``` - 也修改了 config/index.js 下面的 build ```js build: { // Template for index.html index: path.resolve(__dirname, '../dist/index.html'), // Paths assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static', assetsPublicPath: './', /** * Source Maps */ productionSourceMap: false, // https://webpack.js.org/configuration/devtool/#production devtool: '#source-map', // Gzip off by default as many popular static hosts such as // Surge or Netlify already gzip all static assets for you. // Before setting to `true`, make sure to: // npm install --save-dev compression-webpack-plugin productionGzip: false, productionGzipExtensions: ['js', 'css'], // Run the build command with an extra argument to // View the bundle analyzer report after build finishes: // `npm run build --report` // Set to `true` or `false` to always turn it on or off bundleAnalyzerReport: process.env.npm_config_report } ``` 但是还是报错,有没有大佬支招
解決 安裝less-loader報錯 multi (webpack)-dev-server
iview 安裝less-loader報錯 multi (webpack)-dev-server 解決方式 可以刪除node_modules在npm install **npm install rimraf -g rimraf node_modules//簡單粗暴的方式 npm install**_
解決 vue code ELIFECYCLE 的方法
![图片说明](https://img-ask.csdn.net/upload/201911/28/1574908016_151108.jpg) ![图片说明](https://img-ask.csdn.net/upload/201911/28/1574909752_15853.png) 環境 npm -v 6.12.0 node -v -->v8.16.1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! tabbar@1.0.0 dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the tabbar@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. google 百度查找方法一(不ok) ``` rm -rf node_modules rm package-lock.json npm cache clear --force npm install ``` 方法二(還是不OK) ``` npm uninstall webpack-dev-server npm install webpack-dev-server@2.9.1 ``` vue版本和webpack-dev-server版本不匹配導致
npm run dev啟動項目時報錯 `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
uotation@1.0.0 dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the quotation@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. ``` //webpack.dev.conf.js 'use strict' const utils = require('./utils') const webpack = require('webpack') const config = require('../config') const merge = require('webpack-merge') const path = require('path') const baseWebpackConfig = require('./webpack.base.conf') const CopyWebpackPlugin = require('copy-webpack-plugin') const HtmlWebpackPlugin = require('html-webpack-plugin') const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin') const portfinder = require('portfinder') const HOST = process.env.HOST const PORT = process.env.PORT && Number(process.env.PORT) const devWebpackConfig = merge(baseWebpackConfig, { module: { rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, usePostCSS: true }) }, // cheap-module-eval-source-map is faster for development devtool: config.dev.devtool, // these devServer options should be customized in /config/index.js devServer: { clientLogLevel: 'warning', historyApiFallback: { rewrites: [ { from: /.*/, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') }, ], }, hot: true, contentBase: false, // since we use CopyWebpackPlugin. compress: true, host: HOST || config.dev.host, port: PORT || config.dev.port, open: config.dev.autoOpenBrowser, overlay: config.dev.errorOverlay ? { warnings: false, errors: true } : false, publicPath: config.dev.assetsPublicPath, proxy: config.dev.proxyTable, quiet: true, // necessary for FriendlyErrorsPlugin watchOptions: { poll: config.dev.poll, } }, plugins: [ new webpack.DefinePlugin({ 'process.env': require('../config/dev.env') }), new webpack.HotModuleReplacementPlugin(), new webpack.NamedModulesPlugin(), // HMR shows correct file names in console on update. new webpack.NoEmitOnErrorsPlugin(), // https://github.com/ampedandwired/html-webpack-plugin new HtmlWebpackPlugin({ filename: 'index.html', template: 'index.html', inject: true }), // copy custom static assets new CopyWebpackPlugin([ { from: path.resolve(__dirname, '../static'), to: config.dev.assetsSubDirectory, ignore: ['.*'] } ]) ] }) module.exports = new Promise((resolve, reject) => { portfinder.basePort = process.env.PORT || config.dev.port portfinder.getPort((err, port) => { if (err) { reject(err) } else { // publish the new Port, necessary for e2e tests process.env.PORT = port // add port to devServer config devWebpackConfig.devServer.port = port // Add FriendlyErrorsPlugin devWebpackConfig.plugins.push(new FriendlyErrorsPlugin({ compilationSuccessInfo: { messages: [`Your application is running here: http://${devWebpackConfig.devServer.host}:${port}`], }, onErrors: config.dev.notifyOnErrors ? utils.createNotifierCallback() : undefined })) resolve(devWebpackConfig) } }) }) ``` ``` //webpack.base.conf.js 'use strict' const path = require('path') const utils = require('./utils') const config = require('../config') const vueLoaderConfig = require('./vue-loader.conf') function resolve (dir) { return path.join(__dirname, '..', dir) } module.exports = { context: path.resolve(__dirname, '../'), entry: { app: './src/main.js' }, output: { path: config.build.assetsRoot, filename: '[name].js', publicPath: process.env.NODE_ENV === 'production' ? config.build.assetsPublicPath : config.dev.assetsPublicPath }, resolve: { extensions: ['.js', '.vue', '.json'], alias: { 'vue$': 'vue/dist/vue.esm.js', '@': resolve('src'), } }, module: { rules: [ { test: /\.vue$/, loader: 'vue-loader', options: vueLoaderConfig }, { test: /\.js$/, loader: 'babel-loader', include: [resolve('src'), resolve('test'), resolve('node_modules/webpack-dev-server/client')] }, { test: /\.(png|jpe?g|gif|svg)(\?.*)?$/, loader: 'url-loader', options: { limit: 10000, name: utils.assetsPath('img/[name].[hash:7].[ext]') } }, { test: /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/, loader: 'url-loader', options: { limit: 10000, name: utils.assetsPath('media/[name].[hash:7].[ext]') } }, { test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/, loader: 'url-loader', options: { limit: 10000, name: utils.assetsPath('fonts/[name].[hash:7].[ext]') } } ] }, node: { // prevent webpack from injecting useless setImmediate polyfill because Vue // source contains it (although only uses it if it's native). setImmediate: false, // prevent webpack from injecting mocks to Node native modules // that does not make sense for the client dgram: 'empty', fs: 'empty', net: 'empty', tls: 'empty', child_process: 'empty' } } ```
运行Vue项目时,报错npm ERR! errno 1 npm ERR! Failed at the single@1.0.0 dev script.
运行Vue项目时,报错,不清楚是哪里出了问题 ``` Error: Cannot find module 'webpack-cli/bin/config-yargs' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:690:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (E:\HBuilderProjects\Vue\single\node_modules\_webpack-dev-server@3.7.1@webpack-dev-server\bin\webpack-dev-server.js:60:1) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! single@1.0.0 dev: `webpack-dev-server --open --hot --port 8020` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the single@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\asus\AppData\Roaming\npm-cache\_logs\2019-06-15T16_43_01_654Z-debug.log ``` ``` ``` 这个是package.json文件 ``` { "name": "single", "version": "1.0.0", "description": "", "main": "main.js", "scripts": { "dev": "webpack-dev-server --open --hot --port 8020" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "vue": "^2.6.10" }, "devDependencies": { "babel-core": "^6.26.3", "babel-loader": "^8.0.6", "babel-preset-env": "^1.7.0", "css-loader": "^3.0.0", "file-loader": "^4.0.0", "vue-html-loader": "^1.2.4", "vue-loader": "^15.7.0", "vue-style-loader": "^4.1.2", "vue-template-compiler": "^2.6.10", "webpack": "^4.34.0", "webpack-dev-server": "^3.7.1" } } ```
自己用webpack构建vue项目报错,求帮助万分感谢
神烦怎么也解决不了问题,用localhost能访问到的是目录 用node:{ fs: 'empty', net: 'empty', tls: 'empty', child_process: 'empty' }能减少几个报错信息 以下是我的配置 ``` const path = require('path'); const HTMLPlugin = require('html-webpack-plugin'); const VueLoaderPlugin = require('vue-loader/lib/plugin'); const webpack = require('webpack'); const isDev = process.env.NODE_ENV === 'development'; //package.json设置的对象全部存在process.env里面 const config = { target: 'web', entry: path.join(__dirname, 'src/index.js'),//设置入口,__dirname代表本文件所在的地址,也就是根目录 output: { filename: 'bundle.js', //打包的名字 path: path.join(__dirname, 'dist') //打包路径 }, plugins: [ // make sure to include the plugin for the magic new VueLoaderPlugin(), new webpack.DefinePlugin({ 'process.env': { NODE_ENV: isDev ? '"development"' : '"production"' //调用process.env.NODE_ENV 可以获取 环境 } }), new HTMLPlugin() ], module: { rules: [ { test: /\.vue$/, loader: 'vue-loader' }, { test: /\.css$/, use: [ 'style-loader', 'css-loader' ] }, { test: /\.styl$/, use: [ 'style-loader', 'css-loader', 'stylus-loader' ] }, { test: /\.(jpg|gif|jpeg|png|svg)$/, use: [{ loader: 'url-loader', options: { limit: 1024,//可以帮小于1024的图片转换base-64代码直接写在js里面,减少http请求 name: '[name].[ext]' //重命名 name图片原来的名字 ext文件扩展名 } }] } ] } }; if (isDev) { config.devServer = { port: '8200', host: '0.0.0.0', overlay: { errors: true, } } } module.exports = config; ``` 下面是报错信息 ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/testbinary.js Module not found: Error: Can't resolve 'child_process' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\node-pre-gyp\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/testbinary.js 10:9-33 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/util/compile.js Module not found: Error: Can't resolve 'child_process' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\node-pre-gyp\lib\util' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/util/compile.js 9:9-33 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/osenv/osenv.js Module not found: Error: Can't resolve 'child_process' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\osenv' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/osenv/osenv.js 3:11-35 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/nopt/lib/nopt.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_worker-farm@1.6.0@worker-farm/lib/fork.js Module not found: Error: Can't resolve 'child_process' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_worker-farm@1.6.0@worker-farm\lib' @ ./node_modules/_worker-farm@1.6.0@worker-farm/lib/fork.js 3:21-45 @ ./node_modules/_worker-farm@1.6.0@worker-farm/lib/farm.js @ ./node_modules/_worker-farm@1.6.0@worker-farm/lib/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_cacache@10.0.4@cacache/get.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_cacache@10.0.4@cacache' @ ./node_modules/_cacache@10.0.4@cacache/get.js 5:11-24 @ ./node_modules/_cacache@10.0.4@cacache/locales/en.js @ ./node_modules/_cacache@10.0.4@cacache/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_chokidar@2.0.4@chokidar/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_chokidar@2.0.4@chokidar' @ ./node_modules/_chokidar@2.0.4@chokidar/index.js 3:9-22 @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_chokidar@2.0.4@chokidar\lib' @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js 3:9-22 @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_chokidar@2.0.4@chokidar/lib/nodefs-handler.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_chokidar@2.0.4@chokidar\lib' @ ./node_modules/_chokidar@2.0.4@chokidar/lib/nodefs-handler.js 3:9-22 @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_chownr@1.1.1@chownr/chownr.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_chownr@1.1.1@chownr' @ ./node_modules/_chownr@1.1.1@chownr/chownr.js 2:11-24 @ ./node_modules/_cacache@10.0.4@cacache/lib/util/fix-owner.js @ ./node_modules/_cacache@10.0.4@cacache/lib/util/tmp.js @ ./node_modules/_cacache@10.0.4@cacache/locales/en.js @ ./node_modules/_cacache@10.0.4@cacache/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_copy-concurrently@1.0.5@copy-concurrently/copy.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_copy-concurrently@1.0.5@copy-concurrently' @ ./node_modules/_copy-concurrently@1.0.5@copy-concurrently/copy.js 8:13-26 @ ./node_modules/_move-concurrently@1.0.1@move-concurrently/move.js @ ./node_modules/_cacache@10.0.4@cacache/lib/util/move-file.js @ ./node_modules/_cacache@10.0.4@cacache/lib/content/write.js @ ./node_modules/_cacache@10.0.4@cacache/put.js @ ./node_modules/_cacache@10.0.4@cacache/locales/en.js @ ./node_modules/_cacache@10.0.4@cacache/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fs.realpath@1.0.0@fs.realpath/old.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fs.realpath@1.0.0@fs.realpath' @ ./node_modules/_fs.realpath@1.0.0@fs.realpath/old.js 24:9-22 @ ./node_modules/_fs.realpath@1.0.0@fs.realpath/index.js @ ./node_modules/_glob@7.1.3@glob/glob.js @ ./node_modules/_cacache@10.0.4@cacache/lib/verify.js @ ./node_modules/_cacache@10.0.4@cacache/verify.js @ ./node_modules/_cacache@10.0.4@cacache/locales/en.js @ ./node_modules/_cacache@10.0.4@cacache/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fs.realpath@1.0.0@fs.realpath/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fs.realpath@1.0.0@fs.realpath' @ ./node_modules/_fs.realpath@1.0.0@fs.realpath/index.js 8:9-22 @ ./node_modules/_glob@7.1.3@glob/glob.js @ ./node_modules/_cacache@10.0.4@cacache/lib/verify.js @ ./node_modules/_cacache@10.0.4@cacache/verify.js @ ./node_modules/_cacache@10.0.4@cacache/locales/en.js @ ./node_modules/_cacache@10.0.4@cacache/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents' @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js 17:9-22 @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/chownr/chownr.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\chownr' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/chownr/chownr.js 4:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/mkdir.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/unpack.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/detect-libc/lib/detect-libc.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\detect-libc\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/detect-libc/lib/detect-libc.js 5:18-31 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/util/versioning.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/fs-minipass/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\fs-minipass' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/fs-minipass/index.js 4:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/create.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/fs.realpath/old.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\fs.realpath' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/fs.realpath/old.js 24:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/fs.realpath/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/glob/glob.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/rimraf/rimraf.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/util/napi.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/fs.realpath/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\fs.realpath' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/fs.realpath/index.js 8:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/glob/glob.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/rimraf/rimraf.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/util/napi.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/glob/glob.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\glob' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/glob/glob.js 43:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/rimraf/rimraf.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/util/napi.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/glob/sync.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\glob' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/glob/sync.js 4:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/glob/glob.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/rimraf/rimraf.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/util/napi.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/ignore-walk/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\ignore-walk' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/ignore-walk/index.js 3:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/npm-packlist/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/mkdirp/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\mkdirp' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/mkdirp/index.js 2:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/testpackage.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/needle/lib/multipart.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\needle\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/needle/lib/multipart.js 1:15-28 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/needle/lib/needle.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/install.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/needle/lib/needle.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\needle\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/needle/lib/needle.js 8:18-31 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/install.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/testbinary.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\node-pre-gyp\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/testbinary.js 7:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/testpackage.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\node-pre-gyp\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/testpackage.js 7:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\node-pre-gyp\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js 13:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/pre-binding.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\node-pre-gyp\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/pre-binding.js 5:17-30 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/clean.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\node-pre-gyp\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/clean.js 7:9-22 9:13-26 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/unpublish.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\node-pre-gyp\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/unpublish.js 7:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\node-pre-gyp\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js 7:9-22 12:12-25 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/npm-bundled/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\npm-bundled' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/npm-bundled/index.js 10:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/npm-packlist/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/rimraf/rimraf.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\rimraf' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/rimraf/rimraf.js 6:9-22 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/util/napi.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/replace.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\tar\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/replace.js 8:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/mkdir.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\tar\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/mkdir.js 8:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/unpack.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/write-entry.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\tar\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/write-entry.js 7:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/unpack.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\tar\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/unpack.js 6:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/pack.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\tar\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/pack.js 56:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/extract.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\tar\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/extract.js 6:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/list.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\tar\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/list.js 11:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/create.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_fsevents@1.2.4@fsevents\node_modules\tar\lib' @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/lib/create.js 7:11-24 @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/tar/index.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/package.js @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib sync ^\.\/.*$ @ ./node_modules/_fsevents@1.2.4@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js @ ./node_modules/_fsevents@1.2.4@fsevents/fsevents.js @ ./node_modules/_chokidar@2.0.4@chokidar/lib/fsevents-handler.js @ ./node_modules/_chokidar@2.0.4@chokidar/index.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js @ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js @ (webpack)/lib/node/NodeWatchFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_glob@7.1.3@glob/sync.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_glob@7.1.3@glob' @ ./node_modules/_glob@7.1.3@glob/sync.js 4:9-22 @ ./node_modules/_glob@7.1.3@glob/glob.js @ ./node_modules/_cacache@10.0.4@cacache/lib/verify.js @ ./node_modules/_cacache@10.0.4@cacache/verify.js @ ./node_modules/_cacache@10.0.4@cacache/locales/en.js @ ./node_modules/_cacache@10.0.4@cacache/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_glob@7.1.3@glob/glob.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_glob@7.1.3@glob' @ ./node_modules/_glob@7.1.3@glob/glob.js 43:9-22 @ ./node_modules/_cacache@10.0.4@cacache/lib/verify.js @ ./node_modules/_cacache@10.0.4@cacache/verify.js @ ./node_modules/_cacache@10.0.4@cacache/locales/en.js @ ./node_modules/_cacache@10.0.4@cacache/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_graceful-fs@4.1.11@graceful-fs/graceful-fs.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_graceful-fs@4.1.11@graceful-fs' @ ./node_modules/_graceful-fs@4.1.11@graceful-fs/graceful-fs.js 1:9-22 @ ./node_modules/_enhanced-resolve@4.1.0@enhanced-resolve/lib/NodeJsInputFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_graceful-fs@4.1.11@graceful-fs/fs.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_graceful-fs@4.1.11@graceful-fs' @ ./node_modules/_graceful-fs@4.1.11@graceful-fs/fs.js 3:9-22 @ ./node_modules/_graceful-fs@4.1.11@graceful-fs/graceful-fs.js @ ./node_modules/_enhanced-resolve@4.1.0@enhanced-resolve/lib/NodeJsInputFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_loader-runner@2.3.1@loader-runner/lib/LoaderRunner.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_loader-runner@2.3.1@loader-runner\lib' @ ./node_modules/_loader-runner@2.3.1@loader-runner/lib/LoaderRunner.js 5:9-22 @ (webpack)/lib/NormalModule.js @ (webpack)/lib/AutomaticPrefetchPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_make-dir@1.3.0@make-dir/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_make-dir@1.3.0@make-dir' @ ./node_modules/_make-dir@1.3.0@make-dir/index.js 2:11-24 @ ./node_modules/_find-cache-dir@1.0.0@find-cache-dir/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_mkdirp@0.5.1@mkdirp/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_mkdirp@0.5.1@mkdirp' @ ./node_modules/_mkdirp@0.5.1@mkdirp/index.js 2:9-22 @ (webpack)/lib/node/NodeOutputFileSystem.js @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_move-concurrently@1.0.1@move-concurrently/move.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_move-concurrently@1.0.1@move-concurrently' @ ./node_modules/_move-concurrently@1.0.1@move-concurrently/move.js 4:13-26 @ ./node_modules/_cacache@10.0.4@cacache/lib/util/move-file.js @ ./node_modules/_cacache@10.0.4@cacache/lib/content/write.js @ ./node_modules/_cacache@10.0.4@cacache/put.js @ ./node_modules/_cacache@10.0.4@cacache/locales/en.js @ ./node_modules/_cacache@10.0.4@cacache/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_path-exists@3.0.0@path-exists/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_path-exists@3.0.0@path-exists' @ ./node_modules/_path-exists@3.0.0@path-exists/index.js 2:11-24 @ ./node_modules/_locate-path@2.0.0@locate-path/index.js @ ./node_modules/_find-up@2.1.0@find-up/index.js @ ./node_modules/_pkg-dir@2.0.0@pkg-dir/index.js @ ./node_modules/_find-cache-dir@1.0.0@find-cache-dir/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_rimraf@2.6.2@rimraf/rimraf.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_rimraf@2.6.2@rimraf' @ ./node_modules/_rimraf@2.6.2@rimraf/rimraf.js 6:9-22 @ ./node_modules/_cacache@10.0.4@cacache/lib/util/tmp.js @ ./node_modules/_cacache@10.0.4@cacache/locales/en.js @ ./node_modules/_cacache@10.0.4@cacache/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_schema-utils@0.4.7@schema-utils/src/validateOptions.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_schema-utils@0.4.7@schema-utils\src' @ ./node_modules/_schema-utils@0.4.7@schema-utils/src/validateOptions.js 8:11-24 @ ./node_modules/_schema-utils@0.4.7@schema-utils/src/index.js @ (webpack)/lib/BannerPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_snapdragon@0.8.2@snapdragon/lib/source-maps.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_snapdragon@0.8.2@snapdragon\lib' @ ./node_modules/_snapdragon@0.8.2@snapdragon/lib/source-maps.js 3:9-22 @ ./node_modules/_snapdragon@0.8.2@snapdragon/lib/compiler.js @ ./node_modules/_snapdragon@0.8.2@snapdragon/index.js @ ./node_modules/_micromatch@3.1.10@micromatch/lib/utils.js @ ./node_modules/_micromatch@3.1.10@micromatch/index.js @ (webpack)/lib/optimize/SideEffectsFlagPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_uglify-es@3.3.9@uglify-es/tools/node.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_uglify-es@3.3.9@uglify-es\tools' @ ./node_modules/_uglify-es@3.3.9@uglify-es/tools/node.js 1:9-22 @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/minify.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in (webpack)/lib/debug/ProfilingPlugin.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_webpack@4.20.2@webpack\lib\debug' @ (webpack)/lib/debug/ProfilingPlugin.js 1:11-24 @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in (webpack)/lib/node/NodeMainTemplateAsync.runtime.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_webpack@4.20.2@webpack\lib\node' @ (webpack)/lib/node/NodeMainTemplateAsync.runtime.js 10:2-15 28:3-16 @ (webpack)/lib/node/NodeMainTemplatePlugin.js @ (webpack)/lib/node/NodeTemplatePlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in (webpack)/lib/node/NodeOutputFileSystem.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_webpack@4.20.2@webpack\lib\node' @ (webpack)/lib/node/NodeOutputFileSystem.js 7:11-24 @ (webpack)/lib/node/NodeEnvironmentPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in ./node_modules/_y18n@4.0.0@y18n/index.js Module not found: Error: Can't resolve 'fs' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_y18n@4.0.0@y18n' @ ./node_modules/_y18n@4.0.0@y18n/index.js 1:9-22 @ ./node_modules/_cacache@10.0.4@cacache/lib/util/y.js @ ./node_modules/_cacache@10.0.4@cacache/locales/en.js @ ./node_modules/_cacache@10.0.4@cacache/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/uglify/Runner.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/index.js @ ./node_modules/_uglifyjs-webpack-plugin@1.3.0@uglifyjs-webpack-plugin/dist/cjs.js @ (webpack)/lib/WebpackOptionsDefaulter.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in (webpack)/lib/NormalModule.js Module not found: Error: Can't resolve 'module' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_webpack@4.20.2@webpack\lib' @ (webpack)/lib/NormalModule.js 7:21-38 @ (webpack)/lib/AutomaticPrefetchPlugin.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack ERROR in (webpack)/lib/node/NodeTargetPlugin.js Module not found: Error: Can't resolve 'module' in 'D:\java\JetBrains\module\vue-app\vue-todo\node_modules\_webpack@4.20.2@webpack\lib\node' @ (webpack)/lib/node/NodeTargetPlugin.js 11:1-18 @ (webpack)/lib/WebpackOptionsApply.js @ (webpack)/lib/webpack.js @ multi ./node_modules/_webpack-dev-server@3.1.9@webpack-dev-server/client?http://0.0.0.0:8200 webpack Child html-webpack-plugin for "index.html": 1 asset Entrypoint undefined = index.html [0] ./node_modules/_html-webpack-plugin@3.2.0@html-webpack-plugin/lib/loader.js!./node_modules/_html-webpack-plugin@3.2.0@html-webpack-plugin/default_index.ejs 392 bytes {0} [b uilt] [1] ./node_modules/_lodash@4.17.11@lodash/lodash.js 527 KiB {0} [built] [2] (webpack)/buildin/global.js 509 bytes {0} [built] [3] (webpack)/buildin/module.js 519 bytes {0} [built] i 「wdm」: Failed to compile.
cmd安装npm i webpack -g出现了报错,这该如何是好,怎么解决?
![图片说明](https://img-ask.csdn.net/upload/202001/16/1579155058_2935.png)
Vue-cli 的热更新无效问题
我使用vue init webpack-simple ProjectName创建了一个简单的Vue-cli工程,但是无法实现热更新。每次一点点改动就需要重新编译运行才能看到效果,十分困扰。 我的webpack配置如下: ``` const path = require('path') const webpack = require('webpack'); console.log(path.resolve(__dirname, './src/main.js')) module.exports = { //热部署 entry:[ path.resolve(__dirname, './src/main.js'), 'webpack-dev-server/client?http://localhost:8080/', ], output: { path: path.resolve(__dirname, './dist'), publicPath: './dist/', filename: 'build.js' }, module: { rules: [ { test: /\.css$/, use: [ 'vue-style-loader', 'css-loader' ], }, { test: /\.vue$/, loader: 'vue-loader', options: { loaders: { } // other vue-loader options go here } }, { test: /\.js$/, loader: 'babel-loader', exclude: /node_modules/ }, { test: /\.(png|jpg|gif|svg)$/, loader: 'file-loader', options: { name: '[name].[ext]?[hash]' } } ] }, resolve: { alias: { 'vue$': 'vue/dist/vue.esm.js' }, extensions: ['*', '.js', '.vue', '.json'] }, devServer: { //这里可以配置端口号 // port:8080, // host: 'localhost', //重定向404 historyApiFallback: true, noInfo: true, //编译出错的时候,在浏览器页面上显示错误 overlay: true, hot:true, inline:true, //该目录不填默认是项目目录 // contentBase: path.resolve(__dirname), }, performance: { hints: false }, devtool: '#eval-source-map', //配置webpack插件 plugins:[ //热加载插件 new webpack.HotModuleReplacementPlugin(), new webpack.NamedModulesPlugin(), ] } if (process.env.NODE_ENV === 'production') { module.exports.devtool = '#source-map' // http://vue-loader.vuejs.org/en/workflow/production.html module.exports.plugins = (module.exports.plugins || []).concat([ new webpack.DefinePlugin({ 'process.env': { NODE_ENV: '"production"' } }), new webpack.optimize.UglifyJsPlugin({ sourceMap: true, compress: { warnings: false } }), new webpack.LoaderOptionsPlugin({ minimize: true }) ]) } ``` package.json如下: ``` { "name": "srms", "description": "A Vue.js project", "version": "1.0.0", "author": "Snile <826245622@qq.com>", "license": "", "private": true, "scripts": { "clean": "rd /s /q dist", "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", "dev": "npm run build && cross-env NODE_ENV=development webpack-dev-server --open --inline --hot" }, "dependencies": { "vue": "^2.5.11", "vue-router": "^3.0.2" }, "browserslist": [ "> 1%", "last 2 versions", "not ie <= 8" ], "devDependencies": { "babel-core": "^6.26.0", "babel-loader": "^7.1.2", "babel-preset-env": "^1.6.0", "babel-preset-stage-3": "^6.24.1", "cross-env": "^5.0.5", "css-loader": "^0.28.7", "file-loader": "^1.1.4", "vue-loader": "^14.2.3", "vue-template-compiler": "^2.4.4", "webpack": "^3.12.0", "webpack-dev-server": "^2.9.1" } } ``` 该配置似乎能检测到文件的变化,每次改动后,控制台都会输出: client:77 [WDS] Hot Module Replacement enabled. 2client:80 [WDS] App updated. Recompiling... client:223 [WDS] App hot update...
使用vue创建项目时,npm install 出现错误
首先用vue init webpack note 创建项目,然后执行 npm install 出现以下错误: ![图片说明](https://img-ask.csdn.net/upload/201711/29/1511935185_907943.png) 然后执行npm run dev ,项目已经建好,谁能告诉我那个错误是什么意思,应该如何解决。
新手求教,使用npm 时总报一个错
我是vue新手,最近在练手小项目,在进行cnpm install webpack --save-dev时报错,报错内容为:install fail!SyntaxError: Unexpected token < in JSON at position 0!如图所示:后来又试了,好像用npm install 时就会报这个错,求大神解答!![图片说明](https://img-ask.csdn.net/upload/201710/19/1508394359_904280.jpg)
webpack build报错 ERROR in 1.ea409344b3c6c7fd1ccf.chunk.js from UglifyJs
项目可以正常运行,突然打包报错,有没有大神指点一下 ``` ERROR in 1.ea409344b3c6c7fd1ccf.chunk.js from UglifyJs Unexpected token: operator (>) [1.ea409344b3c6c7fd1ccf.chunk.js:4739,34] Child html-webpack-plugin for "..\index.html": 1 asset Child extract-text-webpack-plugin node_modules/_extract-text-webpack-plugin@3.0.2@extract-text-webpack-plugin/dist node_modules/_css-loader@0.28.11@css-loader/index.js?minimize!node_modules/_autoprefixer-loader@3.2.0@autoprefixer-loader/index.js!node_modules/_iview@3.3.3@iview/dist/styles/iview.css: 3 assets Child extract-text-webpack-plugin node_modules/_extract-text-webpack-plugin@3.0.2@extract-text-webpack-plugin/dist node_modules/_css-loader@0.28.11@css-loader/index.js?minimize!node_modules/_autoprefixer-loader@3.2.0@autoprefixer-loader/index.js!node_modules/_less-loader@4.1.0@less-loader/dist/cjs.js!src/styles/my-theme.less: Asset Size Chunks Chunk Names d535a25a79fb1365ae814b61e88fae71.ttf 198 kB [emitted] 99ac3308dd8ee14f749f51538d0d5b9e.woff 198 kB [emitted] a2c4a261a239aa84463dc70e4bac9b9a.svg 555 kB [emitted] [big] npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! smart-lock@1.2.3 build: `webpack --progress --hide-modules --config build/webpack.prod.config.js` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the smart-lock@1.2.3 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. ```
Vue启动 npm run dev之后报错!!!!!!!!!!!!!!!!!!!!!!!!!!!
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! vue_demo01@1.0.0 dev: `webpack-dev-server --inline --progr ess --config build/webpack.dev.conf.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the vue_demo01@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\apple\AppData\Roaming\npm-cache\_logs\2019-03-23T08_47_19_392Z-debug.log ``` ```
Vue2.0使用ElementUI的组件报错
问题截图: ![图片说明](https://img-ask.csdn.net/upload/201903/29/1553828313_461442.png) 问题描述: 编译工具webstorm,使用npm命令 dev运行项目报错。 搭建过程: 按照官方教程执行了 1.使用命令安装element组件 ``` npm i element-ui -S ``` 2.安装babel组件 ``` npm install babel-plugin-component -S ``` 3.main.js引用 ``` import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' Vue.config.productionTip = false Vue.use(ElementUI); ``` 4.页面中使用element组件 ``` <template> <div>2</div> <el-row> <el-button>默认按钮</el-button> <el-button type="primary">主要按钮</el-button> <el-button type="success">成功按钮</el-button> <el-button type="info">信息按钮</el-button> <el-button type="warning">警告按钮</el-button> <el-button type="danger">危险按钮</el-button> </el-row> </template> ``` .babelrc文件修改后报错,es2015,安装后无法使用,还原成系统默认配置。 以下为相关文件的具体内容: package.json ``` { "name": "vuetest3", "version": "1.0.0", "description": "A Vue.js project", "author": "811204266@qq.com <123456>", "private": true, "scripts": { "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", "start": "npm run dev", "unit": "jest --config test/unit/jest.conf.js --coverage", "e2e": "node test/e2e/runner.js", "test": "npm run unit && npm run e2e", "lint": "eslint --ext .js,.vue src test/unit test/e2e/specs", "build": "node build/build.js" }, "dependencies": { "axios": "^0.18.0", "babel-polyfill": "^6.26.0", "vue": "^2.5.2", "vue-router": "^3.0.1" }, "devDependencies": { "autoprefixer": "^7.1.2", "babel-core": "^6.22.1", "babel-eslint": "^8.2.1", "babel-helper-vue-jsx-merge-props": "^2.0.3", "babel-jest": "^21.0.2", "babel-loader": "^7.1.1", "babel-plugin-component": "^1.1.1", "babel-plugin-dynamic-import-node": "^1.2.0", "babel-plugin-syntax-jsx": "^6.18.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "babel-plugin-transform-runtime": "^6.22.0", "babel-plugin-transform-vue-jsx": "^3.5.0", "babel-preset-env": "^1.3.2", "babel-preset-es2015": "^6.24.1", "babel-preset-stage-2": "^6.22.0", "babel-register": "^6.22.0", "chalk": "^2.0.1", "chromedriver": "^2.27.2", "copy-webpack-plugin": "^4.0.1", "cross-spawn": "^5.0.1", "css-loader": "^0.28.0", "eslint": "^4.15.0", "eslint-config-standard": "^10.2.1", "eslint-friendly-formatter": "^3.0.0", "eslint-loader": "^1.7.1", "eslint-plugin-import": "^2.7.0", "eslint-plugin-node": "^5.2.0", "eslint-plugin-promise": "^3.4.0", "eslint-plugin-standard": "^3.0.1", "eslint-plugin-vue": "^4.0.0", "extract-text-webpack-plugin": "^3.0.0", "file-loader": "^1.1.4", "friendly-errors-webpack-plugin": "^1.6.1", "html-webpack-plugin": "^2.30.1", "jest": "^22.0.4", "jest-serializer-vue": "^0.3.0", "nightwatch": "^0.9.12", "node-notifier": "^5.1.2", "optimize-css-assets-webpack-plugin": "^3.2.0", "ora": "^1.2.0", "portfinder": "^1.0.13", "postcss-import": "^11.0.0", "postcss-loader": "^2.0.8", "postcss-url": "^7.2.1", "rimraf": "^2.6.0", "selenium-server": "^3.0.1", "semver": "^5.3.0", "shelljs": "^0.7.6", "uglifyjs-webpack-plugin": "^1.1.1", "url-loader": "^0.5.8", "vue-jest": "^1.0.2", "vue-loader": "^13.3.0", "vue-style-loader": "^3.0.1", "vue-template-compiler": "^2.5.2", "webpack": "^3.6.0", "webpack-bundle-analyzer": "^2.9.0", "webpack-dev-server": "^2.9.1", "webpack-merge": "^4.1.0" }, "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" }, "browserslist": [ "> 1%", "last 2 versions", "not ie <= 8" ] } ``` 页面文件home.vue ``` <template> <div>2</div> <el-row> <el-button>默认按钮</el-button> <el-button type="primary">主要按钮</el-button> <el-button type="success">成功按钮</el-button> <el-button type="info">信息按钮</el-button> <el-button type="warning">警告按钮</el-button> <el-button type="danger">危险按钮</el-button> </el-row> </template> <script> export default { name: 'home', data () { return { msg: 'Welcome to Your Vue.js App' } } } </script> <style scoped> </style> ``` main.js ``` // The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue' import App from './App' import router from './router' import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' Vue.config.productionTip = false Vue.use(ElementUI); /* eslint-disable no-new */ new Vue({ el: '#app', router, components: { App }, template: '<App/>' }) ``` router/index.js ``` import Vue from 'vue' import Router from 'vue-router' import Home from '@/page/Home' Vue.use(Router) export default new Router({ routes: [ { path: '/', name: 'Home', component: Home } ] }) ```
用npm安装package.json时出现错误
我是在win8 64bit上面操作,本来安装的nodejs是64位的, npm install时一直出现错误,上网查后有说要安装32位的,而且需要安装vs, 于是我卸载64的node又安装32的node,又安装vs2012, 然后又npm install 出现如下异常: ``` npm WARN optional dep failed, continuing fsevents@0.3.8 \ > spawn-sync@1.0.13 postinstall E:\project2\shijuan\node_modules\node-sass\node_modules\sas modules\spawn-sync > node postinstall \ > node-sass@3.2.0 install E:\project2\shijuan\node_modules\node-sass > node scripts/install.js Binary downloaded and installed at E:\project2\shijuan\node_modules\node-sass\vendor\win32- > node-sass@3.2.0 postinstall E:\project2\shijuan\node_modules\node-sass > node scripts/build.js ` E:\project2\shijuan\node_modules\node-sass\vendor\win32-ia32-14\binding.node ` exists. testing binary. Binary is fine; exiting. \ > bufferutil@1.1.0 install E:\project2\shijuan\node_modules\webpack-dev-server\node_modules > node-gyp rebuild | (venv) Think@RESEARCH E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\sock > if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\ e rebuild ) 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。 bufferutil.cc 正在创建库 E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\socket.io\ util .expb 和对象 E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\socket.io\n 正在生成代码 已完成代码的生成 bufferutil.vcxproj -> E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\so se\\bufferutil.node | > utf-8-validate@1.1.0 install E:\project2\shijuan\node_modules\webpack-dev-server\node_mod f-8-validate > node-gyp rebuild / (venv) Think@RESEARCH E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\sock ate > if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\ e rebuild ) 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。 validation.cc 正在创建库 E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\socket.io- ild\ Release\validation.lib 和对象 E:\project2\shijuan\node_modules\webpack-dev-server\node_mo tf -8-validate\build\Release\validation.exp 正在生成代码 已完成代码的生成 validation.vcxproj -> E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\so lidate\build\Release\\validation.node > utf-8-validate@1.1.0 install E:\project2\shijuan\node_modules\webpack-dev-server\node_mod > node-gyp rebuild (venv) Think@RESEARCH E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\sock > if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\ e rebuild ) 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。 validation.cc 正在创建库 E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\socket.io\ lida tion.lib 和对象 E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\socket.i va lidation.exp 正在生成代码 已完成代码的生成 validation.vcxproj -> E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\so elease\\validation.node > bufferutil@1.1.0 install E:\project2\shijuan\node_modules\webpack-dev-server\node_modules util > node-gyp rebuild (venv) Think@RESEARCH E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\sock > if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\ e rebuild ) 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。 bufferutil.cc 正在创建库 E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\socket.io- Rele ase\bufferutil.lib 和对象 E:\project2\shijuan\node_modules\webpack-dev-server\node_module ru til\build\Release\bufferutil.exp 正在生成代码 已完成代码的生成 bufferutil.vcxproj -> E:\project2\shijuan\node_modules\webpack-dev-server\node_modules\so il\build\Release\\bufferutil.node vinyl-named@1.1.0 node_modules\vinyl-named └── through@2.3.8 manifest-revision-webpack-plugin@0.0.5 node_modules\manifest-revision-webpack-plugin └── walk@2.3.9 (foreachasync@3.0.0) coffee-script@1.9.3 node_modules\coffee-script superagent@1.3.0 node_modules\superagent ├── extend@1.2.1 ├── methods@1.0.1 ├── cookiejar@2.0.1 ├── component-emitter@1.1.2 ├── reduce-component@1.0.1 ├── mime@1.3.4 ├── qs@2.3.3 ├── debug@2.2.0 (ms@0.7.1) ├── readable-stream@1.0.27-1 (inherits@2.0.1, isarray@0.0.1, string_decoder@0.10.31, core-u ├── formidable@1.0.14 └── form-data@0.2.0 (async@0.9.2, combined-stream@0.0.7, mime-types@2.0.14) ``` 其实看上去也成功了很多,但是前面那几个异常怎么解决呢?谢谢各位 package.json如下 ``` { "repository": { "type": "git", "url": "" }, "license": "MIT", "description": "Project Shijuan", "scripts": { "start": "node_modules/.bin/webpack-dev-server --config conf/webpack.config.js --progress --colors --port 5001 --content-base build/public", "build": "node_modules/.bin/webpack --config conf/webpack.config.js --progress --profile --colors" }, "dependencies": { "amazeui": "^2.4.2", "babel-core": "^5.4.7", "babel-loader": "^5.1.3", "coffee-loader": "^0.7.2", "coffee-script": "^1.9.3", "css-loader": "^0.15.6", "echarts": "^2.2.7-beta7", "extract-text-webpack-plugin": "^0.8.1", "file-loader": "^0.8.4", "html-loader": "^0.3.0", "jquery": "^2.1.4", "manifest-revision-webpack-plugin": "^0.0.5", "node-sass": "^3.2.0", "postcss-loader": "^0.5.1", "sass-loader": "^2.0.0", "style-loader": "^0.12.3", "superagent": "^1.3.0", "url-loader": "^0.5.6", "vinyl-named": "^1.1.0", "vue": "^0.12.10", "vue-loader": "^2.1.1", "vue-validator": "^1.4.0", "webpack": "^1.10.0", "webpack-dev-server": "^1.9.0", "zrender": "ecomfe/zrender" } } ```
NavigationDuplicated 路由問題如何解決
![图片说明](https://img-ask.csdn.net/upload/201910/23/1571797782_144268.jpg) ![图片说明](https://img-ask.csdn.net/upload/201910/23/1571797793_309573.jpg) NavigationDuplicated {_name: "NavigationDuplicated", name: "NavigationDuplicated", message: "Navigating to current location ("/user") is not allowed", stack: "Error↵ at new NavigationDuplicated (webpack-int…nal:///./node_modules/vue/dist/vue.esm.js:3890:9)"} message: "Navigating to current location ("/user") is not allowed" 這個vue-router3.1 以上版本會出現 但是我的packjson 是顯示3.0.1 但是還是出現這個問題 耶引用了如下代碼還是不行 後來npm uninstall vue-router 再npm i vue-router@3.0.1 就成功了
webpack4没有找到配置出入口的webpack.config.js文件,npm能设置出入口文件吗
![图片说明](https://img-ask.csdn.net/upload/201902/28/1551359937_107616.png) webpack和webpack-cli都安装了
关于vue的cli里面package.json文件?
求大神指教一下这里面的东西都是啥?特别是scripts里面的,我发现我家里电脑的scripts里面的东西跟公司里scripts里面的东西是不一样的? ``` { "name": "zhiliao.0", "version": "1.0.0", "description": "A Vue.js project", "author": "momo <552488648@qq.com>", "private": true, "scripts": { "dev": "node build/dev-server.js", "build": "npm run build-prod", "start": "cross-env node build/webpack.dll.js && cross-env TYPE=local node build/dev-server.js", "start-dev": "node build/webpack.dll.js && cross-env TYPE=dev node build/dev-server.js", "start-test": "node build/webpack.dll.js && cross-env TYPE=test node build/dev-server.js", "start-prod": "node build/webpack.dll.js && cross-env TYPE=prod node build/dev-server.js", "build-local": "cross-env TYPE=local model=dev node build/webpack.dll.js && cross-env TYPE=local node build/build.js", "build-dev": "cross-env TYPE=dev model=build node build/webpack.dll.js && cross-env TYPE=dev node build/build.js", "build-test": "cross-env TYPE=test model=build node build/webpack.dll.js && cross-env TYPE=test node build/build.js", "build-prod": "cross-env TYPE=prod model=build node build/webpack.dll.js && cross-env TYPE=prod node build/build.js" }, "dependencies": { "axios": "^0.15.3", "blueimp-md5": "^2.7.0", "es6-promise": "^4.1.0", "mint-ui": "^2.2.1", "qs": "^6.4.0", "vue": "^2.2.2", "vue-baidu-map": "^0.10.5", "vue-router": "^2.2.0", "vuex": "^2.2.1", "weixin-js-sdk": "^1.2.0" }, "devDependencies": { "add-asset-html-webpack-plugin": "^2.1.2", "autoprefixer": "^6.7.2", "babel-core": "^6.22.1", "babel-eslint": "^8.0.3", "babel-loader": "^6.2.10", "babel-plugin-syntax-jsx": "^6.18.0", "babel-plugin-transform-runtime": "^6.22.0", "babel-plugin-transform-vue-jsx": "^3.5.0", "babel-preset-env": "^1.2.1", "babel-preset-es2015": "^6.24.1", "babel-preset-stage-2": "^6.22.0", "babel-register": "^6.22.0", "babel-runtime": "^6.26.0", "chalk": "^1.1.3", "connect-history-api-fallback": "^1.3.0", "copy-webpack-plugin": "^4.0.1", "cross-env": "^5.1.1", "css-loader": "^0.26.4", "eslint": "4.4.1", "eslint-config-standard": "10.2.1", "eslint-friendly-formatter": "3.0.0", "eslint-loader": "1.9.0", "eslint-plugin-html": "3.1.1", "eslint-plugin-import": "2.7.0", "eslint-plugin-node": "5.1.1", "eslint-plugin-promise": "3.5.0", "eslint-plugin-standard": "3.0.1", "eventsource-polyfill": "^0.9.6", "express": "^4.14.1", "extract-text-webpack-plugin": "^2.0.0", "file-loader": "^0.10.0", "form-data": "^0.2.0", "friendly-errors-webpack-plugin": "^1.1.3", "function-bind": "^1.1.0", "happypack": "^4.0.0", "html-webpack-plugin": "^2.28.0", "http-proxy-middleware": "^0.17.3", "iconv-lite": "^0.4.7", "mime": "~1.3.4", "node-sass": "^4.9.3", "opn": "^4.0.2", "optimize-css-assets-webpack-plugin": "^1.3.0", "ora": "^1.3.0", "portfinder": "^1.0.13", "request": "~2.72.0", "rimraf": "^2.6.0", "sass-loader": "^6.0.6", "semver": "^5.3.0", "shelljs": "^0.8.1", "url-loader": "^0.5.7", "urlencode": "^1.1.0", "verification-code": "^1.0.0", "vue-loader": "^11.1.4", "vue-style-loader": "^2.0.5", "vue-template-compiler": "^2.2.4", "webpack": "^2.2.1", "webpack-bundle-analyzer": "^2.2.1", "webpack-dev-middleware": "^1.10.0", "webpack-hot-middleware": "^2.16.1", "webpack-merge": "^2.6.1", "webpack-parallel-uglify-plugin": "^1.0.2", "workbox-webpack-plugin": "^2.1.2", "ws": "^0.4.32" }, "engines": { "node": ">= 4.0.0", "npm": ">= 3.0.0" }, "publishConfig": { "registry": "http://registry.npm.alibaba-inc.com" }, "browserslist": [ "> 1%", "last 2 versions", "not ie <= 8" ] } ```
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私有的数
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
Linux(服务器编程):15---两种高效的事件处理模式(reactor模式、proactor模式)
前言 同步I/O模型通常用于实现Reactor模式 异步I/O模型则用于实现Proactor模式 最后我们会使用同步I/O方式模拟出Proactor模式 一、Reactor模式 Reactor模式特点 它要求主线程(I/O处理单元)只负责监听文件描述符上是否有事件发生,有的话就立即将时间通知工作线程(逻辑单元)。除此之外,主线程不做任何其他实质性的工作 读写数据,接受新的连接,以及处...
阿里面试官问我:如何设计秒杀系统?我的回答让他比起大拇指
你知道的越多,你不知道的越多 点赞再看,养成习惯 GitHub上已经开源 https://github.com/JavaFamily 有一线大厂面试点脑图和个人联系方式,欢迎Star和指教 前言 Redis在互联网技术存储方面使用如此广泛,几乎所有的后端技术面试官都要在Redis的使用和原理方面对小伙伴们进行360°的刁难。 作为一个在互联网公司面一次拿一次Offer的面霸,打败了...
五年程序员记流水账式的自白。
不知觉已中码龄已突破五年,一路走来从起初铁憨憨到现在的十九线程序员,一路成长,虽然不能成为高工,但是也能挡下一面,从15年很火的android开始入坑,走过java、.Net、QT,目前仍处于android和.net交替开发中。 毕业到现在一共就职过两家公司,目前是第二家,公司算是半个创业公司,所以基本上都会身兼多职。比如不光要写代码,还要写软著、软著评测、线上线下客户对接需求收集...
C语言魔塔游戏
很早就很想写这个,今天终于写完了。 游戏截图: 编译环境: VS2017 游戏需要一些图片,如果有想要的或者对游戏有什么看法的可以加我的QQ 2985486630 讨论,如果暂时没有回应,可以在博客下方留言,到时候我会看到。 下面我来介绍一下游戏的主要功能和实现方式 首先是玩家的定义,使用结构体,这个名字是可以自己改变的 struct gamerole { char n
一文详尽系列之模型评估指标
点击上方“Datawhale”,选择“星标”公众号第一时间获取价值内容在机器学习领域通常会根据实际的业务场景拟定相应的不同的业务指标,针对不同机器学习问题如回归、分类、排...
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外...
压测学习总结(1)——高并发性能指标:QPS、TPS、RT、吞吐量详解
一、QPS,每秒查询 QPS:Queries Per Second意思是“每秒查询率”,是一台服务器每秒能够相应的查询次数,是对一个特定的查询服务器在规定时间内所处理流量多少的衡量标准。互联网中,作为域名系统服务器的机器的性能经常用每秒查询率来衡量。 二、TPS,每秒事务 TPS:是TransactionsPerSecond的缩写,也就是事务数/秒。它是软件测试结果的测量单位。一个事务是指一...
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple/ 
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca
2020年,冯唐49岁:我给20、30岁IT职场年轻人的建议
点击“技术领导力”关注∆  每天早上8:30推送 作者| Mr.K   编辑| Emma 来源| 技术领导力(ID:jishulingdaoli) 前天的推文《冯唐:职场人35岁以后,方法论比经验重要》,收到了不少读者的反馈,觉得挺受启发。其实,冯唐写了不少关于职场方面的文章,都挺不错的。可惜大家只记住了“春风十里不如你”、“如何避免成为油腻腻的中年人”等不那么正经的文章。 本文整理了冯
程序员该看的几部电影
##1、骇客帝国(1999) 概念:在线/离线,递归,循环,矩阵等 剧情简介: 不久的将来,网络黑客尼奥对这个看似正常的现实世界产生了怀疑。 他结识了黑客崔妮蒂,并见到了黑客组织的首领墨菲斯。 墨菲斯告诉他,现实世界其实是由一个名叫“母体”的计算机人工智能系统控制,人们就像他们饲养的动物,没有自由和思想,而尼奥就是能够拯救人类的救世主。 可是,救赎之路从来都不会一帆风顺,到底哪里才是真实的世界?
Python绘图,圣诞树,花,爱心 | Turtle篇
每周每日,分享Python实战代码,入门资料,进阶资料,基础语法,爬虫,数据分析,web网站,机器学习,深度学习等等。 公众号回复【进群】沟通交流吧,QQ扫码进群学习吧 微信群 QQ群 1.画圣诞树 import turtle screen = turtle.Screen() screen.setup(800,600) circle = turtle.Turtle()...
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东
还记得那个提速8倍的IDEA插件吗?VS Code版本也发布啦!!
去年,阿里云发布了本地 IDE 插件 Cloud Toolkit,仅 IntelliJ IDEA 一个平台,就有 15 万以上的开发者进行了下载,体验了一键部署带来的开发便利。时隔一年的今天,阿里云正式发布了 Visual Studio Code 版本,全面覆盖前端开发者,帮助前端实现一键打包部署,让开发提速 8 倍。 VSCode 版本的插件,目前能做到什么? 安装插件之后,开发者可以立即体验...
破14亿,Python分析我国存在哪些人口危机!
2020年1月17日,国家统计局发布了2019年国民经济报告,报告中指出我国人口突破14亿。 猪哥的朋友圈被14亿人口刷屏,但是很多人并没有看到我国复杂的人口问题:老龄化、男女比例失衡、生育率下降、人口红利下降等。 今天我们就来分析一下我们国家的人口数据吧! 一、背景 1.人口突破14亿 2020年1月17日,国家统计局发布了 2019年国民经济报告 ,报告中指出:年末中国大陆总人口(包括31个
2019年除夕夜的有感而发
天气:小雨(加小雪) 温度:3摄氏度 空气:严重污染(399) 风向:北风 风力:微风 现在是除夕夜晚上十点钟,再有两个小时就要新的一年了; 首先要说的是我没患病,至少现在是没有患病;但是心情确像患了病一样沉重; 现在这个时刻应该大部分家庭都在看春晚吧,或许一家人团团圆圆的坐在一起,或许因为某些特殊原因而不能团圆;但不管是身在何处,身处什么境地,我都想对每一个人说一句:新年快乐! 不知道csdn这...
听说想当黑客的都玩过这个Monyer游戏(1~14攻略)
第零关 进入传送门开始第0关(游戏链接) 请点击链接进入第1关: 连接在左边→ ←连接在右边 看不到啊。。。。(只能看到一堆大佬做完的留名,也能看到菜鸡的我,在后面~~) 直接fn+f12吧 &lt;span&gt;连接在左边→&lt;/span&gt; &lt;a href="first.php"&gt;&lt;/a&gt; &lt;span&gt;←连接在右边&lt;/span&gt; o...
在家远程办公效率低?那你一定要收好这个「在家办公」神器!
相信大家都已经收到国务院延长春节假期的消息,接下来,在家远程办公可能将会持续一段时间。 但是问题来了。远程办公不是人在电脑前就当坐班了,相反,对于沟通效率,文件协作,以及信息安全都有着极高的要求。有着非常多的挑战,比如: 1在异地互相不见面的会议上,如何提高沟通效率? 2文件之间的来往反馈如何做到及时性?如何保证信息安全? 3如何规划安排每天工作,以及如何进行成果验收? ......
作为一个程序员,内存和磁盘的这些事情,你不得不知道啊!!!
截止目前,我已经分享了如下几篇文章: 一个程序在计算机中是如何运行的?超级干货!!! 作为一个程序员,CPU的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!
2020年的1月,我辞掉了我的第一份工作
其实,这篇文章,我应该早点写的,毕竟现在已经2月份了。不过一些其它原因,或者是我的惰性、还有一些迷茫的念头,让自己迟迟没有试着写一点东西,记录下,或者说是总结下自己前3年的工作上的经历、学习的过程。 我自己知道的,在写自己的博客方面,我的文笔很一般,非技术类的文章不想去写;另外我又是一个还比较热衷于技术的人,而平常复杂一点的东西,如果想写文章写的清楚点,是需要足够...
别低估自己的直觉,也别高估自己的智商
所有群全部吵翻天,朋友圈全部沦陷,公众号疯狂转发。这两周没怎么发原创,只发新闻,可能有人注意到了。我不是懒,是文章写了却没发,因为大家的关注力始终在这次的疫情上面,发了也没人看。当然,我...
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。 再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。 下文是原回答,希望能对你能有所启发。 如果我说,这个世界上人真的分三六九等,...
节后首个工作日,企业们集体开晨会让钉钉挂了
By 超神经场景描述:昨天 2 月 3 日,是大部分城市号召远程工作的第一天,全国有接近 2 亿人在家开始远程办公,钉钉上也有超过 1000 万家企业活跃起来。关键词:十一出行 人脸...
Java基础知识点梳理
Java基础知识点梳理 摘要: 虽然已经在实际工作中经常与java打交道,但是一直没系统地对java这门语言进行梳理和总结,掌握的知识也比较零散。恰好利用这段时间重新认识下java,并对一些常见的语法和知识点做个总结与回顾,一方面为了加深印象,方便后面查阅,一方面为了学好java打下基础。 Java简介 java语言于1995年正式推出,最开始被命名为Oak语言,由James Gosling(詹姆
2020年全新Java学习路线图,含配套视频,学完即为中级Java程序员!!
新的一年来临,突如其来的疫情打破了平静的生活! 在家的你是否很无聊,如果无聊就来学习吧! 世上只有一种投资只赚不赔,那就是学习!!! 传智播客于2020年升级了Java学习线路图,硬核升级,免费放送! 学完你就是中级程序员,能更快一步找到工作! 一、Java基础 JavaSE基础是Java中级程序员的起点,是帮助你从小白到懂得编程的必经之路。 在Java基础板块中有6个子模块的学
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合
相关热词 c#导入fbx c#中屏蔽键盘某个键 c#正态概率密度 c#和数据库登陆界面设计 c# 高斯消去法 c# codedom c#读取cad文件文本 c# 控制全局鼠标移动 c# temp 目录 bytes初始化 c#
立即提问