英文:
create new angular project stoped on /.gitkeep
问题
我尝试用 ng new 命令创建新的 Angular 项目,进程启动并等待于
> CREATE crm_ng/src/assets/.gitkeep (0 字节)
>
> Installing packages (npm) ...
我再次卸载 angular cli,清除缓存,然后重新安装 angular/cli。尝试使用 ng new 创建新的 Angular 项目,但进程停在上述行,
我使用
> Angular CLI: 16.0.1
>
> Node: 20.1.0 (不支持)
>
> Package Manager: npm 9.6.6
>
> 操作系统: linux x64
当我使用代理时,我遇到相同的问题,而当我禁用代理并运行以下命令时
> npm config rm proxy
>
> npm config rm https-proxy
问题仍然存在。我该如何解决?
英文:
I try to create new angular project with ng new command,
process started and waited on
> CREATE crm_ng/src/assets/.gitkeep (0 bytes)
>
> Installing packages (npm) ...
I uninstalled angular cli again, cleaned cache and Install angular/cli again.
Try to create new agnular project with ng new but process stop on the above line,
I use
> Angular CLI: 16.0.1
>
> Node: 20.1.0 (Unsupported)
>
> Package Manager: npm 9.6.6
>
> OS: linux x64
Also when I use Proxy I have the same problem and when I disabled proxy and run this command
> npm config rm proxy
>
> npm config rm https-proxy
My problem exist.
How can I resolve that?
答案1
得分: 1
Angular目前还不支持Node 20。
英文:
Angular doesn't support Node 20 yet.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论