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

202
Views
TypeScript broke JavaScript

I was install TypeScript globally through npm, but when I ran Javascript project (Next JS) it get broken from TypeScript

here is the error when I was trying to run npm i for JavaScript project

error when run npm i

anyone can help how to solve it?

Update: package.json

{
  "name": "react-project",
  "version": "0.1.0",
  "private": true,
  "browserslist": [
    "defaults"
  ],
  "scripts": {
    "dev": "next",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@loadable/component": "^5.14.1",
    "@material-ui/core": "^4.11.4",
    "bootstrap": "^4.4.1",
    "dotenv": "^8.2.0",
    "locomotive-scroll": "^4.1.1",
    "moment": "^2.29.1",
    "moment-timezone": "^0.5.33",
    "nanoid": "^3.1.22",
    "next": "^11.1.4",
    "next-images": "^1.8.1",
    "query-string": "^7.0.0",
    "react": "17.0.2",
    "react-bootstrap": "^1.5.2",
    "react-dom": "17.0.2",
    "react-helmet": "^6.1.0",
    "sass": "^1.53.0",
    "slick-carousel": "^1.8.1",
    "styled-components": "^5.2.3",
    "typescript": "^4.2.4",
    "video.js": "^7.12.1",
    "yup": "^0.32.9",
    "zustand": "^4.0.0-rc.1"
  },
  "devDependencies": {
    "eslint": "8.0.0",
    "eslint-config-next": "11.1.2"
  }
}
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!