You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Running "bazel run @nodejs//:yarn" twice fails with unlink error #652
Yes, the previous version in which this bug was not present was:
Running bazel run @nodejs//:yarn multiple times works.
Description
Running bazel run @nodejs//:yarn the second time will get:
$ node delete_build_files.js
fs.js:115
throw err;
^
Error: ENOENT: no such file or directory, unlink 'node_modules/rxjs/src/webSocket/BUILD.bazel'
at Object.unlinkSync (fs.js:949:3)
at Object.<anonymous> (/usr/local/google/home/pcloudy/workspace/rules_nodejs/internal/npm_install/test/package/delete_build_files.js:22:6)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
error Command failed with exit code 1.
🔬 Minimal Reproduction
git pull
bazel run @nodejs//:yarn
bazel run @nodejs//:yarn
Activity
fix(npm_install) exclude test directory
fix(npm_install) exclude test directory (#653)
Fix for #652: Running "bazel run @nodejs//:yarn" twice fails with unl…
Initial Toolchain Support