When building a project with deno run --node-modules-dir=false -A dev.ts build we encountered the following error:
ERROR: [plugin: deno-loader] Invalid cross-device link (os error 18): link '/cache/npm/registry.npmjs.org/minisearch/6.3.0/CHANGELOG.md' -> '/tmp/ee241569/CHANGELOG.md'
We were able to connect this error to the use of hard links instead of symlinks in the build process. Changing this to symlinks resulted in a successful build process.
The error happens when copying the $DENO_DIR to reuse the cache between builds to build the islands ahead-of-time
When building a project with
deno run --node-modules-dir=false -A dev.ts build
we encountered the following error:We were able to connect this error to the use of hard links instead of symlinks in the build process. Changing this to symlinks resulted in a successful build process.
The error happens when copying the $DENO_DIR to reuse the cache between builds to build the islands ahead-of-time