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.
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
在终端执行webpack调用webpack.config.js 时,报错

### 在终端执行webpack调用webpack.config.js 时,报错,求大佬解决 ### 这是我 webpack.config.js 的代码 ``` JavaScript const path = require('path') module.exports = { entry: './src/main.js', output: { path: path.join(__dirname, './dist'), filename: 'bundle.js' }, mode: 'development' } ``` ### 这是我 package.json 的内容 ``` { "name": "webpack-b", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC", "devDependencies": { "jquery": "^3.3.1", "webpack": "^4.20.2", "webpack-cli": "^3.1.2" } } ``` 这是目录结构 ![图片说明](https://img-ask.csdn.net/upload/201810/09/1539066890_92808.png) 这是我报错的信息 ![图片说明](https://img-ask.csdn.net/upload/201810/09/1539066961_249766.png) #### 但是如果我在package.json的 script 中加上 ``` javascript "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "webpack --mode development ./src/main.js --output ./dist/bundle.js" }, ```` 然后在终端执行 npm run dev,却是成功的,求解 ![图片说明](https://img-ask.csdn.net/upload/201810/09/1539067218_230104.png)

webpack4在webpack.base.conf.js配置如下,main.js内容是第二张图片,index.html导入main.js然后报错:

![图片说明](https://img-ask.csdn.net/upload/201903/01/1551399058_348528.png) ![图片说明](https://img-ask.csdn.net/upload/201903/01/1551399083_709906.png ) SyntaxError: import declarations may only appear at top level of a module

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' } } ```

配置webpack.config.js时出现错误,提示如下所示

![图片说明](https://img-ask.csdn.net/upload/201702/14/1487087214_550237.png) 是怎么回事?我的代码如下所示: var path=require('path'); var webpack=require('webpack'); var HtmlWebpackPlugin=require('html-webpack-plugin'); //一些常用路径 var ROOT_PATH=path.resolve(__dirname); var APP_PATH=path.resolve(ROOT_PATH,'app'); var BUILD_PATH=path.resolve(ROOT_PATH,'build'); console.log("ROOT_PATH====="+ROOT_PATH); console.log("APP_PATH====="+APP_PATH); console.log("BUILD_PATH====="+BUILD_PATH); module.exports={ entry:{ app:path.resolve(APP_PATH,'index.jsx') }, output:{ path:BUILD_PATH, filename:'bundle.js' }, //开启 dev source map devtool:'eval-source-map', //开启 webpack dev server devServer:{ historyApiFallback:true, hot:true, inline:true, progress:true }, module: { //配置preLoaders,将eslint添加进入 // preLoaders: [ // { // test:/\.jsx?$/, // loaders:['eslint'], // include:APP_PATH // } // ], //配置loaders,将babel添加进去 loaders:[ { test:/\.jsx?$/, loaders:['babel'], include:APP_PATH } ] }, //配置plugin plugins:[ new HtmlWebpackPlugin({ title:'My first react app' }) ], resolve:{ extensions:['','.js','.jsx'] } } 如果去掉 , resolve:{ extensions:['','.js','.jsx'] } 这段代码之后,结果变为下面: ![图片说明](https://img-ask.csdn.net/upload/201702/15/1487141016_112667.png)

自己用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.

webpack 生成XXX.bundle.js 报错

各位码神你们好,我学习webpack打包时遇到一个问题, 搞了很久都没解决。在此希望你们能动动手指帮我解决一下。 报错内容如下: ERROR in multi ./hello.js hello.bundle.js Module not found: Error: Can't resolve 'hello.bundle.js' in 'D:\GitHub\webpack-test' @ multi ./hello.js hello.bundle.js 报错截图: ![图片说明](https://img-ask.csdn.net/upload/201805/18/1526579903_371261.jpg)

webpack 打包报错,怎么解决,大神帮忙看一下 多谢

ERROR in ./node_modules/_css-loader@0.28.11@css-loader!./src/assets/vendor/mui/css/mui.css Module build failed: @ ./src/assets/vendor/mui/css/mui.css 2:14-104 @ ./src/main.js npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! y@1.0.0 build: `cross-env NODE_ENV=production webpack --progress --hide-modules` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the y@1.0.0 build 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:

webpack4.0中引入app.vue出现报错

**webpack4.0中引入app.vue出现报错** 我正在学vue.js实战,但是这本书事两年前写的,书中的vue配置有些已经不能用了, 我在配置完webpack.config.js后创建了个app.vue,然后就报错了,百度过,没找到合适的答案,请问各位大佬有遇到过吗。求解答,谢谢,下面是报错截图,以及webpack.config.js的截图,谢谢 ![图片说明](https://img-ask.csdn.net/upload/201909/16/1568602107_212983.png) ![图片说明](https://img-ask.csdn.net/upload/201909/16/1568602131_486744.png) **webpack.config.js:** var path = require('path'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var config = { entry : { main : './main' }, output : { path : path.join(__dirname, './dist'), publicPath : '/dist/', filename : 'main.js' }, module: { rules: [ { test: /\.vue$/, loader : 'vue-loader', options : { loaders : { css : ExtractTextPlugin.extract({ use : 'css-loader', fallback : 'vue-style-loader' }) } } }, { test : /\.js$/, loader : 'babel-loader', exclude : /node_modules/ }, { test : /\.css$/, use : ExtractTextPlugin.extract({ use : 'css-loader', fallback : 'style-loader' }) } ] }, plugins : [ //重命名提取后的css文件 new ExtractTextPlugin("main.css") ] }; module.exports = config; **package.json:** { "name": "vuedemo04", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "webpack-dev-server --host 192.168.0.114 --port 8888 --open --config webpack.config.js" }, "author": "", "license": "ISC", "devDependencies": { "@babel/core": "^7.6.0", "@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/plugin-transform-runtime": "^7.6.0", "@babel/preset-env": "^7.6.0", "@babel/runtime": "^7.6.0", "babel": "^6.23.0", "babel-core": "^6.26.3", "babel-loader": "^8.0.6", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.7.0", "babel-preset-es2015": "^6.24.1", "babel-runtime": "^6.26.0", "css-loader": "^3.2.0", "extract-text-webpack-plugin": "^4.0.0-beta.0", "style-loader": "^1.0.0", "vue-hot-reload-api": "^2.3.3", "vue-loader": "^15.7.1", "vue-style-loader": "^4.1.2", "vue-template-compiler": "^2.6.10", "webpack": "^4.39.3", "webpack-cli": "^3.3.8", "webpack-dev-server": "^3.8.0" }, "dependencies": { "vue": "^2.6.10" } } **main.js:** import Vue from 'vue'; import App from './app.vue'; new Vue({ el:'#app', render : h => h(App) }); **app.vue:** ![图片说明](https://img-ask.csdn.net/upload/201909/16/1568602350_668161.png) **style.css:** ![图片说明](https://img-ask.csdn.net/upload/201909/16/1568602435_444026.png) **index.html:** ![图片说明](https://img-ask.csdn.net/upload/201909/16/1568602485_888515.png) **vue项目结构:**

npm run build 时报错

ERROR in build.js from UglifyJs Unexpected token: name (raf) [./node_modules/resize-detector/esm/index.js:1,0][build.js:83531,4] 网上说在webpack.config.js中把 exclude: /node_modules/ 这行代码屏蔽掉就可以成功,我也试过了是可以成功,但是在dist中的文件就少了很多啊 就只要一个buid.js和build.js 其他就是图片 这怎么处理啊

webpack4 + vue2 编译.vue文件失败错误

# 提示如下的错误![图片说明](https://img-ask.csdn.net/upload/201805/04/1525424808_11411.png) 这是我有的所有的依赖 ![图片说明](https://img-ask.csdn.net/upload/201805/04/1525424879_290303.png) webpack的配置文件 ![图片说明](https://img-ask.csdn.net/upload/201805/04/1525424904_596031.png) 这个只是按照网上一个demo写的,不知道为什么编译vue的时候报错,PS:菜鸟一只,头回使用webpack 和 vue 我是想把vue文件编译到某某js中,所以和服务器上的dev不太一样 不知道为什么就是不好用

webpack2 在打包css时,css引用图片报错

ERROR in ./src/imgs/left.png Module parse failed: C:\Users\Administrator\Desktop\test\src\imgs\left.png Unexpected character '�' (1:0) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file) @ ./~/css-loader!./src/css/banner.css 6:570-597 @ ./src/css/banner.css @ ./src/js/index.js ERROR in ./src/imgs/right.png Module parse failed: C:\Users\Administrator\Desktop\test\src\imgs\right.png Unexpected character '�' (1:0) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file) @ ./~/css-loader!./src/css/banner.css 6:737-765 @ ./src/css/banner.css @ ./src/js/index.js 我的webpack.config.js配置如下 var webpack=require('webpack'); module.exports={ entry:'./src/js/index.js', output:{ path:__dirname+'/bundle', filename:'[name].js' }, module: { rules: [ { test: /\.css$/, use: ['style-loader','css-loader'] }, { test:'/\.(png|jpg|gif)$/', use: [ { loader: 'url-loader', options: { name: 'assets/[name]-[hash:5].[ext]', limit: 4000 } }, 'image-webpack-loader' ] } ] } } 请问大神为什么会报那样的错误 求指教

react+webpack中使用wowjs和animate.css后报错window is not defined

1.首先使用npm安装wowjs npm install wowjs --save-dev 2.在js中引用 import 'animate.css' import {WOW} from 'wowjs'; new WOW({live: false}).init(); 但是报错window is not defined 需要在webpack.config.js中配置吗?如何配置呢? 我在webpack.config.js这样配置了。不可以 ![图片说明](https://img-ask.csdn.net/upload/201809/29/1538214241_538880.jpg)

webpack。因为HtmlWebpackPlugin中的模板html使用了thymeleaf报错了

我的HtmlWebpackPlugin配置是 ```new HtmlWebpackPlugin({ template: '../template/sidebars.html', filename: '../../../templates/home/sidebars.html', imagePath:'http://static.test.koolink.com/www', xhtml:true, inject: false }) ``` sidebars.html的其中一段语法是这样的 ```<div class="visiter kl-container" th:fragment="visitors (maxShow)" th:if="${not #lists.isEmpty(visitors)}"> <div class="side-title"> <span class="fb">谁看过我</span> </div> <div class="list"> <div class="user" th:each="visit, vStat : ${visitors}" th:unless="${vStat.index > maxShow}"> <a href="#" target="_blank" kl:profile="${visit.visitor}" kl:homepage="@{/}"> <img class="sider-avatar" src="/images/avatar.png" th:if="${not #strings.isEmpty(visit.visitor.link)}" kl:thumbnail="sqr72" th:src="@{${visit.visitor.link}}" th:alt="${visit.visitor.name + 'Logo'}"/> <img class="sider-avatar" src="/images/avatar.png" th:if="${#strings.isEmpty(visit.visitor.link)}" th:alt="${visit.visitor.name + 'Logo'}"/> <div class="name" > <span class="name-text con-overflow" th:text="${visit.visitor.name}"></span> <svg class="kl global-icon-verified" th:if="${visit.visitor.sign > 1}" aria-hidden="true"> <use xlink:href="#kl-certification"></use> </svg> </div> <div class="info con-overflow" th:text="${visit.visitor.title}">CEO</div> </a> </div> </div> </div> ``` 报错是这样的 ```Html Webpack Plugin: <pre> Error: Child compilation failed: Module build failed: SyntaxError: Unexpected token ILLEGAL - Function - lodash.js:14843 [js]/[lodash]/lodash.js:14843:16 - lodash.js:494 apply [js]/[lodash]/lodash.js:494:27 - lodash.js:15227 [js]/[lodash]/lodash.js:15227:16 - lodash.js:496 apply [js]/[lodash]/lodash.js:496:27 - lodash.js:6600 [js]/[lodash]/lodash.js:6600:16 - lodash.js:14842 Function.template [js]/[lodash]/lodash.js:14842:20 - SyntaxError: Unexpected token ILLEGAL - compiler.js:76 [js]/[html-webpack-plugin]/lib/compiler.js:76:16 - Compiler.js:304 [js]/[webpack]/lib/Compiler.js:304:11 - Compiler.js:520 [js]/[webpack]/lib/Compiler.js:520:14 - Tapable.js:202 next [js]/[tapable]/lib/Tapable.js:202:11 - CachePlugin.js:62 Compiler.<anonymous> [js]/[webpack]/lib/CachePlugin.js:62:5 - Tapable.js:206 Compiler.applyPluginsAsyncSeries [js]/[tapable]/lib/Tapable.js:206:13 - Compiler.js:517 [js]/[webpack]/lib/Compiler.js:517:11 - Tapable.js:195 Compilation.applyPluginsAsyncSeries [js]/[tapable]/lib/Tapable.js:195:46 - Compilation.js:671 [js]/[webpack]/lib/Compilation.js:671:19 - Tapable.js:195 Compilation.applyPluginsAsyncSeries [js]/[tapable]/lib/Tapable.js:195:46 - Compilation.js:662 [js]/[webpack]/lib/Compilation.js:662:11 - Tapable.js:202 next [js]/[tapable]/lib/Tapable.js:202:11 - index.js:244 Compilation.<anonymous> [js]/[uglifyjs-webpack-plugin]/dist/index.js:244:6 - Tapable.js:206 Compilation.applyPluginsAsyncSeries [js]/[tapable]/lib/Tapable.js:206:13 - Compilation.js:657 [js]/[webpack]/lib/Compilation.js:657:10 - Tapable.js:195 Compilation.applyPluginsAsyncSeries [js]/[tapable]/lib/Tapable.js:195:46 - Compilation.js:653 sealPart2 [js]/[webpack]/lib/Compilation.js:653:9 - Tapable.js:195 Compilation.applyPluginsAsyncSeries [js]/[tapable]/lib/Tapable.js:195:46 - Compilation.js:596 Compilation.seal [js]/[webpack]/lib/Compilation.js:596:8 - Compiler.js:514 [js]/[webpack]/lib/Compiler.js:514:17 - Tapable.js:289 [js]/[tapable]/lib/Tapable.js:289:11 - Compilation.js:498 [js]/[webpack]/lib/Compilation.js:498:11 - Compilation.js:468 [js]/[webpack]/lib/Compilation.js:468:14 </pre> ``` 请问有什么办法解决吗

npm dev 报错npm-cli.js缺失

![图片说明](https://img-ask.csdn.net/upload/201906/04/1559616062_372757.png) webstorm上配置的npm其他项目可以运行,这个项目会报错,这个npm-cli.js缺失怎么解决

webpack Babel报错 试了很多方法都没能解决?

![图片说明](https://img-ask.csdn.net/upload/201904/17/1555466562_560964.png)

webpack4没有找到配置出入口的webpack.config.js文件,npm能设置出入口文件吗

![图片说明](https://img-ask.csdn.net/upload/201902/28/1551359937_107616.png) webpack和webpack-cli都安装了

在vue项目中,在入口主文件index.js中引入less样式文件报错

引入方式如下:![图片说明](https://img-ask.csdn.net/upload/201804/26/1524749855_572114.png) 报错说明如下:![图片说明](https://img-ask.csdn.net/upload/201804/26/1524750046_435848.png) 参考了其他问题的回答,说是需要在build文件下的webpack.base.conf.js中加上 ``` { test: /\.less$/, loader: "style-loader!css-loader!less-loader" }, ``` 可是并没有解决,一样报错,求大神帮忙解决,非常感谢!

通过yarn启动web项目出错

小弟最近从github上下载了一个网页的项目,但是通过yarn来启动程序时,出现了下面的错误。有没有哪位大神遇到过同样的问题,能不吝指教小弟一下,不胜感激~ TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined at usedChunks.reduce (D:\l\node_modules\webpack\lib\optimize\CommonsChunkPlugin.js:296:29) at Array.reduce (native) at CommonsChunkPlugin.getExtractableModules (D:\l\node_modules\webpack\lib\optimize\CommonsChunkPlugin.js:295:46) at targetChunks.forEach (D:\l\node_modules\webpack\lib\optimize\CommonsChunkPlugin.js:136:38) at Array.forEach (native) at Compilation.compilation.plugin (D:\l\node_modules\webpack\lib\optimize\CommonsChunkPlugin.js:102:18) at Compilation.applyPluginsBailResult1 (D:\l\node_modules\tapable\lib\Tapable.js:140:27) at Compilation.seal (D:\l\node_modules\webpack-dev-server\node_modules\webpack\lib\Compilation.js:571:9) at D:\l\webpack-dev-server\node_modules\webpack\lib\Compiler.js:488:16 at D:\l\node_modules\tapable\lib\Tapable.js:289:11 at _addModuleChain (D:\l\node_modules\webpack-dev-server\node_modules\webpack\lib\Compilation.js:477:11) at processModuleDependencies.err (D:\l\node_modules\webpack-dev-server\node_modules\webpack\lib\Compilation.js:448:13) at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9) error Command failed with exit code 1. error Command failed with exit code 1. error Command failed with exit code 1.

webpack 引入vue,在vue中使用 mint-ui

在引入mint-ui 的文件和style.css 的时候,总是报下面的错误,不知道大神们怎么解决 ``` ERROR in ./node_modules/_mint-ui@1.0.2@mint-ui/lib/popup/style.css Module build failed: CssSyntaxError (2:1) Unknown word 1 | > 2 | var content = require("!!./style.css"); | ^ 3 | 4 | if(typeof content === 'string') content = [[module.id, content, '']]; @ ./node_modules/_mint-ui@1.0.2@mint-ui/lib/mint-ui.common.js 5052:18-56 @ ./src/main.js @ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/main.js ```

java jdk 8 帮助文档 中文 文档 chm 谷歌翻译

JDK1.8 API 中文谷歌翻译版 java帮助文档 JDK API java 帮助文档 谷歌翻译 JDK1.8 API 中文 谷歌翻译版 java帮助文档 Java最新帮助文档 本帮助文档是使用谷

软件测试2小时入门

本课程内容系统、全面、简洁、通俗易懂,通过2个多小时的介绍,让大家对软件测试有个系统的理解和认识,具备基本的软件测试理论基础。 主要内容分为5个部分: 1 软件测试概述,了解测试是什么、测试的对象、原则、流程、方法、模型;&nbsp; 2.常用的黑盒测试用例设计方法及示例演示;&nbsp; 3 常用白盒测试用例设计方法及示例演示;&nbsp; 4.自动化测试优缺点、使用范围及示例‘;&nbsp; 5.测试经验谈。

汽车行驶工况构建2019 D题.zip

1. 标记0与0之间的片段位置 2.标记所之间的毛刺数的位置 3.去掉毛刺数据 速度 并生成 新的数组 4.标记时间段 5. 0与0之间 如果有不连续的时间片段 置零 先找到时间间隔 再看间隔时间对应

Python+OpenCV计算机视觉

Python+OpenCV计算机视觉系统全面的介绍。

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

专为程序员设计的数学课

<p> 限时福利限时福利,<span>15000+程序员的选择!</span> </p> <p> 1、原价 115 元,限时特价仅需 49 元!<br> 2、购课后添加学习助手(微信号:csdnxy68),按提示消息领取编程大礼包!并获取讲师答疑服务! </p> <p> <br> </p> <p> 套餐中一共包含5门程序员必学的数学课程(共47讲) </p> <p> 课程1:《零基础入门微积分》 </p> <p> 课程2:《数理统计与概率论》 </p> <p> 课程3:《代码学习线性代数》 </p> <p> 课程4:《数据处理的最优化》 </p> <p> 课程5:《马尔可夫随机过程》 </p> <p> <br> </p> <p> 哪些人适合学习这门课程? </p> <p> 1)大学生,平时只学习了数学理论,并未接触如何应用数学解决编程问题; </p> <p> 2)对算法、数据结构掌握程度薄弱的人,数学可以让你更好的理解算法、数据结构原理及应用; </p> <p> 3)看不懂大牛代码设计思想的人,因为所有的程序设计底层逻辑都是数学; </p> <p> 4)想学习新技术,如:人工智能、机器学习、深度学习等,这门课程是你的必修课程; </p> <p> 5)想修炼更好的编程内功,在遇到问题时可以灵活的应用数学思维解决问题。 </p> <p> <br> </p> <p> 在这门「专为程序员设计的数学课」系列课中,我们保证你能收获到这些:<br> <br> <span> </span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">①价值300元编程课程大礼包</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">②应用数学优化代码的实操方法</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">③数学理论在编程实战中的应用</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">④程序员必学的5大数学知识</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">⑤人工智能领域必修数学课</span> </p> <p> <br> 备注:此课程只讲程序员所需要的数学,即使你数学基础薄弱,也能听懂,只需要初中的数学知识就足矣。<br> <br> 如何听课? </p> <p> 1、登录CSDN学院 APP 在我的课程中进行学习; </p> <p> 2、登录CSDN学院官网。 </p> <p> <br> </p> <p> 购课后如何领取免费赠送的编程大礼包和加入答疑群? </p> <p> 购课后,添加助教微信:<span> csdnxy68</span>,按提示领取编程大礼包,或观看付费视频的第一节内容扫码进群答疑交流! </p> <p> <img src="https://img-bss.csdn.net/201912251155398753.jpg" alt=""> </p>

