Node.js says it can't load sqlite3 module, but does anyway

前端 未结 7 1624
遥遥无期
遥遥无期 2021-01-31 09:23

I\'m working with the new Node.js Tools for Visual Studio and included the sqlite3 npm module. When I call require(\'sqlite3\') it throws the error:

7条回答
  •  说谎
    说谎 (楼主)
    2021-01-31 09:55

    To skip searching for pre-compiled binaries, and force a build from source, use

    npm install --build-from-source
    

提交回复
热议问题