How to ignore .npmrc config locally

77 Views Asked by At

I've added .npmrc file to the root of my project with next content:

arch=x64
platform=linux

This helps GitLab CI to build node_modules of my app for AWS Lambda for right architecture and platform.

But this broke my local development. yarn install installs dependencies for x64 linux, but I am on ARM MacBook.

How can I fix it?

0

There are 0 best solutions below