微信公众平台开发入门

本套课程的设计完全是为初学者量身打造,课程内容由浅入深,课程讲解通俗易懂,代码实现简洁清晰。通过本课程的学习,学员能够入门微信公众平台开发,能够胜任企业级的订阅号、服务号、企业号的应用开发工作。 通过本课程的学习,学员能够对微信公众平台有一个清晰的、系统性的认识。例如,公众号是什么,它有什么特点,它能做什么,怎么开发公众号。 其次,通过本课程的学习,学员能够掌握微信公众平台开发的方法、技术和应用实现。例如,开发者文档怎么看,开发环境怎么搭建,基本的消息交互如何实现,常用的方法技巧有哪些,真实应用怎么开发。

4小时玩转微信小程序——基础入门与微信支付实战

这是一个门针对零基础学员学习微信小程序开发的视频教学课程。课程采用腾讯官方文档作为教程的唯一技术资料来源。杜绝网络上质量良莠不齐的资料给学员学习带来的障碍。 视频课程按照开发工具的下载、安装、使用、程序结构、视图层、逻辑层、微信小程序等几个部分组织课程,详细讲解整个小程序的开发过程

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

IE主页被篡改修复

IE主页修复。IE主页被篡改修复。一键修复IE主页

我说我不会算法,阿里把我挂了。

