LoginSignup
1
1

More than 5 years have passed since last update.

localForageをnpm install するとエラーが起きた

Posted at

エラーが出て困っていたけど、解決法が分かったのでメモ。

やりたかったこと

code
npm install localforage

なぜか下記のエラーが出てinstallできない。

code
Error: Can't find Python executable "python", you can set the PYTHON env variable.

解決策

Windowsでnpm installしてnode-gypでつまずいた時対処方法 に書いてある方法で解決。
具体的には下記を実行。

code
npm install --global windows-build-tools
1
1
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
1
1