The unknown plugin transform-decorators-legacy specified in .babelrc tried to resolve relative to “/mypath/project”
I checked the node_modules in the path and saw that the plugin is Installed using yarn add. My eslint plugin also encountered a similar error. What did I miss in the project settings to make babel and eslint see node_modules?
Is it possible that it is caused by installing react-native-code-push? I think when I installed codepush, it copied the react pod in the pod installation and there were some errors-so I removed it from the podfile. Does it try to push the js with the cached code even if I don’t have it in my react js Implement code push in files?
You have a typo here.
So I started a new react-native project and copied the .babelrc file from my previous project. I have installed the necessary plugins but I received I got the error
The unknown plugin transform-decorators-legacy specified in .babelrc tried to resolve relative to “/mypath/project”
I checked the node_modules in the path, I saw that the plug-in was installed using yarn add. My eslint plug-in also encountered a similar error. What did I miss in the project settings to make babel and eslint see node_modules?
Is it possible that it is caused by installing react-native-code-push? I think when I installed codepush, it copied the react pod in the pod installation and there were some errors-so I removed it from the podfile. Does it try to push the js with the cached code even if I don’t have it in my react js Implement code push in files?
trasnform-decoration legacy
You have a typo here.
< /p>