npm start 不再适用于 angular 5 [英] npm start does not work in angular 5 anymore

查看:29
本文介绍了npm start 不再适用于 angular 5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为 angular 5 运行 npm start,但出现以下错误

I'm trying to run npm start for angular 5 and I get the following error

TypeError: callbacks[i] 不是函数

TypeError: callbacks[i] is not a function

有谁知道这是从哪里来的?它只是突然出现......我的项目(代码)似乎没有问题

Does anyone know where this comes from? It just appeared out of nowhere... There seems nothing to be wrong with my project (code)

推荐答案

临时修复:

回滚被窃听的依赖项.

npm install copy-webpack-plugin@4.3.0

这里有更多信息https://github.com/angular/angular-cli/问题/9550

这篇关于npm start 不再适用于 angular 5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