zoukankan      html  css  js  c++  java
  • npm start ERROR

    npm start 遇到问题

    Attempting to bind to HOST environment variable: x86_64-apple-darwin13.4.0
    If this was unintentional, check that you haven't mistakenly set it in your shell.
    Learn more here: https://bit.ly/CRA-advanced-config
    
    events.js:167
          throw er; // Unhandled 'error' event
          ^
    
    Error: getaddrinfo ENOTFOUND x86_64-apple-darwin13.4.0
        at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26)
    Emitted 'error' event at:
        at GetAddrInfoReqWrap.doListen [as callback] (net.js:1457:12)
        at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:17)
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! tic-toc@0.1.0 start: `react-scripts start`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the tic-toc@0.1.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /.npm/_logs/2020-03-09T23_03_35_459Z-debug.log

    可能是端口冲突,尝试修改需要修改可以使用以下方法:export PORT=8808  npm start

  • 相关阅读:
    如何申请iOS开发者证书/发布app到手机
    STL
    TCP/IP编程
    STL
    STL
    Python网络爬虫
    Python网络爬虫
    Python网络爬虫
    Python编程-基础知识-python项目包和文件的管理以及如何引用相对路径的包和模块
    带你认识HL7和CDA
  • 原文地址:https://www.cnblogs.com/zg1005/p/12453592.html
Copyright © 2011-2022 走看看