Giter VIP home page Giter VIP logo

Comments (7)

Taritsyn avatar Taritsyn commented on July 19, 2024

Hello, Nikolay!

I checked this error by using the node-sass:

C:\Projects\TestBundleTransformer\TestBundleTransformer\Content\Styles\components>node-sass -v
node-sass       3.5.0-beta.1    (Wrapper)       [JavaScript]
libsass         3.3.3   (Sass Compiler) [C/C++]

C:\Projects\TestBundleTransformer\TestBundleTransformer\Content\Styles\components>node-sass popup.scss
{
  "formatted": "Error: only UTF-8 documents are currently supported; your document appears to be UTF-16 (little endian)\n        on line 1 of popup.scss\n>> ��@\n   ^\n",
  "message": "only UTF-8 documents are currently supported; your document appears to be UTF-16 (little endian)",
  "column": 1,
  "line": 1,
  "file": "C:/Projects/TestBundleTransformer/TestBundleTransformer/Content/Styles/components/popup.scss",
  "status": 1
}

from libsasshost.

starteleport avatar starteleport commented on July 19, 2024

Andrey!

Sorry, my bad, been working late hours 😃

Maybe you could arrange separate error message for this? Nothing but your words suggested that it doesn't support UTF-16.

I've corrected encoding problems now, and here are original sass files that fail with LibSassHost, and working files with hacked include paths. I've double-checked that each of these file sets are compiled well by node-sass.

from libsasshost.

starteleport avatar starteleport commented on July 19, 2024

BTW, my node-sass version is:

node-sass       3.4.2   (Wrapper)       [JavaScript]
libsass         3.3.2   (Sass Compiler) [C/C++]

from libsasshost.

Taritsyn avatar Taritsyn commented on July 19, 2024
npm install -g node-sass@beta

from libsasshost.

Taritsyn avatar Taritsyn commented on July 19, 2024

here are original sass files that fail with LibSassHost, and working files with hacked include paths.

I decide this issue.

from libsasshost.

spotscarta avatar spotscarta commented on July 19, 2024

Hi,

I am having a similar issue. The attached ZIP shows an example of the problem:
ProblemExample.zip

When using ruby sass (v3.4.21) to compile Features/BaseHtmlLayout/BaseHtmlLayout.scss the compilation is successful. When LibSassHost is used (via BundleTransformer.SassAndScss) it fails with this error message:

Message: File to import not found or unreadable: ../../../Shared/_Mixins.scss
Parent style sheet: /ProblemExample/Components/ListingStyles/SquareBlockList/_SquareBlockList.scss
File: /ProblemExample/Components/ListingStyles/SquareBlockList/_SquareBlockList.scss
Line number: 1
Column number: 1
Source fragment:

Line 1: @import "../../../Shared/_Mixins.scss";

Please let me know if you need any more info.

from libsasshost.

Taritsyn avatar Taritsyn commented on July 19, 2024

In Bundle Transformer 1.9.92 Beta 2 fixed this error.

from libsasshost.

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.