-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Missing "./dist/vue-select.css" export in "vue-select" package #1678
Comments
Facing same issue in 4.0.0-beta.4 as "./dist/vue-select.css" is not be exported in package.json |
Yep, I've also tried with 4.0.0-beta.4 and it comes up with the same issue. |
Same issue for "vue": "^3.2.37" and "vue-select": "^4.0.0-beta.3" |
Same issue with missing export for "./dist/vue-select.css" "vue": "^3.2.37" and "vue-select": "^4.0.0-beta.3" |
same error with "vue: 3.2.37" and "[email protected] |
i have downgraded from [email protected] to [email protected] and now I can build... |
Fixed and released in |
Issue still persist for me at the latest beta UPD: |
I still have this issue. Using webpack and sass-loader, and vue-select 4.0.0-beta.5 // vendor.scss
@import '~vue-select/dist/vue-select.css'; Compiled with problems:
ERROR in ./resources/sass/admin/vendor.scss (./resources/sass/admin/vendor.scss.webpack[javascript/auto]!=!./node_modules/.pnpm/[email protected][email protected]/node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[1]!./node_modules/.pnpm/[email protected]_m6qh27jiicejwnzfgs742cokpe/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/.pnpm/[email protected]_vj7luxzvcsn763rnf72h6efq4y/node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./resources/sass/admin/vendor.scss)
Module build failed (from ./node_modules/.pnpm/[email protected][email protected]/node_modules/css-loader/dist/cjs.js):
Error: Can't resolve '~vue-select/dist/vue-select.css' in '/home/ankurk/projects/laravel-app/resources/sass/admin'
at finishWithoutResolve (/home/ankurk/projects/laravel-app/node_modules/.pnpm/[email protected]/node_modules/enhanced-resolve/lib/Resolver.js:309:18) When I removed the "exports" section from |
We're getting an error when including the stylesheet from an SCSS file using sass-loader. This is because the The solution for this would be to add a
|
@MaxKorlaar can you send a PR? |
Sure @ankurk91, I'll get back on this tomorrow |
Describe the bug
Currently, using Vite and when I run
npm run dev
after runningnpm update
, I get the following error:It also seems to happen when running
npm run build
Expected behaviour
It was working fine a while ago and I actually checked that the
vue-select.css
file exists in thevue-select
package and it does. Any help on why this error is occurring would be much appreciated.The text was updated successfully, but these errors were encountered: