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

error in ./resources/sass/style.scss Module build failed (from ./node_modules/css-loader/dist/cjs.js): #2

Open
yofandi opened this issue Jan 6, 2021 · 0 comments

Comments

@yofandi
Copy link

yofandi commented Jan 6, 2021

I try integrate this panel admin in laravel using laravel mix. when I try it always show error

error in ./resources/sass/style.scss

Module build failed (from ./node_modules/css-loader/dist/cjs.js):
ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.

  • options has an unknown property 'plugins'. These properties are valid:
    object { postcssOptions?, execute?, sourceMap? }
    at validate (/opt/lampp/htdocs/webmenulis7x/node_modules/postcss-loader/node_modules/schema-utils/dist/validate.js:104:11)
    at Object.loader (/opt/lampp/htdocs/webmenulis7x/node_modules/postcss-loader/dist/index.js:43:29)
    at /opt/lampp/htdocs/webmenulis7x/node_modules/webpack/lib/NormalModule.js:316:20
    at /opt/lampp/htdocs/webmenulis7x/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /opt/lampp/htdocs/webmenulis7x/node_modules/loader-runner/lib/LoaderRunner.js:233:18

error in ./resources/sass/style.scss

Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.

  • options has an unknown property 'plugins'. These properties are valid:
    object { postcssOptions?, execute?, sourceMap? }
    at validate (/opt/lampp/htdocs/webmenulis7x/node_modules/postcss-loader/node_modules/schema-utils/dist/validate.js:104:11)
    at Object.loader (/opt/lampp/htdocs/webmenulis7x/node_modules/postcss-loader/dist/index.js:43:29)

@ ./resources/sass/style.scss 2:14-259

I dont understand and you can fix this error ?

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