Skip to content

-- missing in NPM script call on https://formatjs.io/docs/tooling/cli/#compilation #2

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

Closed
jfhector opened this issue Sep 8, 2022 · 1 comment · May be fixed by jfhector/formatjs.github.io#1

Comments

@jfhector
Copy link

jfhector commented Sep 8, 2022

First, thanks for the great library.

The issue

On the page https://formatjs.io/docs/tooling/cli/#compilation, I read:

npm run compile --help

Running that command doesn't work. I get:

$ npm run compile --help
No results for "run" "compile"

That's because -- is needed when passing options as part of executing a NPM script:
This works:

$ npm run compile -- --help

The same issue happens here too:

npm run extract --help
@longlho
Copy link
Member

longlho commented Sep 12, 2022

all the code is actually at formatjs/formatjs repo so you'd have to submit a PR there

@longlho longlho closed this as completed Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants