0

I’ve been trying to install sqlite3 module in electron but I always got the error message:

enter image description here

I tried to use the line:

npm install sqlite3 --build-from-source --runtime=electron --target=1.7.6 --dist-url=https://atom.io/download/electron

and it returned the error on the image. How can I solve this?

Michał Perłakowski
  • 88,409
  • 26
  • 156
  • 177

1 Answers1

2

You have to install Python and add it to your Windows Path. See 'python' is not recognized as an internal or external command.

Michał Perłakowski
  • 88,409
  • 26
  • 156
  • 177
  • But I've alredy installed windows build tools and set python as a word od the system. when i type set python it returns python=C:\Users\mtgo0\.windows-build-tools\python27\python.exe – M. Oliveira Jan 02 '18 at 14:40