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

前端 未结 7 1711
遥遥无期
遥遥无期 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:57

    It seems this is a problem with the sqlite3 npm package itself. There exists a lib\binding\Release\ folder, but not a lib\binding\Debug\ folder. I just created a copy of the Release folder, named it Debug, and all is well.

提交回复
热议问题