You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System: Mac OS High Sierra
Gridsome version: gridsome v0.6.5, @gridsome/cli v0.2.1
After I run gridsome create <dir> https://github.com/gridsome/gridsome-starter-blog.git, I'll cd into the folder and run gridsome develop to be hit with a compile error:
ERROR Failed to compile with 9 errors 9:18:42 AM
This dependency was not found:
* ~/assets/style/index.scss in ./src/main.js
To install it, you can run: npm install --save ~/assets/style/index.scss
These relative modules were not found:
* ./Post.vue?vue&type=style&index=0&lang=scss& in ./src/templates/Post.vue
* ./Default.vue?vue&type=style&index=0&lang=scss& in ./src/layouts/Default.vue
* ./Author.vue?vue&type=style&index=0&lang=scss& in ./src/components/Author.vue
* ./PostCard.vue?vue&type=style&index=0&lang=scss& in ./src/components/PostCard.vue
* ./PostMeta.vue?vue&type=style&index=0&lang=scss& in ./src/components/PostMeta.vue
* ./PostTags.vue?vue&type=style&index=0&lang=scss& in ./src/components/PostTags.vue
* ./Logo.vue?vue&type=style&index=0&lang=scss& in ./src/components/Logo.vue
* ./ToggleTheme.vue?vue&type=style&index=0&lang=scss& in ./src/components/ToggleTheme.vue
I've encountered the same issue trying to run build on a freshly created project using another project forked from this, though with less issues.
ERROR Failed to compile with 5 errors 9:13:04 AM
These relative modules were not found:
* ./Post.vue?vue&type=style&index=0&lang=scss& in ./src/templates/Post.vue
* ./PostMeta.vue?vue&type=style&index=0&lang=scss& in ./src/components/PostMeta.vue
* ./PostTags.vue?vue&type=style&index=0&lang=scss& in ./src/components/PostTags.vue
* ./Author.vue?vue&type=style&index=0&lang=scss& in ./src/components/Author.vue
* ./PostCard.vue?vue&type=style&index=0&lang=scss& in ./src/components/PostCard.vue
I don't think the routing is incorrect, but I'm unsure as to why this is occuring.
EDIT: A bit more investigation is showing that it's related to the SCSS tied to each element. Of course, if I remove it, GraphQL throws a fit, but at least I can narrow it down to that.
The text was updated successfully, but these errors were encountered:
cdvillard
changed the title
Vue components cannot be found at build
SCSS on Vue components cannot be found at build
Jul 2, 2019
System: Mac OS High Sierra
Gridsome version: gridsome v0.6.5, @gridsome/cli v0.2.1
After I run
gridsome create <dir> https://github.com/gridsome/gridsome-starter-blog.git
, I'll cd into the folder and run gridsome develop to be hit with a compile error:I've encountered the same issue trying to run build on a freshly created project using another project forked from this, though with less issues.
I don't think the routing is incorrect, but I'm unsure as to why this is occuring.
EDIT: A bit more investigation is showing that it's related to the SCSS tied to each element. Of course, if I remove it, GraphQL throws a fit, but at least I can narrow it down to that.
The text was updated successfully, but these errors were encountered: