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

345
Visualizações
'serialize-javascript@5.0.1' is not in the npm registry

I have a CRA project that's being deployed using Heroku. Deploying to production has never been an issue, but now when I try I get the following error:

-----> Installing dependencies
       Installing node modules
       npm ERR! code E404
       npm ERR! 404 Not Found - GET https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-8.0.1.tgz
       npm ERR! 404 
       npm ERR! 404  'serialize-javascript@5.0.1' is not in the npm registry.
       npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
       npm ERR! 404 
       npm ERR! 404 Note that you can also install from a
       npm ERR! 404 tarball, folder, http url, or git url.
       
       npm ERR! A complete log of this run can be found in:
       npm ERR!     /tmp/npmcache.fuUsQ/_logs/2022-01-31T04_29_54_312Z-debug.log
-----> Build failed

All the versions of serialize-javascript that are installed:

% npm ls serialize-javascript   
on-borrowed-time@0.1.0 /Users/mpetersen/Documents/dev/on-borrowed-time
├─┬ eslint-loader@4.0.2
│ └─┬ webpack@4.44.2
│   └─┬ terser-webpack-plugin@1.4.5
│     └── serialize-javascript@4.0.0
└─┬ react-scripts@4.0.1
  ├─┬ terser-webpack-plugin@4.2.3
  │ └── serialize-javascript@5.0.1
  └─┬ workbox-webpack-plugin@5.1.4
    └─┬ workbox-build@5.1.4
      └─┬ rollup-plugin-terser@5.3.1
        └── serialize-javascript@4.0.0

Does anyone know why 'serialize-javascript@5.0.1' is not in the npm registry? I've tried updating react-scripts but it causes other dependency issues in my project.

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