Jump to content
Search Community

Gr0x

Members
  • Posts

    18
  • Joined

  • Last visited

Community Answers

  1. Gr0x's post in Netlify deploy error with greensock-member was marked as the answer   
    Solution: 
    1: Create .npmrc file in root of your project.
    2: write following in the .npmrc file:
    --------------------------
    always-auth=true
    registry=https://npm.greensock.com
    //npm.greensock.com/:_authToken=${NPM_TOKEN}
    --------------------------
    3: Go to Netlify and create an enviroment variable called :         NPM_TOKEN
    4: Push it up to your git repo and enjoy
     
    Shout out to Cassie, Prasanna and Sybilrondeau. ❤️
×
×
  • Create New...