Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

165
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda