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
Pretty sure this is my own incompetence and not a bug but... I'm trying to write my own plugin and want to import the versionUtils. My IDE recognises them but when I run the command I get:
Type Error: Cannot read property 'openVersionFile' of undefined
This is using a fresh builder project. I suspect something is not getting bundled somewhere.
To reproduce
import{Plugin}from'@yarnpkg/core';import{BaseCommand}from'@yarnpkg/cli';import{versionUtils}from'@yarnpkg/plugin-version'classReleaseCommandextendsBaseCommand{staticpaths=[['release-check'],];asyncexecute(){// In my code I'm actually calling functions but this is an easy repro.console.log(versionUtils)}}constplugin: Plugin={commands: [ReleaseCommand,],};exportdefaultplugin;
This issue looks stale, and doesn't feature the reproducible label - which implies that you didn't provide a working reproduction using Sherlock. As a result, it'll be closed in a few days unless a maintainer explicitly vouches for it or you edit your first post to include a formal reproduction (you can use the playground for that).
Note that we require Sherlock reproductions for long-lived issues (rather than standalone git repositories or similar) because we're a small team. Sherlock gives us the ability to check which bugs are still affecting the master branch at any given point, and decreases the amount of code we need to run on our own machines (thus leading to faster bug resolutions). It helps us help you! 😃
If you absolutely cannot reproduce a bug on Sherlock (for example because it's a Windows-only issue), a maintainer will have to manually add the upholded label. Thanks for helping us triaging our repository! 🌟
Self-service
Describe the bug
Pretty sure this is my own incompetence and not a bug but... I'm trying to write my own plugin and want to import the
versionUtils
. My IDE recognises them but when I run the command I get:This is using a fresh builder project. I suspect something is not getting bundled somewhere.
To reproduce
Environment
System: OS: macOS 11.6 CPU: (8) x64 Apple M1 Binaries: Node: 15.12.0 - /private/var/folders/9r/by9bv60j729_wcsxd86fwv480000gn/T/xfs-ff62c657/node Yarn: 3.0.2 - /private/var/folders/9r/by9bv60j729_wcsxd86fwv480000gn/T/xfs-ff62c657/yarn npm: 7.6.3 - ~/.nvm/versions/node/v15.12.0/bin/npm
The text was updated successfully, but these errors were encountered: