-
Notifications
You must be signed in to change notification settings - Fork 607
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
Fails when running if a package.json is missing "name" (Discord.JS) #1200
Comments
The |
I'm closing this because (1) the missing Please feel free to reopen the issue if you have further comments/concerns. Thanks! |
@octogonz Some modules use intermediate In that case, there will be no I dived into the code and found that parsing of Maybe it's worth to update |
Hi, |
Make a valid package.json? |
I think it is better to ignore invalid package.json in subfolders |
Are you able to share a repro of your problem? If so, please open a new GitHub issue and I can investigate it. |
Was there a solution or separate issue opened to handle the invalid package.json files? (specifically for material-ui) |
@gregjoeval My opinion is:
If that isn't possible for some reason, then:
|
Here is the new issue: #2070 |
When running
api-extractor
with the following configurationwhere a package.json exists without a name, the extractor fails. This happens specifically with the Discord.JS package.
where the package.json's contents are
To get around this temporarily, I simply added a name. This then caused an error to be thrown for missing
version
as well.The text was updated successfully, but these errors were encountered: