
React
文章平均质量分 52
大涛子
你会一点儿 我会一点儿 大家都会一点儿
展开
-
needs to declare permission android.permission.REQUEST_INSTALL_PACKAGES
错误原因Android app 内自动更新安装失败,闪退的问题解决在yourApp/android/app/src/main/AndroidManifest.xml中添加所需要的权限<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>原创 2021-07-16 15:31:32 · 3626 阅读 · 0 评论 -
Can‘t find “node“ binary to build React Native bundle
问题error: Can't find 'node' binary to build React Native bundle解决bash下:ln -s $(which node) /usr/local/bin/nodefish 下:ln -s (which node) /usr/local/bin/node参考资料Can’t find ‘node’ binary to build React Native bundle原创 2021-03-22 13:13:47 · 1434 阅读 · 0 评论 -
Wow.js 在 Next.js 中使用
官方文档Animate StyleWow.js - Github前言在 jQuery 时代,我记得按照文档说明就可以完全使用起来,但是到现在使用,需要变化一下,尤其是使用了Next.js的情况下。使用第一步由于刷新页面就需要有动画,初始时我直接嵌入到script中,先引入animate:<link rel="stylesheet" href="/static/css/animate.min.css" />直接引入wow:<script src="/static原创 2021-01-21 20:06:38 · 976 阅读 · 0 评论 -
使用 webpack 无法解析 jsx 语法 Module build failed
报错信息大概意思:模块构建失败,无法解析 jsx.Module build failed: SyntaxError: /Users/yiming/Desktop/ReactTest/webpack2/app/main.js: Unexpected tokenwebpack@v4 设置:webpack.config.js:module: { rules: [ { ...原创 2019-12-27 12:20:27 · 1474 阅读 · 0 评论 -
Super expression must either be null or a function, not undefined
报错信息TypeError: Super expression must either be null or a function, not undefined解决在学习React的时候,使用静态引入文件,起初会时不时的出现这个错,一般情况下,是 Component 的首写字母没有大写造成的!class DefaultTitle extends React.Component { c...原创 2019-07-17 15:10:28 · 9959 阅读 · 0 评论