不说了,字节跳动也反手把我挂了。

土豆SDK(Java版)-非官方

由于土豆SDK一直建设中,最近几天抽空写了一套java的SDK。包含了现有的所有请求协议。本套SDK中仅提供了oAuth的方式(引用oAuth.net的java版示例),并没有在框架中实现,涉及到登录

Java8零基础入门视频教程

这门课程基于主流的java8平台,由浅入深的详细讲解了java SE的开发技术,可以使java方向的入门学员,快速扎实的掌握java开发技术!

【数据结构与算法综合实验】欢乐连连看(C++ & MFC)案例

这是武汉理工大学计算机学院数据结构与算法综合实验课程的第三次项目:欢乐连连看(C++ & MFC)迭代开发代码。运行环境:VS2017。已经实现功能:开始游戏、消子、判断胜负、提示、重排、计时、帮助。

数学建模竞赛D题“汽车行驶工况构建

第十六届“华为杯”数学建模竞赛D题“汽车行驶工况构建”论文。论文获得比赛国家二等奖,论文为原创,仅供参考。 关键词:数据处理;降维;聚类。

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

Android音视频开发全套

Android平台音视频开发全套,涉及:FFmpeg软解码解码、Mediacodec硬解码编码、Openssl音频播放、OpenGL ES视频渲染、RTMP推流等核心重要知识点。

