加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Angular CLI不会创建新项目

发布时间:2020-12-17 18:00:55 所属栏目:安全 来源:网络整理
导读:我试图通过angular cli创建一个项目(名为ngadmin),但它会在这个命令上抛出错误:ng new ngadmin.错误是: fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module,please update it to a more recent version.
我试图通过angular cli创建一个项目(名为ngadmin),但它会在这个命令上抛出错误:ng new ngadmin.错误是:

fs: re-evaluating native module sources is not supported. If you are
using the graceful-fs module,please update it to a more recent
version.

You cannot use the new command inside an angular-cli project.

我不确定问题是什么,因为这个cli几天前对我来说很好.

解决方法

如果存在package.json和node_module,请检入您的用户名文件夹.如果他们在那里然后删除它们.

注意:您可能已在home / username目录中创建了一个角度项目.如果删除它们就可以了.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读