Open Vinayaka-HK opened 1 year ago
We have the same issue. The package seems abandoned so there is very little hope that any updates will be released in the future. Best way is to look for alternatives.
I just changed
import "vue-toastification/dist/index.css";
into
import "../../node_modules/vue-toastification/dist/index.css";
Versions
npm@next @2.0 with Vue3
Describe the bug
When running vue-toastification with npm , it works fine, but when running it when bun , it throws an error saying that "vue-toastification/dist/index.css" is not exported from package.json. and the toast wont trigger.
Expected behavior
Toast should trigger as usual.
Steps to reproduce
Reproduction . Steps:
Here, while running the program using bun run serve the error
ERROR in ./src/main.js 12:0-43 - Module not found: Error: Package path ./dist/index.css is not exported from package <package-path>/node_modules/vue-toastification (see exports field in <package-path>/node_modules/vue-toastification/package.json)
Please fix it.
Temporary solution is to copy the css and put it in my assets folder and import it to main.js from there.