设计模式(JAVA语言实现)--20种设计模式附带源码

课程亮点: 课程培训详细的笔记以及实例代码,让学员开始掌握设计模式知识点 课程内容: 工厂模式、桥接模式、组合模式、装饰器模式、外观模式、享元模式、原型模型、代理模式、单例模式、适配器模式 策略模式、模板方法模式、观察者模式、迭代器模式、责任链模式、命令模式、备忘录模式、状态模式、访问者模式 课程特色: 笔记设计模式,用笔记串连所有知识点,让学员从一点一滴积累,学习过程无压力 笔记标题采用关键字标识法,帮助学员更加容易记住知识点 笔记以超链接形式让知识点关联起来,形式知识体系 采用先概念后实例再应用方式,知识点深入浅出 提供授课内容笔记作为课后复习以及工作备查工具 部分图表(电脑PC端查看):

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

想学好JAVA必须要报两万的培训班吗? Java大神勿入 如果你: 零基础想学JAVA却不知道从何入手 看了一堆书和视频却还是连JAVA的环境都搭建不起来 囊中羞涩面对两万起的JAVA培训班不忍直视 在职没有每天大块的时间专门学习JAVA 那么恭喜你找到组织了,在这里有: 1. 一群志同道合立志学好JAVA的同学一起学习讨论JAVA 2. 灵活机动的学习时间完成特定学习任务+每日编程实战练习 3. 热心助人的助教和讲师及时帮你解决问题,不按时完成作业小心助教老师的家访哦 上一张图看看前辈的感悟: &nbsp; &nbsp; 大家一定迫不及待想知道什么是极简JAVA学习营了吧,下面就来给大家说道说道: 什么是极简JAVA学习营? 1. 针对Java小白或者初级Java学习者; 2. 利用9天时间,每天1个小时时间; 3.通过 每日作业 / 组队PK / 助教答疑 / 实战编程 / 项目答辩 / 社群讨论 / 趣味知识抢答等方式让学员爱上学习编程 , 最终实现能独立开发一个基于控制台的‘库存管理系统’ 的学习模式 极简JAVA学习营是怎么学习的? &nbsp; 如何报名? 只要购买了极简JAVA一:JAVA入门就算报名成功! &nbsp;本期为第四期极简JAVA学习营,我们来看看往期学员的学习状态: 作业看这里~ &nbsp; 助教的作业报告是不是很专业 不交作业打屁屁 助教答疑是不是很用心 &nbsp; 有奖抢答大家玩的很嗨啊 &nbsp; &nbsp; 项目答辩终于开始啦 &nbsp; 优秀者的获奖感言 &nbsp; 这是答辩项目的效果 &nbsp; &nbsp; 这么细致的服务,这么好的氛围,这样的学习效果,需要多少钱呢? 不要1999,不要199,不要99,只要9.9 是的你没听错,只要9.9以上所有就都属于你了 如果你: 1、&nbsp;想学JAVA没有基础 2、&nbsp;想学JAVA没有整块的时间 3、&nbsp;想学JAVA没有足够的预算 还等什么?赶紧报名吧,抓紧抢位,本期只招300人,错过只有等时间待定的下一期了 &nbsp; 报名请加小助手微信:eduxy-1 &nbsp; &nbsp;

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

web网页制作期末大作业

分享思维,改变世界. web网页制作,期末大作业. 所用技术:html css javascript 分享所学所得

手把手实现Java图书管理系统(附源码)

【超实用课程内容】 本课程演示的是一套基于Java的SSM框架实现的图书管理系统,主要针对计算机相关专业的正在做毕设的学生与需要项目实战练习的java人群。详细介绍了图书管理系统的实现,包括:环境搭建、系统业务、技术实现、项目运行、功能演示、系统扩展等,以通俗易懂的方式,手把手的带你从零开始运行本套图书管理系统,该项目附带全部源码可作为毕设使用。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/27513 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程2年有效观看时长,大家可以抓紧时间学习后一起讨论哦~ 【学员专享增值服务】 源码开放 课件、课程案例代码完全开放给你,你可以根据所学知识,自行修改、优化 下载方式:电脑登录https://edu.csdn.net/course/detail/27513,点击右下方课程资料、代码、课件等打包下载

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

2019 Python开发者日-培训

本次活动将秉承“只讲技术,拒绝空谈”的理念,邀请十余位身处一线的Python技术专家,重点围绕Web开发、自动化运维、数据分析、人工智能等技术模块,分享真实生产环境中使用Python应对IT挑战的真知灼见。此外,针对不同层次的开发者,大会还安排了深度培训实操环节,为开发者们带来更多深度实战的机会。

