Giter Site home page Giter Site logo

Comments (7)

nex3 avatar nex3 commented on June 8, 2024 1

That's right. This is an issue with the dart2js compiler; we can't fix it in Sass.

from dart-sass.

lianyitj avatar lianyitj commented on June 8, 2024
1697604337918 1697604661610

same error,...

from dart-sass.

inoyakaigor avatar inoyakaigor commented on June 8, 2024

Met the same error
image
in this code
image

[email protected] / Node.js@21 / Win 11

from dart-sass.

Skyost avatar Skyost commented on June 8, 2024

Same here.

Error:  Nuxt Build Error: Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'indexOf')
  at node_modules/sass/sass.dart.js:116832:12
  at Object.applyHooksTransformer (node_modules/sass/sass.dart.js:1863:14)
  at Object.initHooks (node_modules/sass/sass.dart.js:1843:251)
  at Object.initNativeDispatchContinue (node_modules/sass/sass.dart.js:1809:9)
  at Object.initNativeDispatch (node_modules/sass/sass.dart.js:1803:9)
  at Object.getNativeInterceptor (node_modules/sass/sass.dart.js:29308:13)
  at Object.getInterceptor$x (node_modules/sass/sass.dart.js:29569:16)
  at Object.set$compile$x (node_modules/sass/sass.dart.js:29636:16)
  at Object.main (node_modules/sass/sass.dart.js:24401:9)
  at main2 (node_modules/sass/sass.dart.js:26210:9)
  at node_modules/sass/sass.dart.js:117902:7
  at node_modules/sass/sass.dart.js:117881:7
  at dartProgram (node_modules/sass/sass.dart.js:117896:5)
  at _cliPkgExports.load (node_modules/sass/sass.dart.js:117904:3)
  at Object.<anonymous> (node_modules/sass/sass.node.js:4:9)
  at Module._compile (node:internal/modules/cjs/loader:1369:14)
  at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
  at Module.load (node:internal/modules/cjs/loader:1201:32)
  at Module._load (node:internal/modules/cjs/loader:1017:12)
  at Module.require (node:internal/modules/cjs/loader:1229:19)
  at require (node:internal/modules/helpers:177:18)
  at loadPreprocessor (node_modules/vite/dist/node/chunks/dep-bb8a8[339](https://github.com/Skyost/Agregation/actions/runs/6559774470/job/17816040333#step:6:340).js:39299:45)
  at scss (node_modules/vite/dist/node/chunks/dep-bb8a8339.js:39[345](https://github.com/Skyost/Agregation/actions/runs/6559774470/job/17816040333#step:6:346):20)
  at compileCSSPreprocessors (node_modules/vite/dist/node/chunks/dep-bb8a8339.js:38770:36)
  at compileCSS (node_modules/vite/dist/node/chunks/dep-bb8a8339.js:38820:42)
  at async Object.transform (node_modules/vite/dist/node/chunks/dep-bb8a8339.js:38300:56)
  at async transform (node_modules/rollup/dist/es/shared/node-entry.js:24449:16)
  at async ModuleLoader.addModuleSource (node_modules/rollup/dist/es/shared/node-entry.js:24649:30)
  Error: Preprocessor dependency "sass" failed to load:
  Cannot read properties of undefined (reading 'indexOf')
  at loadPreprocessor (node_modules/vite/dist/node/chunks/dep-bb8a8339.js:39307:29)
  at scss (node_modules/vite/dist/node/chunks/dep-bb8a8339.js:39345:20)
  at compileCSSPreprocessors (node_modules/vite/dist/node/chunks/dep-bb8a8339.js:38770:36)
  at compileCSS (node_modules/vite/dist/node/chunks/dep-bb8a8339.js:38820:42)
  at async Object.transform (node_modules/vite/dist/node/chunks/dep-bb8a8339.js:38300:56)
  at async transform (node_modules/rollup/dist/es/shared/node-entry.js:24449:16)
  at async ModuleLoader.addModuleSource (node_modules/rollup/dist/es/shared/node-entry.js:24649:30)

from dart-sass.

ntkme avatar ntkme commented on June 8, 2024

dart-lang/sdk#53784

from dart-sass.

stheine avatar stheine commented on June 8, 2024

@nex3 , can you explain why this is getting closed?
isn't this an issue that exists in node 21 and that needs fixing?

from dart-sass.

inoyakaigor avatar inoyakaigor commented on June 8, 2024

@stheine because of this I guess dart-lang/sdk#53784

from dart-sass.

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.