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
Closed
Description
node v0.10.3
, npm v1.4.4
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.
I've written a simple gist (if you would like to run it), of just checkout the logs output as a comment on the gist, and filed the same bug at the npm repo
https://gist.github.com/akhoury/c6104082c06749895535
thanks
Metadata
Metadata
Assignees
Labels
No labels