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

Successfully generated 0 components #52

Closed
asheroto opened this issue Feb 13, 2021 · 4 comments
Closed

Successfully generated 0 components #52

asheroto opened this issue Feb 13, 2021 · 4 comments

Comments

@asheroto
Copy link

asheroto commented Feb 13, 2021

Hello,

I installed the CLI tool and ran it against an HTML file, a directory of HTML files, but it just says...

image

I'm on Windows x64 but tried it on my Debian x64 build and got the same result.

Tried Nodejs 14.15.5 and 15,8.0.

@roman01la
Copy link
Owner

Please provide more context, this is not enough to understand the problem, a repro case would be useful

@asheroto
Copy link
Author

Sorry, no prob...

I typed a text file with this data

<html>
<head>
<title>test</test>
</head>
<body>
<h1>test header</h1>
</body>
</html>

and saved it as test.html

I then typed

html2react.ps1 test.html

and pressed enter, but I get

image

Can I just run this command in an empty directory? Or does that change things?

@roman01la
Copy link
Owner

you are not marking any html components, please read the readme and follow instructions

@asheroto
Copy link
Author

Ha, wow, I have no clue how I didn't see that. Thanks.

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

No branches or pull requests

2 participants