Had similar problem with linked package – npm link dep
was picking up old version of “dep”.
Running npm link
(again) in “dep” folder solved the problem. Theoretically it should be called only once, but for some reason it gets out of sync sometimes.
Thus in order to reliably update linked project, execute these steps after each change:
- Rebuild linked project
- run
npm link
- In host project run
npm link dep