Polymer 3: Can’t find recast node for element

Change your indentation to white spaces before running polymer-modulizer

Ronny Roeller
NEXT Engineering
Published in
1 min readJun 26, 2018

--

polymer-modulizer promises to magically auto-migrate Polymer 2 code to Polymer 3 code.

Yet, we ran into this error message already on the first meters of our migration attempt:

file:///path/to/my-app/src/my-page.html(146,3) warning [not-found] — Can't find recast node for element my-page

It turns out that the polymer-modulizer tool expects all files to use white spaces for indentation. Once we replaced our tab-based indentation by white spaces: all was good!

Happy coding!

--

--

Ronny Roeller
NEXT Engineering

CTO at nextapp.co # Product discovery platform for high performing teams that bring their customers into every decision