Skip to content

Problem: unusual errors with yarn

Eugene Lazutkin edited this page Sep 9, 2020 · 3 revisions

At least one user reported problems using re2 in a big project managed by yarn (see #69). It manifested itself as the following error:

Error: Cannot find module './build/Release/re2'

when removing an unrelated package. The same project builds fine with npm.

We were not able to debug it and suspect that it may be a yarn bug. Nevertheless, it would be nice to isolate it and fix it or file with the yarn project.

If you were lucky to isolate this problem in a reproducible manner, please open an issue ticket for that.