简体   繁体   中英

React native - babel-plugin-module-resolver '1' of undefined

I'm developing react native app with expo. But i have a problem. When i start the app with npm start or expo start. I'm getting this error.

node_modules\babel-plugin-module-resolver\lib\index.js:88
TypeError: Cannot read property '1' of undefined

I deleted all node_modules. But it's not working. How can i fix?

node version: v8.11.4

Try reverting your current version of babel. I ran into this problem a while ago when there was problem in one of their dependencies

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM