NPM - Failed to replace env in config: ${NPM_TOKEN}

前端 未结 6 2021
清酒与你
清酒与你 2020-12-15 02:43

I am trying to build a react app, but when I execute the command npm -i it gives me the following error:

Error: Failed to replace env in config:         


        
6条回答
  •  温柔的废话
    2020-12-15 03:05

    For people on Ubuntu coming from google:

    • nano ~/.bash_aliases
    • export NPM_TOKEN="PUT_YOUR_TOKEN_HERE"
    • CTRL+X to exit
    • Y to save

提交回复
热议问题