- Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Hi,
I've installed cloudinary-vue in Gridsome and can't compile because of this error:
`
ERROR Failed to compile with 4 errors
These relative modules were not found:
- ./CldImage.vue?vue&type=style&index=0&lang=scss& in ./node_modules/cloudinary-vue/src/components/CldImage.vue
- ./CldVideo.vue?vue&type=style&index=0&lang=scss& in ./node_modules/cloudinary-vue/src/components/CldVideo.vue
- ./CldPoster.vue?vue&type=style&index=0&lang=scss& in ./node_modules/cloudinary-vue/src/components/CldPoster.vue
- ./CldTransformation.vue?vue&type=style&index=0&lang=scss& in ./node_modules/cloudinary-vue/src/components/CldTransformation.vue
`
If I follow the links, like for example ./node_modules/cloudinary-vue/src/components/CldImage.vue, it works and I can see the file.
Here is my main.js setup:
`
import DefaultLayout from "~/layouts/Default.vue";
import { Cloudinary } from "cloudinary-vue";
import "cloudinary-vue/dist/Cloudinary.css";
export default function(Vue, { router, head, isClient }) {
// Set default layout as a global component
Vue.component("Layout", DefaultLayout);
Vue.use(Cloudinary, {
configuration: { cloudName: "demo" },
components: ["CldImage"]
});
}
`
What can be wrong here ?
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels