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

后台vue启动不起来 #284

Open
FH8023 opened this issue May 13, 2024 · 6 comments
Open

后台vue启动不起来 #284

FH8023 opened this issue May 13, 2024 · 6 comments

Comments

@FH8023
Copy link

FH8023 commented May 13, 2024

当前操作系统:win11
使用版本:dsshop v3.0.0
详细问题:运行npm run dev时候win64-bit不支持node-sass
具体错误截图:
image

@unitesw
Copy link

unitesw commented Aug 14, 2024

t同样的报错,node-sass已经废弃了

@dspurl
Copy link
Owner

dspurl commented Aug 14, 2024

检查自己的node版本是不是14.18.3

@unitesw
Copy link

unitesw commented Aug 14, 2024

$ node -v
v14.18.2

@dspurl
Copy link
Owner

dspurl commented Aug 14, 2024

@unitesw
Copy link

unitesw commented Aug 14, 2024

你当前的操作系统(必填)
macos13 intel芯片

你使用的版本(必填)
dsshop v3.0.0
$ node -v
v14.18.2
$ npm -v
8.1.2

详细描述你的bug(必填)
下载代码后,能进行npm install,因为node_modules上传到了仓库里面
执行npm run dev 直接提示
./src/styles/index.scss (./node_modules/css-loader??ref--12-1!./node_modules/postcss-loader/lib??ref--12-2!./node_modules/sass-loader/lib/loader.js??ref--12-3!./src/styles/index.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Cannot find module 'node-sass'

问题代码(必填、重要)
出问题的代码片段
执行npm install [email protected]
报错信息为:WARN deprecated [email protected]: Node Sass is no longer supported. Please use sass or sass-embedded ins

因为node-sass仓库已经被废弃了,只能使用sass仓库,尝试修改package.json依赖为sass,报错依旧

@dspurl
Copy link
Owner

dspurl commented Aug 14, 2024

dsshop不再维护,故不再解答相关问题,可下载tfshop最新版进行测试,如果有问题,再根据
#220
来提问

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