
报错归纳
flym_
这个作者很懒,什么都没留下…
展开
-
swiper组件中使用video导致全屏错位
问题: 项目测试过程中,在swiper组件中有是有video,全屏时在安卓上没有任何问题,但在ios上,视频全屏后却发现小程序的navbar导航栏在视屏的上方,导致视频往下移错位,以至于没有全部显示出来。解决方法: iOS 的 video 组件全屏需要使用 position: fixed 属性。如果 video 的父组件包含 position: relative;position: absolute 等 css 属性( 除 position: static 以外的属性),便会破坏 video 的全屏定位。原创 2022-07-03 21:15:50 · 1752 阅读 · 0 评论 -
安装tui-editor失败,快速解决方案
问题描述:最近接手了一个老项目,在安装依赖包的时候报错无法,由于某一个依赖包的原因导致依赖包无法安装。npm install 出错npm ERR! Error while executing:npm ERR! /usr/bin/git ls-remote -h -t git://github.com/adobe-webplatform/eve.gitnpm ERR!npm ERR! fatal: remote error:npm ERR! The unauthenticated git pro原创 2022-04-21 13:43:37 · 21625 阅读 · 4 评论 -
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 12.x
vue前端遇到node-sass报错:你的M1使用了极为先进的arm64架构错误中有提示如下:This usually happens because your environment has changed since running `npm install`.Run `npm rebuild node-sass` to download the binding for your current environment.解决办法:npm rebuild node-sass至此,你的项原创 2022-02-22 14:40:15 · 3538 阅读 · 5 评论 -
Vue项目启动报错:Cannot find module 'array-includes'解决方法
报错原因:项目最外层的文件目录名发生更改,可能会导致这个错误产生解决办法:删掉项目中的node_modules文件夹执行 npm cache clean 或者 cnpm cache clean 命令清除掉cache缓存然后cnpm installnpm run dev就可以在这台电脑运行你的项目...原创 2019-12-03 19:58:03 · 1273 阅读 · 0 评论