Skip to content
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

publishing a scoped package to npm - misleading error message #5545

Open
oliver-wb opened this issue Jan 7, 2025 · 0 comments
Open

publishing a scoped package to npm - misleading error message #5545

oliver-wb opened this issue Jan 7, 2025 · 0 comments
Labels
config Configuration within your fern folder errors Related to error messages thrown by Fern product/sdk-generator Fern's SDK Generator that outputs client libraries in 7 languages

Comments

@oliver-wb
Copy link

oliver-wb commented Jan 7, 2025

Issue Description

trying to publish a scoped package without wrapping the package name in double quotes in generators.yml throws the error "Failed to parse fern/generators.yml: bad indentation of a mapping entry"

example syntax that yields error: package-name: @fixa-dev/server

correct syntax: package-name: "@fixa-dev/server"

@oliver-wb oliver-wb changed the title publishing a scoped package to npm - incorrect error message publishing a scoped package to npm - misleading error message Jan 7, 2025
@dannysheridan dannysheridan added config Configuration within your fern folder product/sdk-generator Fern's SDK Generator that outputs client libraries in 7 languages errors Related to error messages thrown by Fern labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config Configuration within your fern folder errors Related to error messages thrown by Fern product/sdk-generator Fern's SDK Generator that outputs client libraries in 7 languages
Development

No branches or pull requests

2 participants