-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test debug mode can break sqlite3 #151
Comments
A mount is what it says, a direct mount of the whole directory. There is no filtering. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 ?The text was updated successfully, but these errors were encountered: