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

342
Views
'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
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!