Open JulSeb42 opened 1 week ago
Hello,
I'm starting to get a bug (which didn't happen before but I didn't touch anything) when running a command to generate a component:
[PLOP] Something went wrong with reading your plop file TypeError: u.h1 is not a function
I'm guessing this comes from node_modules since there's no u.h1 inside my app. When I go to this u.h1 I'm getting a file with styled-components
u.h1
styled-components
How can I fix / ignore those errors? This is my current code (I use TypeScript only): https://github.com/JulSeb42/julseb-lib-react
EDIT: I see this error only when generators are imported from another file
Hello,
I'm starting to get a bug (which didn't happen before but I didn't touch anything) when running a command to generate a component:
I'm guessing this comes from node_modules since there's no
u.h1
inside my app. When I go to thisu.h1
I'm getting a file withstyled-components
How can I fix / ignore those errors? This is my current code (I use TypeScript only): https://github.com/JulSeb42/julseb-lib-react
EDIT: I see this error only when generators are imported from another file