Open daniellockyer opened 2 years ago
My #dirtyhack to workaround this is the following:
RUN cd node_modules/\@mapbox/node-pre-gyp \
&& npm install fs-extra@10.0.1 \
&& sed -i -e s/'fs/'fs-extra/ -e s/fs.renameSync/fs.moveSync/ ./lib/util/napi.js
Hey! 👋🏻 I'm working on getting Linux ARM builds for https://github.com/TryGhost/node-sqlite3 but I'm running into an issue when using
node-pre-gyp
in Docker.According to https://docs.docker.com/storage/storagedriver/overlayfs-driver/#modifying-files-or-directories:
You should be able to reproduce the issue by cloning the
node-sqlite3
repo, dropping the following intotools/BinaryBuilder.Dockerfile
:and then running