C++语言基础视频教程

C++语言基础视频培训课程:本课与主讲者在大学开出的程序设计课程直接对接,准确把握知识点,注重教学视频与实践体系的结合,帮助初学者有效学习。本教程详细介绍C++语言中的封装、数据隐藏、继承、多态的实现等入门知识;主要包括类的声明、对象定义、构造函数和析构函数、运算符重载、继承和派生、多态性实现等。 课程需要有C语言程序设计的基础(可以利用本人开出的《C语言与程序设计》系列课学习)。学习者能够通过实践的方式,学会利用C++语言解决问题,具备进一步学习利用C++开发应用程序的基础。

零基础学C#编程—C#从小白到大咖

本课程从初学者角度出发,提供了C#从入门到成为程序开发高手所需要掌握的各方面知识和技术。 【课程特点】 1 由浅入深,编排合理; 2 视频讲解,精彩详尽; 3 丰富实例,轻松易学; 4 每章总结配有难点解析文档。 15大章节,228课时,1756分钟与你一同进步!

编程实现学生基本信息管理程序

编程实现学生基本信息管理程序。学生基本信息包括:学号、姓名、性别、年龄、班级、学院、专业等。具体实现的管理功能如下: (1) 输入并显示多个学生的基本信息; (2) 可根据需要实现学生信息的添加; (

android 漂亮的UI界面 完整的界面设计

声明:这也是我学习时在网上下载的,鉴于分享精神,并且觉得很不错才上传上来的。。。。。 android 漂亮的UI界面 完整的界面设计 这是一个完整的UI设计,但是没写动作,这是一个公司程序员的公司任务

Anaconda详细安装及使用教程(带图文)

Anacond的介绍 Anaconda指的是一个开源的Python发行版本,其包含了conda、Python等180多个科学包及其依赖项。 因为包含了大量的科学包,Anaconda 的下载文件比较大(约 531 MB),如果只需要某些包,或者需要节省带宽或存储空间,也可以使用Miniconda这个较小的发行版(仅包含conda和 Python)。 Conda是一个开源的包、环境管理器,可以用于...

DirectX修复工具V4.0增强版

DirectX修复工具(DirectX Repair)是一款系统级工具软件,简便易用。本程序为绿色版,无需安装,可直接运行。 本程序的主要功能是检测当前系统的DirectX状态,如果发现异常则进行修复

相关热词 c# cad插入影像 c#设计思想 c#正则表达式 转换 c#form复制 c#写web c# 柱形图 c# wcf 服务库 c#应用程序管理器 c#数组如何赋值给数组 c#序列化应用目的博客园
立即提问