install  the  react-native     here comes a  questions :: npm WARN react-native@0.41.2 requires a peer of react@~15.4.0 but none is installed. You must install peer dependencies yourself. HOW TO SOLVE THIS PROBLEM~~~~~::: Deleted node_module director…
react-native init的时候出现问题:npm WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was 2017年12月05日 10:23:35 笨笨CEO 阅读数:4625 标签: react native 更多 个人分类: react native   react-native init的时候出现问题: 报错信息 解决方案: 方法一:npm install -save react@~15.3.1…
解决方案: 方法一: npm install -save react@~15.3.1 方法二:在package.json中可以添加依赖 "dependencies": { "react": "^15.3.2", "react-native": "^0.35.0", "react-native-orientation": "^1.17.0", "react-n…
摘要 最近更新了一次node,但是更新后npm的命令总是会报 npm WARN deprecated fsevents@2.0.6: Please update: there are crash fixesnpm WARN deprecated text-encoding@0.7.0: no longer maintainednpm WARN deprecated fsevents@1.2.9: One of your dependencies needs to upgrade to fseve…
react native的0.56.0版本在windows下有bug不能正常运行请init 0.55.4的版本 react-native init MyApp --version 0.55.4 注意version前是两个杠…
报错Caused by: java.lang.ClassCastException: android.app.Application cannot be cast to com.facebook.react.ReactApplication 更新  AndroidManifest.xml 添加  android:name=".MainApplication" 问题1 <Text style={{ fontSize: this.state.fontSize, lineHeight:…
想要利用Hexo搭建一个博客,但是安装时npm一直报错,不仅仅是Hexo包,连别的其他包也不行,会提示下面的一堆错误 npm WARN onload-script failed to require onload script npm-autoinit/autoinit npm WARN onload-script failed to require onload script npm-autoinit/autoinit npm WARN onload-script Error: Cannot…
转自树之名原文npm WARN saveError ENOENT: no such file or directory解决 我是在安装sequelize时出错的.提示的错误没有保存,类似于参考的文章中说的安装vue时的报错. C:\Users\lxz>npm uninstall vueWcsp npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\lxz\package.json' npm WARN enoent…
项目演示地址 项目演示地址 项目源码 项目源码 其他版本教程 Vue版本 小程序版本 项目代码结构 前言 React 框架的优雅不言而喻,组件化的编程思想使得React框架开发的项目代码简洁,易懂,但早期 React 类组件的写法略显繁琐.React Hooks 是 React 16.8 发布以来最吸引人的特性之一,她简化了原有代码的编写,是未来 React 应用的主流写法. 本文通过一个实战小项目,手把手从零开始带领大家快速入门React Hooks.本项目线上演示地址: 在本项目中,会用到以…
问题:在使用npm安装hexo时报错 $ npm install -g hexo npm WARN deprecated swig@1.4.2: This package is no longer maintained 解决办法: 执行命令'npm config set registry https://registry.npm.taobap.org',然后重新打开git bash执行'npm install -g hexo'即可    …