4
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

WSL環境でgyp ERR!を解決する手順

Posted at
yarn add firebase

これだけがしたかったのに解決まで半日ほどかかってしまった……。
python2 がはいっていないのが原因てことはすぐわかったが、
入れるまでの道のりが長かった。

sudo apt-get -f upgrade #30分くらいかかった
sudo apt-get -f install build-essential
sudo apt-get update
sudo apt install python3-pip python3-dev
sudo apt install python-pip python-dev
which python
# /usr/bin/python
yarn add firebase # done!

gyp (Generate Your Projects.) とはmakeみたいなビルドシステムらしい。

4
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?