quark-h5
quark-h5 copied to clipboard
安装,启动的错误。
win电脑 安装install: 提示node-sass失败,原因是 python找不到,把我的python 3.X 版本改成python 2.X 还是不行。之后把node-sass改成7.0.0版本,算是安装成功。 运行 pnpm run dev-client出错: 提示cache-loader未安装,安装完css-loader,之后提示未安装babel-loader,安装好之后又提示,Syntax Error: TypeError: this.getOptions is not a function You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable / to ignore all warnings in a file. 找到这个this.getOptions所在的文件,给整个文件设置了/ eslint-disable */还是同样报错。给下一行 // eslint-disable-next-line 还是不行 之后再找this.getOptions,全局查找找不到了。 之后修改eslint配置,不对整个项目进行eslint检查,还是不行。 最后我放弃了这个项目。。。 如果有谁和我一样排bug的路线,然后解决了,可以提示我一下 哈哈哈 好累,整了7个消失。。哈哈哈