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

170
Visualizações
Microsoft's Makecode fails to build due to react-scripts

I'm attempting to make a custom version (fork) of Microsoft's PXT (Makecode), and it's working pretty well, except for one issue:

After fresh install + npm install, it builds perfectly (via npm run build). After one more time (and from there forwards), I get the following:

pxt\skillmap\node_modules\react-scripts\config\webpack.config.js:11
  const config = configFactory(webpackEnv);

TypeError: configFactory is not a function

if I open up that file, sure enough I see const config = configFactory(webpackEnv);, but right above it (on line 6 to be exact) shows const configFactory = require('../config/webpack.config.base');, meaning that configFactory should have been defined. Why might this be happening, and what can I do to fix it?

I did try 2 things, both of which did not work out:

  1. I disabled my TSConfig's "strict", but that only effects .d.ts files (type declarations), and not actual TS files.
  2. adding node_modules to the TSConfig's exclude section, to attempt to get typescript not to check them. This had no success either.
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