Skip to content

compilation.templatesPlugin is not a function  #101

@442627268

Description

@442627268

用npm install后 npm run serve启动报如下错误
image
的解决方案如下:
1.删除node_modules 用cnpm安装是一种解决方法。
2.删除node_modules 用npm add webpack@latest安装依赖也能启动。
原因是:因为你的webpack不是最新版本,但是install去下载也不是最新,所以这里我们要手动下载

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions