admin管理员组文章数量:1355555
I'm trying to deploy my react app on render and I keep coming across a message saying "No port detected, continuing to scan..." tried creating a .env file and declaring the port on there ands still not worked. Here's a snippet of the message.
react-scripts start
: Project is running at http: / /10.201.144.38/
: webpack output is served from
: Content not from webpack is served from / opt/render/project/src/public
: 404s will fallback to /
Starting the development server...
Done in 11.69s.
==> No open ports detected, continuing to scan...
==> Docs on specifying a port:....
my .env file looks like this.. "const PORT = process.env.PORT || 3000;"
I'm quite new to all this so I dunno where exactly I'm going wrong, with the port declaration in particular because I know I'm definitely doing something wrong.
本文标签: reactjsNo ports detected message on react app deploymentStack Overflow
版权声明:本文标题:reactjs - No ports detected message on react app deployment - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744039254a2580357.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论