Code Monkey home page Code Monkey logo

Comments (11)

QingWei-Li avatar QingWei-Li commented on May 23, 2024

升级 Node 到 6

 Found bindings for the following environments:
      - OS X 64-bit with Node.js 6.x

~/.cooking/ 执行 npm rebuild node-sass 重新 build

from cooking.

 avatar commented on May 23, 2024

谢谢 已解决

from cooking.

 avatar commented on May 23, 2024

@QingWei-Li 但我发现是可以了 但是<style type="sass"> 里面的sass无法识别

from cooking.

 avatar commented on May 23, 2024

css<style type="sass">

from cooking.

QingWei-Li avatar QingWei-Li commented on May 23, 2024

@lizhoukai = =
是 lang 不是 type

<style lang="sass">

from cooking.

 avatar commented on May 23, 2024

@QingWei-Li 没有啦 我改为type可以识别css lang就不识别 报错

from cooking.

 avatar commented on May 23, 2024

@QingWei-Li 没有啦 我用lang就识别不了 会报错

from cooking.

QingWei-Li avatar QingWei-Li commented on May 23, 2024

@lizhoukai
错误日志贴一下

from cooking.

 avatar commented on May 23, 2024
    ERROR in /usr/local/lib/~/cooking/~/css-loader!/Users/kevinli/.cooking/~/vue-loader/lib/style-rewriter.js!/Users/kevinli/.cooking/~/sass-loader?indentedSyntax!/Users/kevinli/.cooking/~/vue-loader/lib/selector.js?type=style&index=0!./src/app.vue
    Module build failed:
      h1{
      ^
          Invalid CSS after "h1{": expected "}", was "{"
          in /Users/kevinli/Documents/project/vue-ui/src/app.vue (line 25, column 4)
     @ /Users/kevinli/.cooking/~/vue-style-loader!/usr/local/lib/~/cooking/~/css-loader!/Users/kevinli/.cooking/~/vue-loader/lib/style-rewriter.js!/Users/kevinli/.cooking/~/sass-loader?indentedSyntax!/Users/kevinli/.cooking/~/vue-loader/lib/selector.js?type=style&index=0!./src/app.vue 4:14-347 13:2-17:4 14:20-353
    Child html-webpack-plugin for "index.html":

webpack: bundle is now VALID.

@QingWei-Li

from cooking.

QingWei-Li avatar QingWei-Li commented on May 23, 2024

@lizhoukai
说明已经识别到了,你要明确你是用 sass 还是 scss,如果你加括号那么就是 scss

from cooking.

 avatar commented on May 23, 2024

@QingWei-Li 非常感谢 哥哥 webpack刚学 ~ 😊

from cooking.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.