Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Error: SassError: Undefined function. #128

Closed
a1phaboy opened this issue Nov 7, 2022 · 2 comments
Closed

Syntax Error: SassError: Undefined function. #128

a1phaboy opened this issue Nov 7, 2022 · 2 comments

Comments

@a1phaboy
Copy link

a1phaboy commented Nov 7, 2022

error in ./node_modules/laravel-file-manager/src/components/modals/views/AudioPlayerModal.vue?vue&type=style&index=0&id=21a030da&lang=scss&

Syntax Error: SassError: Undefined function.

27 │ $embed-padding: (math.div(100, 16) * 9);
│ ^^^^^^^^^^^^^^^^^

node_modules/plyr/src/sass/types/video.scss 27:18 @import
node_modules/plyr/src/sass/plyr.scss 41:9 @import

Did I miss anything

@a1phaboy
Copy link
Author

a1phaboy commented Nov 7, 2022

I found a solution that update sass to 1.33.0, but now errors still appear, they bacome :
ERROR Failed to compile with 2 errors 13:34:41

These dependencies were not found:

  • -!../../../../../css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../vue-loader/lib/loaders/stylePostLoader.js!../../../../../postcss-loader/src/index.js??ref--8-oneOf-1-2!./codemirror/theme/blackboard.css in ./node_modules/css-loader/dist/cjs.js??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!./node_modules/laravel-file-manager/src/components/modals/views/TextEditModal.vue?vue&type=style&index=0&id=06878c82&lang=scss&
  • -!../../../../../css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../vue-loader/lib/loaders/stylePostLoader.js!../../../../../postcss-loader/src/index.js??ref--8-oneOf-1-2!./cropperjs/dist/cropper.css in ./node_modules/css-loader/dist/cjs.js??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!./node_modules/laravel-file-manager/src/components/modals/additions/CropperModule.vue?vue&type=style&index=0&id=63bc8c0e&lang=scss&

@a1phaboy
Copy link
Author

a1phaboy commented Nov 7, 2022

my project is based on vue2, and I change version, problem disappear ,details:👇
#114 (comment)

@a1phaboy a1phaboy closed this as completed Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant