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

  • 相关阅读:
    捡来的一个大数模版。很好用
    小探catlan数
    hdu1060数学题求幂最左边的数
    食物相克
    工作 瓶颈 思路问题
    从用户态open到内核驱动实现
    内核代码 结构
    I2C原理
    asm
    man 2 3 5 普通命令(1) 函数库(3)
  • 原文地址:https://www.cnblogs.com/zg1005/p/12453592.html
Copyright © 2011-2022 走看看