0.43.0-rc.1升级遇到的一个坑
发布时间:2020-12-15 07:29:22 所属栏目:百科 来源:网络整理
导读:nodejs start的时候出异常提示#13017 Unable to resolve module react/lib/ReactDebugCurrentFrame from ....node_modulesreact-nativeLibrariesRenderersrcrendererssharedstackreconcilerReactCompositeComponent.js: Module does not exist in
nodejs start的时候出异常提示#13017 Unable to resolve module react/lib/ReactDebugCurrentFrame from ....node_modulesreact-nativeLibrariesRenderersrcrendererssharedstackreconcilerReactCompositeComponent.js : Module does not exist in the module map or in these directories: ...node_modulesreactlib 按照提示跑到另外一个issues,clean cache、reset npm搞到最后重装nodejs都木有解决问题。 尼玛是没细看出错信息 npm WARN react-native@0.43.0-rc.1 requires a peer of react@~16.0.0-alpha.3 but none was installed. 按照说明更新react版本,即可 npm install -save react@~16.0.0-alpha.3 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |