-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[heft] ERR_ILLEGAL_CONSTRUCTOR
when running heft clean
#4351
Comments
The Heft package's full name is If you already have Heft installed locally (i.e. - this is actually running our Heft), can you provide a stacktrace? |
Yes, this is when heft is installed locally. The error was introduced in heft $ mkdir -p test/config && cd test
$ echo '{ "name": "test", "version": "0.0.0" }' > package.json
$ echo '{"$schema":"https://developer.microsoft.com/json-schemas/heft/v0/heft.schema.json","phasesByName":{"build":{"cleanFiles":[{"sourcePath":"dist"},{"sourcePath":"lib"}]}}}' > config/heft.json
$ npx -y @rushstack/[email protected] clean
TypeError [ERR_ILLEGAL_CONSTRUCTOR]: Illegal constructor |
This has been fixed in @rushstack/heft v0.61.3. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See below:
@rushstack/heft
version?node -v
)?The text was updated successfully, but these errors were encountered: