better_sqlite3.node is a binary dependency of many proposals. It's built with node-gyp and links to the Node binary.
The --debug option for the test command mounts the local filesystem on top of the Docker container's. If the local fs has a node_modules with an incompatible sqlite3 binary then you'll see an error like,
Run yarn install within the Docker container to rebuild deps.
Long term fix
TBD. The local fs should have a node_modules so that types resolve. Ideally we could ignore node_modules through the mount. I don't know yet whether that's possible. @toliaqat ?
Problem
better_sqlite3.node
is a binary dependency of many proposals. It's built with node-gyp and links to the Node binary.The
--debug
option for thetest
command mounts the local filesystem on top of the Docker container's. If the local fs has a node_modules with an incompatible sqlite3 binary then you'll see an error like,Workaround
Run
yarn install
within the Docker container to rebuild deps.Long term fix
TBD. The local fs should have a
node_modules
so that types resolve. Ideally we could ignorenode_modules
through the mount. I don't know yet whether that's possible. @toliaqat ?