2

I'm trying to uninstall node-sass using "npm uninstall node-sass", but I am not able to run any npm command as it gives the following error.

Undefined variable standalone_static_library in binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1

Recently, when I tried to run ng build, it was giving me a phython2 error. I installed python2 on my Mac M1 using:

pyenv install 2.7.18 echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile export PATH="${HOME}/.pyenv/shims:${PATH}" 
1
  • 1
    Can you try npm install -g node-gyp ? Commented Dec 24, 2022 at 17:59

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.