tnfe / shida

《视搭》是一个视频可视化搭建项目。您可以通过简单的拖拽方式快速生产一个短视频,使用方式就像易企秀或Maka 等 h5 搭建工具一样的简单,仅抛砖引玉希望您喜欢。
Apache License 2.0
581 stars 148 forks source link

启动失败,为定义的$primary #21

Open onionwithhoney opened 1 year ago

onionwithhoney commented 1 year ago

nodejs:v14.21.3 sass:1.58.3 ;sass-loader :7.3.1 system:windows server 2019 standard 8cores 16G ram 200G too many errs,I don't known what to do..

` ERROR Failed to compile with 24 errors 17:08:57

error in ./client/pages/template/components/page-manage.vue?vue&type=style&index=0&id=a23239c4&lang=scss&scoped=true&

Syntax Error:

             ^
  Undefined variable.

╷ 45 │ background: $primary; │ ^^^^^^^^ ╵ stdin 45:19 root stylesheet in C:\Users\Administrator\Downloads\shipin\shida\client\pages\template\components\page-manage.vue (line 45, column 19)

@ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./client/pages/template/components/page-manage.vue?vue&type=style&index=0&id=a23239c4&lang=scss&scoped=true& 4:14-499 15:3-20:5 16:22-507 @ ./client/pages/template/components/page-manage.vue?vue&type=style&index=0&id=a23239c4&lang=scss&scoped=true& @ ./client/pages/template/components/page-manage.vue @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./client/pages/template/Index.vue?vue&type=script&lang=js& @ ./client/pages/template/Index.vue?vue&type=script&lang=js& @ ./client/pages/template/Index.vue @ ./client/router/index.js @ ./client/main.js @ multi ./node_modules/@vue/cli-service/node_modules/webpack-dev-server/client?http://192.168.1.56:8080/sockjs-node (webpack)/hot/dev-server.js ./client/main.js

error in ./client/pages/home/template-list.vue?vue&type=style&index=0&id=2fffdc9c&lang=scss&scoped=true&