-
Notifications
You must be signed in to change notification settings - Fork 20
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 specifier in package #28
Comments
Same issue here |
same issue |
Try to import it in the following way: “vue3-perfect-scrollbar/style.css”. It worked like this for me. |
@adrianmartinm thanks, that worked for me, changing in main.ts: import { PerfectScrollbarPlugin } from 'vue3-perfect-scrollbar'; Also changed the import of PerfectScrollbar cause it's no longer default export. Readme was updated this way also |
for me, this solution is not working this is my error if this helps : file:///var/www/golddate/app/FrontEndtest/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:21445 Error: Missing "./dist/vue3-perfect-scrollbar.min.css" specifier in "vue3-perfect-scrollbar" package Node.js v21.1.0 |
I am attempting to upgrade the version of the project from 1.6.1 -> 2.0.0.
After installing the new package, on running the project I receive an error message:
My package.json looks like this:
"dependencies": { "@fingerprintjs/fingerprintjs": "^4.2.2", "@vueuse/core": "^10.9.0", "apexcharts": "^3.48.0", "axios": "^1.6.8", "detect-browser": "^5.3.0", "gsap": "file:gsap-bonus.tgz", "js-sha256": "^0.11.0", "phone": "^3.1.42", "pinia": "^2.1.7", "vue": "^3.4.21", "vue-dndrop": "^1.3.1", "vue-drag-resize": "^2.0.3", "vue-draggable-resizable": "^3.0.0", "vue-i18n": "^9.12.1", "vue-recaptcha-v3": "^2.0.1", "vue-router": "^4.3.0", "vue-upload-component": "^3.1.8", "vue3-apexcharts": "^1.5.2", "vue3-perfect-scrollbar": "^2.0.0", "vuedraggable": "^4.1.0", "vuetify": "^3.5.15" }, "devDependencies": { "@mdi/font": "^7.4.47", "@mdi/js": "^7.4.47", "@pinia/testing": "^0.1.3", "@popperjs/core": "^2.11.8", "@rushstack/eslint-patch": "^1.10.2", "@types/greensock": "^1.15.32", "@types/gsap": "^3.0.0", "@types/node": "^20.12.7", "@vitejs/plugin-vue": "^5.0.4", "@vitest/coverage-istanbul": "^1.5.0", "@vitest/ui": "^1.5.0", "@vue/eslint-config-prettier": "^9.0.0", "@vue/eslint-config-typescript": "^13.0.0", "@vue/test-utils": "^2.4.5", "@vue/tsconfig": "^0.5.1", "cypress": "^13.7.3", "eslint": "^8.57.0", "eslint-plugin-vue": "^9.25.0", "happy-dom": "^14.7.1", "jsdom": "^24.0.0", "prettier": "^3.2.5", "sass": "^1.75.0", "sass-loader": "^14.2.0", "typescript": "^5.4.5", "video.js": "^8.10.0", "vite": "^5.2.8", "vite-plugin-vuetify": "^2.0.3", "vitest": "^1.5.0", "vue-cli-plugin-vuetify": "~2.5.8", "vue-tsc": "^2.0.13", "webpack-plugin-vuetify": "^3.0.3" }
Can you please resolve this issue?
As a temporary solution I have rolled back to 1.6.1.
Thanks.
The text was updated successfully, but these errors were encountered: