欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

webpack-dev-server config.js Cannot find module

程序员文章站 2023-08-30 14:00:22
Error: Cannot find module,webpack dev server config 报错找不到模块 webpack dev server 设置 webpack.config.js webpack dev server config config/webpack.dev.js 报错 ......

error: cannot find module,webpack-dev-server --config 报错找不到模块

webpack-dev-server 设置 webpack.config.js

webpack-dev-server --config config/webpack.dev.js

报错:

error: cannot find module 'f:\jutils\dist\config\webpack.dev.js'

记得加上级路径(相对路径)

webpack-dev-server --config ../config/webpack.dev.js