简体   繁体   English

为什么我的 scss/sass 突然不工作了?

[英]Why my scss/sass is not working anymore suddenly?

I just have some of problem here at my scss files at any parts of my folder wherein it doesn't work anymore and I don't understand why..I tried to research it but I couldn't find the same error that I have?我只是在我的文件夹的任何部分的 scss 文件中遇到了一些问题,它不再工作了,我不明白为什么..我试图研究它,但我找不到与我相同的错误?

Its on my react or any normal html in my react I already install it my package.json它在我的反应或任何正常的 html 在我的反应我已经安装它我的 package.json

{
  "name": "my-messages",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@reduxjs/toolkit": "^1.8.6",
    "@testing-library/jest-dom": "^5.16.5",
    "@testing-library/react": "^13.4.0",
    "@testing-library/user-event": "^13.5.0",
    "bootstrap": "^5.2.2",
    "emoji-picker-react": "^4.4.5",
    "firebase": "^9.12.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-redux": "^8.0.4",
    "react-router-dom": "^6.4.2",
    "react-scripts": "5.0.1",
    "redux": "^4.2.0",
    "sass": "^1.55.0",
    "uuid": "^9.0.0",
    "web-vitals": "^2.1.4"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

And here in the image as you see its not working anymore.. I didn't touch anything that changes on my terminal or does the SCSS changes???在图片中,您看到它不再工作了。我没有触及我终端上发生的任何变化,或者 SCSS 是否发生变化??? 在此处输入图像描述

Here is my bottom right corner thing这是我右下角的东西在此处输入图像描述

  1. Maybe the location of CSS file is changed.也许 CSS 文件的位置已更改。
  2. Invalid CSS format. CSS 格式无效。
  3. Try a different browser.尝试不同的浏览器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM