webpack问题(将能正常运行的项目除了node_modules文件复制了一份,然后cnpm i之后装完之后不能运行)

将能正常运行的项目除了node_modules文件外复制了一份,然后cnpm i之后装完之后不能运行

图片说明

npm run dev之后结果如下

package.json

{
  "name": "re",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "dev": "webpack-dev-server --open --port 3001 --hot --mode development"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "@babel/core": "^7.2.2",
    "@babel/runtime": "^7.3.1",
    "babel-loader": "^8.0.5",
    "babel-plugin-component": "^1.1.1",
    "css-loader": "^2.1.0",
    "file-loader": "^3.0.1",
    "html-webpack-plugin": "^3.2.0",
    "jquery": "^3.3.1",
    "popper.js": "^1.14.7",
    "style-loader": "^0.23.1",
    "url-loader": "^1.1.2",
    "vue-loader": "^15.6.2",
    "vue-template-compiler": "^2.6.2",
    "webpack": "^4.29.0",
    "webpack-cli": "^3.2.1",
    "webpack-dev-server": "^3.1.14"
  },
  "dependencies": {
    "@babel/plugin-proposal-class-properties": "^7.3.0",
    "@babel/plugin-transform-runtime": "^7.2.0",
    "@babel/preset-env": "^7.3.1",
    "babel-cli": "^6.26.0",
    "mint-ui": "^2.2.13",
    "vue": "^2.6.2",
    "vue-router": "^3.0.2"
  }
}

求大神帮忙看看,小弟感激不尽

2个回答

有错误信息的截图吗?估计是依赖包版本的问题,cnpm i 都是安装依赖包的最新版本。你的项目中有package.lock.json文件?如果有的话直接npm install ,他会根据锁定的版本进行安装。没有的话只能根据错误提示看看什么情况了

qq_34676694
远方199599 谢谢你,新手接触这东西头大 隔了一天重新cnpm 了一下 又可以了 长知识了
大约一年之前 回复

