sbt-js-engine
sbt-js-engine copied to clipboard
sbt-web plugin picking global library instead of the one defined in sbt-js-engine
I installed an sbt plugin that uses typescript
as a node dependency, It requires the 1.5-beta version.
The plugin runs OK but instead of picking the version defined in it, it used my global typescript version (installed with npm install -g typescript
). Since there was a version mismatch, an error occurred.
The workaround was to npm uninstall -g typescript
, but shouldn't js-engine pick the locally defined version of the library? (I'm asking here since I found no mailing list, sorry if this is a by-design decision).