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 }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
[require()] installing from npm registry, requiring, uninstalling, then installing a different version then requiring again, attempts to execute the old main script #8266
even though package.json was clearly updated on the file system.
If the old main script does not exists anymore the require() call fails, even if require's cache was cleared. I am not sure if that's an npm or nodejs bug.