cnpm就是这样的 有时候用不了, 很正常 , 我都是用npm的;

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
自己用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.
解決 安裝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**_
运行ionic cordova platform add android不成功
各位大神: 在运用Ionic 开发手机APP的过程中遇到困难,ionic安装的是最新的长期支持版的,cordova安装的也是最新版的,但在运行ionic start shop tabs后,再运行ionic cordova platform add android为项目增加Android平台支持不成功,命令行窗口出现如下: C:\Users\WangQitong\jdshop>ionic cordova platform add android C:\Users\WangQitong\jdshop>"node" "C:\Users\WangQitong\AppData\Roaming\npm\\node_modules\ionic\bin\ionic" cordova platform add android > cordova.cmd platform add android C:\Users\WangQitong\jdshop>"node" "C:\Users\WangQitong\AppData\Roaming\npm\\node_modules\cordova\bin\cordova" "platform" "add" "android" Using cordova-fetch for cordova-android@^8.0.0 Failed to fetch platform cordova-android@^8.0.0 Probably this is either a connection problem, or platform spec is incorrect. Check your connection and platform name/version/URL. Error: npm: Command failed with exit code 4294963238 Error output: npm WARN rm not removing C:\Users\WangQitong\jdshop\node_modules\.bin\webdriver-manager.cmd as it wasn't installed by C:\Users\WangQitong\jdshop\node_modules\webdriver-manager npm WARN rm not removing C:\Users\WangQitong\jdshop\node_modules\.bin\webdriver-manager as it wasn't installed by C:\Users\WangQitong\jdshop\node_modules\webdriver-manager npm WARN rm not removing C:\Users\WangQitong\jdshop\node_modules\.bin\webdriver-manager.cmd as it wasn't installed by C:\Users\WangQitong\jdshop\node_modules\_webdriver-manager@12.1.7@webdriver-manager npm WARN rm not removing C:\Users\WangQitong\jdshop\node_modules\.bin\webdriver-manager as it wasn't installed by C:\Users\WangQitong\jdshop\node_modules\_webdriver-manager@12.1.7@webdriver-manager npm WARN webpack-dev-middleware@3.7.2 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN The package @angular/compiler is included as both a dev and production dependency. npm ERR! code ENOENT npm ERR! syscall rename npm ERR! path C:\Users\WangQitong\jdshop\node_modules\_brace-expansion@1.1.11@brace-expansion\node_modules\balanced-match npm ERR! dest C:\Users\WangQitong\jdshop\node_modules\_brace-expansion@1.1.11@brace-expansion\node_modules\balanced-match npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\WangQitong\jdshop\node_modules\_brace-expansion@1.1.11@brace-expansion\node_modules\balanced-match' -> 'C:\Users\WangQitong\jdshop\node_modules\_brace-expansion@1.1.11@brace-expansion\node_modules\balanced-match' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\WangQitong\AppData\Roaming\npm-cache\_logs\2019-11-01T12_41_07_880Z-debug.log > ionic cordova resources android --force > cordova-res.cmd android [cordova-res] [cordova-res] C:\Users\WangQitong\jdshop>"node" "C:\Users\WangQitong\AppData\Roaming\npm\\node_modules\cordova-res\bin\cordova-res" "android" [cordova-res] Generated 18 resources for android [cordova-res] Wrote to config.xml 请问是什么原因呢?
通过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.
用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" } } ```
webpack打包出错,同一个项目在Linux中能够使用webpack,windows却不能
webpack打包出错,克隆的是同一个项目在Linux中能够使用webpack命令直接进行 打包,但是在windows10系统中却不能,在打包的时候出现如下错误: E:\webStromProject\electronDesktopTool>webpack Hash: 5f4db8ce4679dd9a03f4 Version: webpack 1.14.0 Time: 18782ms Asset Size Chunks Chunk Names bundle.js 5.89 MB 0 [emitted] main + 555 hidden modules WARNING in ./~/express/lib/view.js Critical dependencies: 42:48-69 the request of a dependency is an expression @ ./~/express/lib/view.js 42:48-69 WARNING in ./~/ws/lib/BufferUtil.js Module not found: Error: Cannot resolve module 'bufferutil' in E:\webStromProject\electronDesktopTool\node_modules\ws\lib @ ./~/ws/lib/BufferUtil.js 31:21-42 WARNING in ./~/ws/lib/Validation.js Module not found: Error: Cannot resolve module 'utf-8-validate' in E:\webStromProject\electronDesktopTool\node_modules\ws\lib @ ./~/ws/lib/Validation.js 10:22-47 WARNING in ./~/formidable/lib/incoming_form.js Critical dependencies: 1:43-50 require function is used in a way in which dependencies cannot be statically extracted @ ./~/formidable/lib/incoming_form.js 1:43-50 WARNING in ./~/formidable/lib/querystring_parser.js Critical dependencies: 1:43-50 require function is used in a way in which dependencies cannot be statically extracted @ ./~/formidable/lib/querystring_parser.js 1:43-50 WARNING in ./~/formidable/lib/file.js Critical dependencies: 1:43-50 require function is used in a way in which dependencies cannot be statically extracted @ ./~/formidable/lib/file.js 1:43-50 ERROR in ./~/express/index.js Module not found: Error: Cannot resolve 'file' or 'directory' ./lib-cov/express in E:\webStromProject\electronDesktopTool\node_modules\express @ ./~/express/index.js 3:4-32 ERROR in ./~/express/lib/view.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\express\lib @ ./~/express/lib/view.js 6:9-22 ERROR in ./~/connect/lib-cov/connect.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\connect\lib-cov @ ./~/connect/lib-cov/connect.js 32:162-175 ERROR in ./~/connect/lib/connect.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\connect\lib @ ./~/connect/lib/connect.js 18:9-22 ERROR in ./~/send/lib/send.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\send\lib @ ./~/send/lib/send.js 13:9-22 ERROR in ./~/connect/lib-cov/middleware/directory.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\connect\lib-cov\middleware @ ./~/connect/lib-cov/middleware/directory.js 71:9-22 ERROR in ./~/connect/lib-cov/middleware/errorHandler.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\connect\lib-cov\middleware @ ./~/connect/lib-cov/middleware/errorHandler.js 32:38-51 ERROR in ./~/connect/lib-cov/middleware/favicon.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\connect\lib-cov\middleware @ ./~/connect/lib-cov/middleware/favicon.js 21:9-22 ERROR in ./~/connect/lib/middleware/directory.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\connect\lib\middleware @ ./~/connect/lib/middleware/directory.js 17:9-22 ERROR in ./~/connect/lib/middleware/favicon.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\connect\lib\middleware @ ./~/connect/lib/middleware/favicon.js 13:9-22 ERROR in ./~/connect/lib/middleware/errorHandler.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\connect\lib\middleware @ ./~/connect/lib/middleware/errorHandler.js 13:9-22 ERROR in ./~/connect/lib-cov/middleware/cookieSession.js Module not found: Error: Cannot resolve module 'crc' in E:\webStromProject\electronDesktopTool\node_modules\connect\lib-cov\middleware @ ./~/connect/lib-cov/middleware/cookieSession.js 42:173-187 ERROR in ./~/connect/lib-cov/middleware/session.js Module not found: Error: Cannot resolve module 'crc' in E:\webStromProject\electronDesktopTool\node_modules\connect\lib-cov\middleware @ ./~/connect/lib-cov/middleware/session.js 92:310-324 ERROR in ./~/send/~/mime/mime.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\electronDesktopTool\node_modules\send\node_modules\mime @ ./~/send/~/mime/mime.js 2:9-22
react"^16.8.6" creacte-react-app@3.0.1脚手架npm run eject 问题?
请问 ,我npm run eject 后,config文件夹下怎么只有一个webpack.config.js文件? 我看教程和其他文章都写的是有2个文件的,一个是webpack.config.dev.js 开发环境下的配置项,另一个是webpack.config.prod.js 生产环境下的配置项. 如果这是由于更新后的正常现象,那么请问怎么添加less配置代码? 另外,执行npm run eject 暴露配置文件后, 执行npm run start 就一直报错, 缺少几种loader. 按照错误提示安装'@babel/plugin-transform-react-jsx-source' 后,又找不到is-wsl. 安装了is-wsl 又再次提示找不到 @babel/plugin-transform-react-jsx-source. 最后重新 npm install ,在执行 npm run start 还是不能成功编译.提示错误: Starting the development server... Failed to compile. ./node_modules/react-dev-utils/formatWebpackMessages.js Module not found: Can't resolve 'F:\react-test\my-app\node_modules\babel-preset-react-app\node_modules\@babel\runtime/helper s/slicedToArray' in 'F:\react-test\my-app\node_modules\react-dev-utils' Compiling... Failed to compile. ./node_modules/react-dev-utils/formatWebpackMessages.js Module not found: Can't resolve 'F:\react-test\my-app\node_modules\babel-preset-react-app\node_modules\@babel\runtime/helper s/slicedToArray' in 'F:\react-test\my-app\node_modules\react-dev-utils' Compiling... Failed to compile. ./node_modules/react-dev-utils/formatWebpackMessages.js Module not found: Can't resolve 'F:\react-test\my-app\node_modules\babel-preset-react-app\node_modules\@babel\runtime/helper s/slicedToArray' in 'F:\react-test\my-app\node_modules\react-dev-utils' 请帮我看看怎么解决这几个问题?
npm 安装任何模块都报错
npm ERR! code ERR_INVALID_ARG_TYPE npm ERR! The "ca" argument must be one of type string, Buffer, TypedArray, or DataView npm ERR! A complete log of this run can be found in: npm ERR! /home/wusiqi/.npm/_logs/2017-09-02T14_21_36_949Z-debug.log 上面提示的.log内容如下: 0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', 1 verbose cli '/usr/local/bin/npm', 1 verbose cli 'install', 1 verbose cli 'webpack', 1 verbose cli 'gulp', 1 verbose cli '-g' ] 2 info using npm@5.3.0 3 info using node@v9.0.0-pre 4 verbose npm-session 6974fb1697ebe308 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 silly fetchPackageMetaData error for webpack@latest The "ca" argument must be one of type string, Buffer, TypedArray, or DataView 8 silly fetchPackageMetaData error for gulp@latest The "ca" argument must be one of type string, Buffer, TypedArray, or DataView 9 verbose stack TypeError [ERR_INVALID_ARG_TYPE]: The "ca" argument must be one of type string, Buffer, TypedArray, or DataView 9 verbose stack at validateKeyCert (_tls_common.js:58:11) 9 verbose stack at Object.createSecureContext (_tls_common.js:91:7) 9 verbose stack at Object.exports.connect (_tls_wrap.js:1049:48) 9 verbose stack at HttpsAgent.createConnection (https.js:111:22) 9 verbose stack at HttpsAgent.createSocket (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/agentkeepalive/lib/_http_agent.js:271:26) 9 verbose stack at HttpsAgent.createSocket (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/agentkeepalive/lib/agent.js:77:11) 9 verbose stack at HttpsAgent.addRequest (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/agentkeepalive/lib/_http_agent.js:240:10) 9 verbose stack at new ClientRequest (_http_client.js:271:16) 9 verbose stack at Object.request (http.js:39:10) 9 verbose stack at request (https.js:239:15) 9 verbose stack at fetch.Promise (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/src/index.js:54:17) 9 verbose stack at Promise (<anonymous>) 9 verbose stack at fetch (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/src/index.js:41:10) 9 verbose stack at retry (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/index.js:317:14) 9 verbose stack at /usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/promise-retry/index.js:29:24 9 verbose stack at <anonymous> 10 verbose cwd /home/wusiqi/desk/study/music_box 11 verbose Linux 4.2.0-42-generic 12 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "webpack" "gulp" "-g" 13 verbose node v9.0.0-pre 14 verbose npm v5.3.0 15 error code ERR_INVALID_ARG_TYPE 16 error The "ca" argument must be one of type string, Buffer, TypedArray, or DataView 17 verbose exit [ 1, true ]
webpack如何安装,总是说webpack不是内部命令
尝试着学习webpack,但总是说webpack不是内部命令,我是这样做的(事先已经安好了node和npm): 1.先在命令行执行 npm config set prefix “d:\node\node_global”设置全局路径 2.再执行 npm install webpack -g 在node_gloal下生成文件如下图: ![图片说明](https://img-ask.csdn.net/upload/201608/07/1470552517_803506.png) 3.配置环境变量,新增NODE_PATH属性指向node_global/node_modules,并把这个路径同时添加到path里 4.新建文件夹webpackPractice,里面有两个文件 //entry.js document.write("It works."); //index.html <html> <head> <meta charset="utf-8"> </head> <body> <script type="text/javascript" src="bundle.js" charset="utf-8"></script> </body> </html> 5.用命令行把目录跳转到D:webpackTest 然后执行执行命令npm install --save-dev webpack 在这个文件夹下生成node_modules 6.执行 webpack webpack ./entry.js bundle.js 这时候就一直说 'webpack' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 请教大神这怎么办啊?急急急
webpack与node服务端渲染同时使用
使用node进行服务端渲染开发的过程中,能不能使用webpack进行打包前端代码,如果可以, 需要进行哪些相关的配置。 webpack.config.js配置文件 ``` const path = require('path') // const htmlWebpackPlugin = require('html-webpack-plugin') module.exports = { mode:'development', entry:path.join(__dirname,'./src/main.js'), output:{ path:path.join(__dirname,'./dist'), filename:'build.js' }, plugins:[ // new htmlWebpackPlugin({ // template:path.join(__dirname,'./src/index.html'), // filename:'index.html' // }) ], module:{ rules:[ {test:/\.css$/,use:['style-loader','css-loader']}, {test:/\.less$/,use:['style-loader','css-loader','less-loader']}, {test:/\.js$/,use:'babel-loader',exclude:/node_modules/} ] } } ``` node 服务脚本文件 ``` var path = require('path') var express = require('express') var server = express() server.use('/node_modules',express.static(path.join(__dirname,'../node_modules'))); server.engine('html',require('express-art-template')) server.set('views',path.join(__dirname,'../src')) var router = express.Router() router.get('/',function(request,response){ response.render('index.html') }) server.use(router) server.listen('3000',function(){ console.log('Server is running...') }) ```
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. ```
create-react-app my-app 报错
使用create-react-app my-app 创建一个应用 报错如下 请求解答一下谢谢!!! D:\React>create-react-app my-app Creating a new React app in D:\React\my-app. Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts... > uglifyjs-webpack-plugin@0.4.6 postinstall D:\React\my-app\node_modules\uglifyjs-webpack-plugin > node lib/post_install.js npm ERR! path D:\React\my-app\node_modules\fsevents\node_modules npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall scandir npm ERR! Error: EPERM: operation not permitted, scandir 'D:\React\my-app\node_modules\fsevents\node_modules' npm ERR! { Error: EPERM: operation not permitted, scandir 'D:\React\my-app\node_modules\fsevents\node_modules' npm ERR! stack: 'Error: EPERM: operation not permitted, scandir \'D:\\React\\my-app\\node_modules\\fsevents\\node_modules\'', npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'scandir', npm ERR! path: 'D:\\React\\my-app\\node_modules\\fsevents\\node_modules' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\L-HQ\AppData\Roaming\npm-cache\_logs\2017-09-13T19_15_49_573Z-debug.log Aborting installation. npm install --save --save-exact --loglevel error react react-dom react-scripts has failed. Deleting generated file... node_modules Deleting generated file... package.json Deleting my-app / from D:\React Done.
vue项目启动报dev未定义,可是什么都写了
启动到95%时 报错Template execution failed: ReferenceError: dev is not defined 页面打印 Html Webpack Plugin: ReferenceError: dev is not defined - index.html:703 D:/WT/订单/order_pay_admin/index.html:703:2 - index.html:710 ./node_modules/html-webpack-plugin/lib/loader.js!./index.html.module.exports D:/WT/订单/order_pay_admin/index.html:710:3 - index.js:264 [order_pay_admin]/[html-webpack-plugin]/index.js:264:16 - util.js:16 tryCatcher [order_pay_admin]/[bluebird]/js/release/util.js:16:23 - promise.js:512 Promise._settlePromiseFromHandler [order_pay_admin]/[bluebird]/js/release/promise.js:512:31 - promise.js:569 Promise._settlePromise [order_pay_admin]/[bluebird]/js/release/promise.js:569:18 - promise.js:606 Promise._settlePromiseCtx [order_pay_admin]/[bluebird]/js/release/promise.js:606:10 - async.js:142 _drainQueueStep [order_pay_admin]/[bluebird]/js/release/async.js:142:12 - async.js:131 _drainQueue [order_pay_admin]/[bluebird]/js/release/async.js:131:9 - async.js:147 Async._drainQueues [order_pay_admin]/[bluebird]/js/release/async.js:147:5 这个问题怎么解决求解
VUE build的时候app css CssSyntaxError错误
vue build的时候app css CssSyntaxError错误,run dev可以正常启动 错误信息如下 ``` - building for production...Error processing file: static/css/app.97c058584faa589ff57590333e2787e8.css (node:3172) UnhandledPromiseRejectionWarning: CssSyntaxError: G:\vue\recms-adminVue\static\css\app.97c058584faa589ff57590333e2787e8.css:1293:8: Unknown word at Input.error (G:\vue\recms-adminVue\node_modules\_postcss@7.0.17@postcss\lib\input.js:130:16) at Parser.unknownWord (G:\vue\recms-adminVue\node_modules\_postcss@7.0.17@postcss\lib\parser.js:563:22) at Parser.decl (G:\vue\recms-adminVue\node_modules\_postcss@7.0.17@postcss\lib\parser.js:235:16) at Parser.other (G:\vue\recms-adminVue\node_modules\_postcss@7.0.17@postcss\lib\parser.js:133:18) at Parser.parse (G:\vue\recms-adminVue\node_modules\_postcss@7.0.17@postcss\lib\parser.js:77:16) at parse (G:\vue\recms-adminVue\node_modules\_postcss@7.0.17@postcss\lib\parse.js:17:12) at new LazyResult (G:\vue\recms-adminVue\node_modules\_postcss@7.0.17@postcss\lib\lazy-result.js:60:16) at Processor.<anonymous> (G:\vue\recms-adminVue\node_modules\_postcss@7.0.17@postcss\lib\processor.js:138:12) at Processor.process (G:\vue\recms-adminVue\node_modules\_postcss@7.0.17@postcss\lib\processor.js:117:23) at Function.creator.process (G:\vue\recms-adminVue\node_modules\_postcss@7.0.17@postcss\lib\postcss.js:148:43) at OptimizeCssAssetsPlugin.processCss (G:\vue\recms-adminVue\node_modules\_optimize-css-assets-webpack-plugin@3.2.1@optimize-css-assets-webpack-plugin\index.js :63:19) at Object.processor (G:\vue\recms-adminVue\node_modules\_optimize-css-assets-webpack-plugin@3.2.1@optimize-css-assets-webpack-plugin\index.js:29:23) at G:\vue\recms-adminVue\node_modules\_last-call-webpack-plugin@2.1.2@last-call-webpack-plugin\index.js:139:8 at arrayEach (G:\vue\recms-adminVue\node_modules\_lodash@4.17.14@lodash\_arrayEach.js:15:9) at forEach (G:\vue\recms-adminVue\node_modules\_lodash@4.17.14@lodash\forEach.js:38:10) at LastCallWebpackPlugin.process (G:\vue\recms-adminVue\node_modules\_last-call-webpack-plugin@2.1.2@last-call-webpack-plugin\index.js:136:3) (node:3172) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch blo ck, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:3172) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the No de.js process with a non-zero exit code. ``` build.js的代码 ``` const ora = require('ora') const rm = require('rimraf') const path = require('path') const chalk = require('chalk') const webpack = require('webpack') const config = require('../config') const webpackConfig = require('./webpack.prod.conf') const spinner = ora('building for production...') spinner.start() rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => { if (err) throw err webpack(webpackConfig, function (err, stats) { spinner.stop() if (err) throw err process.stdout.write(stats.toString({ colors: true, modules: false, children: false, chunks: false, chunkModules: false }) + '\n\n') if (stats.hasErrors()) { console.log(chalk.red(' Build failed with errors.\n')) process.exit(1) } console.log(chalk.cyan(' Build complete.\n')) console.log(chalk.yellow( ' Tip: built files are meant to be served over an HTTP server.\n' + ' Opening index.html over file:// won\'t work.\n' )) }) }) ``` webpack.prod.conf.js的配置 ``` const env = require('../config/prod.env') const webpackConfig = merge(baseWebpackConfig, { module: { rules: utils.styleLoaders({ sourceMap: config.build.productionSourceMap, extract: true, usePostCSS: true }) }, devtool: config.build.productionSourceMap ? config.build.devtool : false, output: { path: config.build.assetsRoot, filename: utils.assetsPath('js/[name].[chunkhash].js'), chunkFilename: utils.assetsPath('js/[id].[chunkhash].js') }, plugins: [ // http://vuejs.github.io/vue-loader/en/workflow/production.html new webpack.DefinePlugin({ 'process.env': env }), // UglifyJs do not support ES6+, you can also use babel-minify for better treeshaking: https://github.com/babel/minify new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false }, sourceMap: config.build.productionSourceMap, parallel: true }), // extract css into its own file new ExtractTextPlugin({ filename: utils.assetsPath('css/[name].[contenthash].css'), // set the following option to `true` if you want to extract CSS from // codesplit chunks into this main css file as well. // This will result in *all* of your app's CSS being loaded upfront. allChunks: false, }), // Compress extracted CSS. We are using this plugin so that possible // duplicated CSS from different components can be deduped. new OptimizeCSSPlugin({ cssProcessorOptions: config.build.productionSourceMap ? { safe: true, map: { inline: false } } : { safe: true } }), // generate dist index.html with correct asset hash for caching. // you can customize output by editing /index.html // see https://github.com/ampedandwired/html-webpack-plugin new HtmlWebpackPlugin({ filename: config.build.index, template: 'index.html', inject: true, minify: { removeComments: true, collapseWhitespace: true, removeAttributeQuotes: true // more options: // https://github.com/kangax/html-minifier#options-quick-reference }, // necessary to consistently work with multiple chunks via CommonsChunkPlugin chunksSortMode: 'dependency' }), // keep module.id stable when vender modules does not change new webpack.HashedModuleIdsPlugin(), // enable scope hoisting new webpack.optimize.ModuleConcatenationPlugin(), // split vendor js into its own file new webpack.optimize.CommonsChunkPlugin({ name: 'vendor', minChunks: function (module) { // any required modules inside node_modules are extracted to vendor return ( module.resource && /\.js$/.test(module.resource) && module.resource.indexOf( path.join(__dirname, '../node_modules') ) === 0 ) } }), // extract webpack runtime and module manifest to its own file in order to // prevent vendor hash from being updated whenever app bundle is updated new webpack.optimize.CommonsChunkPlugin({ name: 'manifest', minChunks: Infinity }), // This instance extracts shared chunks from code splitted chunks and bundles them // in a separate chunk, similar to the vendor chunk // see: https://webpack.js.org/plugins/commons-chunk-plugin/#extra-async-commons-chunk new webpack.optimize.CommonsChunkPlugin({ name: 'app', async: 'vendor-async', children: true, minChunks: 3 }), // copy custom static assets new CopyWebpackPlugin([ { from: path.resolve(__dirname, '../static'), to: config.build.assetsSubDirectory, ignore: ['.*'] } ]) ] }) if (config.build.productionGzip) { const CompressionWebpackPlugin = require('compression-webpack-plugin') webpackConfig.plugins.push( new CompressionWebpackPlugin({ asset: '[path].gz[query]', algorithm: 'gzip', test: new RegExp( '\\.(' + config.build.productionGzipExtensions.join('|') + ')$' ), threshold: 10240, minRatio: 0.8 }) ) } if (config.build.bundleAnalyzerReport) { const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin webpackConfig.plugins.push(new BundleAnalyzerPlugin()) } module.exports = webpackConfig ```
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 其他就是图片 这怎么处理啊
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 ```
使用windows系统时,webpack打包出错,提示需要一个表达式
> helloworld_electron@1.0.0 webpack E:\webStromProject\ExperimentalBookingManagementSystem-fe > webpack Hash: b8b8263db2c36e699d0b Version: webpack 1.14.0 Time: 13483ms Asset Size Chunks Chunk Names bundle.js 14.4 MB 0 [emitted] main + 1169 hidden modules WARNING in ./~/express/lib/view.js Critical dependencies: 42:48-69 the request of a dependency is an expression @ ./~/express/lib/view.js 42:48-69 WARNING in ./~/ws/lib/Validation.js Module not found: Error: Cannot resolve module 'utf-8-validate' in E:\webStromProject\ExperimentalBookingManagementSystem-fe \node_modules\ws\lib @ ./~/ws/lib/Validation.js 10:22-47 WARNING in ./~/ws/lib/BufferUtil.js Module not found: Error: Cannot resolve module 'bufferutil' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\nod e_modules\ws\lib @ ./~/ws/lib/BufferUtil.js 35:21-42 WARNING in ./~/formidable/lib/incoming_form.js Critical dependencies: 1:43-50 require function is used in a way in which dependencies cannot be statically extracted @ ./~/formidable/lib/incoming_form.js 1:43-50 WARNING in ./~/formidable/lib/file.js Critical dependencies: 1:43-50 require function is used in a way in which dependencies cannot be statically extracted @ ./~/formidable/lib/file.js 1:43-50 WARNING in ./~/formidable/lib/querystring_parser.js Critical dependencies: 1:43-50 require function is used in a way in which dependencies cannot be statically extracted @ ./~/formidable/lib/querystring_parser.js 1:43-50 ERROR in ./~/express/index.js Module not found: Error: Cannot resolve 'file' or 'directory' ./lib-cov/express in E:\webStromProject\ExperimentalBookingMan agementSystem-fe\node_modules\express @ ./~/express/index.js 3:4-32 ERROR in ./~/express/lib/view.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_module s\express\lib @ ./~/express/lib/view.js 6:9-22 ERROR in ./~/connect/lib-cov/connect.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_module s\connect\lib-cov @ ./~/connect/lib-cov/connect.js 32:162-175 ERROR in ./~/connect/lib/connect.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_module s\connect\lib @ ./~/connect/lib/connect.js 18:9-22 ERROR in ./~/send/lib/send.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_module s\send\lib @ ./~/send/lib/send.js 13:9-22 ERROR in ./~/connect/lib-cov/middleware/directory.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_module s\connect\lib-cov\middleware @ ./~/connect/lib-cov/middleware/directory.js 71:9-22 ERROR in ./~/connect/lib-cov/middleware/errorHandler.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_module s\connect\lib-cov\middleware @ ./~/connect/lib-cov/middleware/errorHandler.js 32:38-51 ERROR in ./~/connect/lib-cov/middleware/favicon.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_module s\connect\lib-cov\middleware @ ./~/connect/lib-cov/middleware/favicon.js 21:9-22 ERROR in ./~/connect/lib/middleware/directory.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_module s\connect\lib\middleware @ ./~/connect/lib/middleware/directory.js 17:9-22 ERROR in ./~/connect/lib/middleware/errorHandler.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_module s\connect\lib\middleware @ ./~/connect/lib/middleware/errorHandler.js 13:9-22 ERROR in ./~/connect/lib/middleware/favicon.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_module s\connect\lib\middleware @ ./~/connect/lib/middleware/favicon.js 13:9-22 ERROR in ./~/connect/lib-cov/middleware/cookieSession.js Module not found: Error: Cannot resolve module 'crc' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_modul es\connect\lib-cov\middleware @ ./~/connect/lib-cov/middleware/cookieSession.js 42:173-187 ERROR in ./~/connect/lib-cov/middleware/session.js Module not found: Error: Cannot resolve module 'crc' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_modules\connect\lib-cov\middleware @ ./~/connect/lib-cov/middleware/session.js 92:310-324 ERROR in ./~/mime/mime.js Module not found: Error: Cannot resolve module 'fs' in E:\webStromProject\ExperimentalBookingManagementSystem-fe\node_modules\mime @ ./~/mime/mime.js 2:9-22
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" } } ```
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私有的数
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
此博客仅为我业余记录文章所用,发布到此,仅供网友阅读参考,如有侵权,请通知我,我会删掉。 补充 有不少读者留言说本文章没有用,因为天气预报直接打开手机就可以收到了,为何要多此一举发送到邮箱呢!!!那我在这里只能说:因为你没用,所以你没用!!! 这里主要介绍的是思路,不是天气预报!不是天气预报!!不是天气预报!!!天气预报只是用于举例。请各位不要再刚了!!! 下面是我会用到的两个场景: 每日下
面试官问我:什么是消息队列?什么场景需要他?用了会出现什么问题?
你知道的越多,你不知道的越多 点赞再看,养成习惯 GitHub上已经开源 https://github.com/JavaFamily 有一线大厂面试点脑图、个人联系方式,欢迎Star和完善 前言 消息队列在互联网技术存储方面使用如此广泛,几乎所有的后端技术面试官都要在消息队列的使用和原理方面对小伙伴们进行360°的刁难。 作为一个在互联网公司面一次拿一次Offer的面霸,打败了无数
8年经验面试官详解 Java 面试秘诀
    作者 | 胡书敏 责编 | 刘静 出品 | CSDN(ID:CSDNnews) 本人目前在一家知名外企担任架构师,而且最近八年来,在多家外企和互联网公司担任Java技术面试官,前后累计面试了有两三百位候选人。在本文里,就将结合本人的面试经验,针对Java初学者、Java初级开发和Java开发,给出若干准备简历和准备面试的建议。   Java程序员准备和投递简历的实
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观
MyBatis研习录(01)——MyBatis概述与入门
C语言自学完备手册(33篇) Android多分辨率适配框架 JavaWeb核心技术系列教程 HTML5前端开发实战系列教程 MySQL数据库实操教程(35篇图文版) 推翻自己和过往——自定义View系列教程(10篇) 走出思维困境,踏上精进之路——Android开发进阶精华录 讲给Android程序员看的前端系列教程(40集免费视频教程+源码) 版权声明 本文原创作者:谷哥的小弟 作者博客
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple/ 
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
你知道的越多,你不知道的越多 点赞再看,养成习惯 本文 GitHub https://github.com/JavaFamily 已收录,有一线大厂面试点思维导图,也整理了很多我的文档,欢迎Star和完善,大家面试可以参照考点复习,希望我们一起有点东西。 前前言 为啥今天有个前前言呢? 因为你们的丙丙啊,昨天有牌面了哟,直接被微信官方推荐,知乎推荐,也就仅仅是还行吧(心里乐开花)
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca
Python爬虫精简步骤1 获取数据
爬虫的工作分为四步: 1.获取数据。爬虫程序会根据我们提供的网址,向服务器发起请求,然后返回数据。 2.解析数据。爬虫程序会把服务器返回的数据解析成我们能读懂的格式。 3.提取数据。爬虫程序再从中提取出我们需要的数据。 4.储存数据。爬虫程序把这些有用的数据保存起来,便于你日后的使用和分析。 这一篇的内容就是:获取数据。 首先,我们将会利用一个强大的库——requests来获取数据。 在电脑上安装
Python绘图,圣诞树,花,爱心 | Turtle篇
1.画圣诞树 import turtle screen = turtle.Screen() screen.setup(800,600) circle = turtle.Turtle() circle.shape('circle') circle.color('red') circle.speed('fastest') circle.up() square = turtle.Turtle()
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东
破14亿,Python分析我国存在哪些人口危机!
2020年1月17日,国家统计局发布了2019年国民经济报告,报告中指出我国人口突破14亿。 猪哥的朋友圈被14亿人口刷屏,但是很多人并没有看到我国复杂的人口问题:老龄化、男女比例失衡、生育率下降、人口红利下降等。 今天我们就来分析一下我们国家的人口数据吧! 更多有趣分析教程,扫描下方二维码关注vx公号「裸睡的猪」 即可查看! 一、背景 1.人口突破14亿 2020年1月17日,国家统计局发布
web前端javascript+jquery知识点总结
Javascript javascript 在前端网页中占有非常重要的地位,可以用于验证表单,制作特效等功能,它是一种描述语言,也是一种基于对象(Object)和事件驱动并具有安全性的脚本语言 ,语法同java类似,是一种解释性语言,边执行边解释。 JavaScript的组成: ECMAScipt 用于描述: 语法,变量和数据类型,运算符,逻辑控制语句,关键字保留字,对象。 浏览器对象模型(Br
Python实战:抓肺炎疫情实时数据,画2019-nCoV疫情地图
文章目录1. 前言2. 数据下载3. 数据处理4. 数据可视化 1. 前言 今天,群里白垩老师问如何用python画武汉肺炎疫情地图。白垩老师是研究海洋生态与地球生物的学者,国家重点实验室成员,于不惑之年学习python,实为我等学习楷模。先前我并没有关注武汉肺炎的具体数据,也没有画过类似的数据分布图。于是就拿了两个小时,专门研究了一下,遂成此文。 2月6日追记:本文发布后,腾讯的数据源多次变更u
听说想当黑客的都玩过这个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的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!
渗透测试-灰鸽子远控木马
木马概述 灰鸽子( Huigezi),原本该软件适用于公司和家庭管理,其功能十分强大,不但能监视摄像头、键盘记录、监控桌面、文件操作等。还提供了黑客专用功能,如:伪装系统图标、随意更换启动项名称和表述、随意更换端口、运行后自删除、毫无提示安装等,并采用反弹链接这种缺陷设计,使得使用者拥有最高权限,一经破解即无法控制。最终导致被黑客恶意使用。原作者的灰鸽子被定义为是一款集多种控制方式于一体的木马程序
Python:爬取疫情每日数据
前言 有部分同学留言说为什么412,这是因为我代码里全国的cookies需要你自己打开浏览器更新好后替换,而且这个cookies大概只能持续20秒左右! 另外全国卫健委的数据格式一直在变,也有可能会导致爬取失败! 我现在已根据2月14日最新通报稿的格式修正了! 目前每天各大平台,如腾讯、今日头条都会更新疫情每日数据,他们的数据源都是一样的,主要都是通过各地的卫健委官网通报。 为什么已经有大量平台做
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。   再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。   下文是原回答,希望能对你能有所启发。   如果我说,这个世界上人真的分三六九等,
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合
雷火神山直播超两亿,Web播放器事件监听是怎么实现的?
Web播放器解决了在手机浏览器和PC浏览器上播放音视频数据的问题,让视音频内容可以不依赖用户安装App,就能进行播放以及在社交平台进行传播。在视频业务大数据平台中,播放数据的统计分析非常重要,所以Web播放器在使用过程中,需要对其内部的数据进行收集并上报至服务端,此时,就需要对发生在其内部的一些播放行为进行事件监听。 那么Web播放器事件监听是怎么实现的呢? 01 监听事件明细表 名
3万字总结,Mysql优化之精髓
本文知识点较多,篇幅较长,请耐心学习 MySQL已经成为时下关系型数据库产品的中坚力量,备受互联网大厂的青睐,出门面试想进BAT,想拿高工资,不会点MySQL优化知识,拿offer的成功率会大大下降。 为什么要优化 系统的吞吐量瓶颈往往出现在数据库的访问速度上 随着应用程序的运行,数据库的中的数据会越来越多,处理时间会相应变慢 数据是存放在磁盘上的,读写速度无法和内存相比 如何优化 设计
Python新型冠状病毒疫情数据自动爬取+统计+发送报告+数据屏幕(三)发送篇
今天介绍的项目是使用 Itchat 发送统计报告 项目功能设计: 定时爬取疫情数据存入Mysql 进行数据分析制作疫情报告 使用itchat给亲人朋友发送分析报告(本文) 基于Django做数据屏幕 使用Tableau做数据分析 来看看最终效果 目前已经完成,预计2月12日前更新 使用 itchat 发送数据统计报告 itchat 是一个基于 web微信的一个框架,但微信官方并不允
作为程序员的我,大学四年一直自学,全靠这些实用工具和学习网站!
我本人因为高中沉迷于爱情,导致学业荒废,后来高考,毫无疑问进入了一所普普通通的大学,实在惭愧...... 我又是那么好强,现在学历不行,没办法改变的事情了,所以,进入大学开始,我就下定决心,一定要让自己掌握更多的技能,尤其选择了计算机这个行业,一定要多学习技术。 在进入大学学习不久后,我就认清了一个现实:我这个大学的整体教学质量和学习风气,真的一言难尽,懂的人自然知道怎么回事? 怎么办?我该如何更好的提升
粒子群算法求解物流配送路线问题(python)
粒子群算法求解物流配送路线问题(python) 1.查找论文文献 找一篇物流配送路径优化+粒子群算法求解的论文 参考文献:基于混沌粒子群算法的物流配送路径优化 2.了解粒子群算法的原理 讲解通俗易懂,有数学实例的博文:https://blog.csdn.net/daaikuaichuan/article/details/81382794 3.确定编码方式和解码策略 3.1编码方式 物流配送路线的
教你如何编写第一个简单的爬虫
很多人知道爬虫,也很想利用爬虫去爬取自己想要的数据,那么爬虫到底怎么用呢?今天就教大家编写一个简单的爬虫。 下面以爬取笔者的个人博客网站为例获取第一篇文章的标题名称,教大家学会一个简单的爬虫。 第一步:获取页面 #!/usr/bin/python # coding: utf-8 import requests #引入包requests link = "http://www.santostang.
前端JS初级面试题二 (。•ˇ‸ˇ•。)老铁们!快来瞧瞧自己都会了么
1. 传统事件绑定和符合W3C标准的事件绑定有什么区别? 传统事件绑定 &lt;div onclick=""&gt;123&lt;/div&gt; div1.onclick = function(){}; &lt;button onmouseover=""&gt;&lt;/button&gt; 注意: 如果给同一个元素绑定了两次或多次相同类型的事件,那么后面的绑定会覆盖前面的绑定 (不支持DOM事...
相关热词 c#开发的dll注册 c#的反射 c# grid绑定数据源 c#多线程怎么循环 c# 鼠标左键 c# char占位符 c# 日期比较 c#16进制转换为int c#用递归求顺序表中最大 c#小型erp源代码
立即提问