-
Notifications
You must be signed in to change notification settings - Fork 119
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
use with angular/typescript #351
Comments
the same question |
I like (yards/yards= parser)
…On Mon, Jan 17, 2022 at 8:23 PM Allen ***@***.***> wrote:
the same question
—
Reply to this email directly, view it on GitHub
<#351 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASM4AJVIXZUQL5JG76RPYT3UWTTLXANCNFSM4XHQZI5Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I use yargs in an angular environment? It looks like it has a dependency on fs that prevents it from being used client side. Is this this true?
then in my file
import parser from 'yargs-parser';
const argv = parser('--foo=99 --bar=9987930', {
string: ['bar']
})
and I get this error
ERROR in ./node_modules/yargs-parser/build/lib/index.js
Module not found: Error: Can't resolve 'fs' in '/Users/kenneth.paysonlabshare.org/Documents/code/labshare/ng-auth/node_modules/yargs-parser/build/lib'
ERROR in ./node_modules/yargs-parser/build/lib/index.js
Module not found: Error: Can't resolve 'path' in '/Users/kenneth.paysonlabshare.org/Documents/code/labshare/ng-auth/node_modules/yargs-parser/build/lib'
The text was updated successfully, but these errors were encountered: