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

"Wrong" devDependencies for building projects #847

Open
Torieffe opened this issue Mar 9, 2022 · 0 comments
Open

"Wrong" devDependencies for building projects #847

Torieffe opened this issue Mar 9, 2022 · 0 comments

Comments

@Torieffe
Copy link

Torieffe commented Mar 9, 2022

I generated a new project with these settings:
- Vuetify
- Sass
- Material Design Icons
- No Typescript
- No ESLint

While everything works fine in dev, as soon as I try to build, this error comes up:

ERROR in ./node_modules/vuetify/src/styles/main.sass (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/postcss-loader/src??ref--6-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-1-3!./node_modules/vuetify/src/styles/main.sass)
│ Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
│ TypeError: this.getOptions is not a function

This is caused by the devDependency "sass-loader: 12.4.0" and I fixed this by using "sass-loader: ^10" instead.

I don't know if this error comes up with different settings for the project, as I haven't tried any other.

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