-
Notifications
You must be signed in to change notification settings - Fork 3
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
Dependency goog.dom.TagName is unknown! #2
Comments
Hi @thomasskinner , the converter first collects all the exported namespaces in the input files, and then verifies that every dependency can actually be resolved. |
I don't even feed it any files though. I just do |
MacOS should mit be the problem. I also run the converter on Mac OS. Did the clone of the closure library fork work? You should have a submodule named closure-library which contains the source code of the closure library inside your working copy of the converter. Is this the case? |
There is a closure-library folder at the root which is empty. Why is it empty? I did a yarn install like the readme said. I tried symlinking the folder with my closure-library clone like this, but got an error.
|
The folder should point to exactly this commit https://github.com/cqse/closure-library/tree/minimal_fixes_on_20191111 |
@DreierF That fixed it, thank you. Do you have any tips on how to get this working for my code base? |
I don't even know what you're exactly trying to do. My guess would be (as this converter was only tweaked to convert the closure library) you will need to debug and fix some more edge cases depending on the style of your codebase to make it work. |
What we did for our own codebase was to have some additional steps in However, this only worked because our code used |
I was able to successfully convert my project's codebase & the portion of the Closure library it used to ES6 (total over 100K LOC) using closure-es6-converter. It took a few hundred hours, but was well worth it. Some of the steps included:
|
Why am I getting this?
The text was updated successfully, but these errors were encountered: