Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

161
Views
postcss config error within vue app cannot import css into component

I have a vue component that is pulling css from node_modules and also from it's own relative file structure like below,

import "splitpanes/dist/splitpanes.css";
import "../../sass/splitpanes.css";

When trying to build our vue app we get the following error,

Syntax Error: Error: No PostCSS Config found in: /codebuild/output/src971107930/src/webapps/node_modules/splitpanes/dist
@ /codebuild/output/src971107930/src/webapps/node_modules/splitpanes/dist/splitpanes.css 4:14-142
@ /codebuild/output/src971107930/src/webapps/node_modules/cache-loader/dist/cjs.js??ref--13-0!/codebuild/output/src971107930/src/webapps/node_modules/babel-loader/lib!/codebuild/output/src971107930/src/iwebapps/node_modules/cache-loader/dist/cjs.js??ref--1-0!/codebuild/output/src971107930/src/webapps/node_modules/vue-loader/lib??vue-loader-options!../components/src/components/workspaces/Dashboard.vue?vue&type=script&lang=js&
@ ../components/src/components/workspaces/Dashboard.vue?vue&type=script&lang=js&
@ ../components/src/components/workspaces/Dashboard.vue
@ ../components/src/components/index.js
@ /codebuild/output/src971107930/src/webapps/node_modules/cache-loader/dist/cjs.js??ref--13-0!/codebuild/output/src971107930/src/webapps/node_modules/babel-loader/lib!/codebuild/output/src971107930/src/webapps/node_modules/cache-loader/dist/cjs.js??ref--1-0!/codebuild/output/src971107930/src/webapps/node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
@ ./src/App.vue?vue&type=script&lang=js&
@ ./src/App.vue
@ ./src/main.js
@ multi ./src/main.js

In the root of the project we do have a postcss.config.js file,

module.exports = {
  plugins: {
    'postcss-advanced-variables': {},
    tailwindcss: {},
    'postcss-import': {},
    'postcss-nested': {},
    'postcss-color-function': {},
    autoprefixer: {},
  }
}

Is it complaining about this one, or complaining about the fact that the node module does not have one pictured is the file structure of the package from node_modules,

enter image description here

Is there a fix or workaround for this problem, am I doing something wrong?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!