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
You should not invoke commands like npm, there may be a chance where a user may not have npm but may have yarn or pnpm present.
The best option is to find it yourself in node_modules as other plugins do.
Well, npm is always there with Node.js even if user uses yarn (even within most contrainers). Besides, the global node_modules would be hard to find otherwise
anton-trunov
changed the title
Auto-select the closest @tact-lang/compier to be used
Auto-select the closest @tact-lang/compiler to be used
Feb 10, 2025
npm list @tact-lang/compiler --json
(will work with Node.js, since it bundles with annpm
)npm list -g @tact-lang/compiler --json
And prior to all of that, allow overriding the target path to the
@tact-lang/compiler
via a config option.The text was updated successfully, but these errors were encountered: