Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装,启动的错误。 #35

Open
JaneAnne218 opened this issue Jun 26, 2023 · 2 comments
Open

安装,启动的错误。 #35

JaneAnne218 opened this issue Jun 26, 2023 · 2 comments

Comments

@JaneAnne218
Copy link

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个消失。。哈哈哈

@huangwei9527
Copy link
Owner

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个消失。。哈哈哈

node版本切到 14试试

@Evanl-lai
Copy link

真的,什么时候能把node-sass这个毒瘤去掉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants