Skip to content
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

Added postcss.config.js #99

Closed
wants to merge 1 commit into from
Closed

Added postcss.config.js #99

wants to merge 1 commit into from

Conversation

viktor992
Copy link
Contributor

I was getting the following error on startup:

=> Errors prevented startup:                  
   
   While processing files with akryum:vue-component (for target web.browser):
   client/components/app-layout.vue:162: [vue-component] Error while configuring PostCSS (custom configuration) in tag <style> PostCSS config Error: Loading
   PostCSS Plugin failed: Cannot find module 'postcss-easy-import'

Added required configuration file.

Added required configuration file.

Signed-off-by: vughelli <vduk225@gmail.com>
@mitar
Copy link
Member

mitar commented May 3, 2018

I think this is not the right fix. With this you disable postcss completely? And this is why it then does not try to load the plugin. We have configuration in package.json.

But yea, I do not know why this is working for me and it does not work on clean installation.

@mitar
Copy link
Member

mitar commented May 3, 2018

I think this is the same issue: meteor-vue/vue-meteor#312

@mitar
Copy link
Member

mitar commented May 4, 2018

Does this really fix things for you?

@mitar
Copy link
Member

mitar commented May 4, 2018

So to me it still first find a section in package.json. This is also aligned with order of loading documented here.

mitar added a commit that referenced this pull request May 4, 2018
@mitar
Copy link
Member

mitar commented May 4, 2018

Closing in favor of 6cc6747.

@mitar mitar closed this May 4, 2018
@mitar mitar deleted the postcss-config branch May 4, 2018 09:26
@mitar
Copy link
Member

mitar commented May 4, 2018

I couldn't get this to work with your fix. How did you came up with this fix? It is very close to the working one.

@viktor992
Copy link
Contributor Author

I've found a similar issue with postcss configuration and tried this: akveo/ngx-admin#604 (comment). Apparently it worked for me. But I agree with closing in favor of your fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants