在ec2 ubuntu 16.04上运行使用ng服务的网站(Runing website using ng serve on ec2 ubuntu 16.04)

编程入门 行业动态 更新时间:2024-10-26 00:25:19
在ec2 ubuntu 16.04上运行使用ng服务的网站(Runing website using ng serve on ec2 ubuntu 16.04)

我正在使用这个git项目 ,无法让我的服务器上的网站工作。 在我的Mac上,一切正常。

我没有得到任何错误,除了我无法访问它。

任何帮助非常感谢。

谢谢,

斯蒂芬

I am working with this git project and can't get the website to work on my server. On my mac everything works fine.

I dont get any errors other than I can't access it.

Any help much appreciated.

Thanks,

Stephen

最满意答案

在项目目录中打开npm start 。 相关scripts [...]在scripts [...]下的package.json声明

Figured it out, had to deploy and run using pm2. npm run build creates a dist folder which contains server and client folders.

更多推荐

本文发布于:2023-07-24 19:36:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1250199.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网站   ubuntu   ng   serve   website

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!