So, I started a new project with a reaction and copied the .babelrc file from my previous project. I installed the necessary plugins, but I get an error
Unknown plugin transform-decorators-legacy specified in .babelrc, attempted to resolve relative to "/mypath/project"
I checked the node_modules in the path and see that the plugin was installed using yarn add. I also get similar errors with my eslint plugins. Am I missing something in my project setup so babel and eslint see node_modules?
Perhaps this is due to the installation react-native-code-push? I think I had some errors when I installed codepush, where it duplicated the react block in the pod installation - and therefore I removed it from the podfile. Is this an attempt to use cached push-code js even if I don't have the code implemented in my reactive js files?
source
share