Tim Mouskhelichvili • March 17, 2023 • 2 minutes to read
Sometimes when developing a JavaScript/TypeScript project, you might get the "type annotations can only be used in typescript files" error. But what does it mean, and how to fix it? This article explains everything about this error and shows [...]
Tim Mouskhelichvili • September 22, 2022 • 3 minutes to read
Sometimes, when developing a TypeScript project and importing a new package, you get a "cannot find module" error. Luckily, this error is easy to fix. There are many reasons why the "cannot find module" error can happen in TypeScript: [...]
Tim Mouskhelichvili • August 17, 2022 • 3 minutes to read
ESLint is a code analysis tool that helps prevent bugs and issues in your code. It works very well with React. Sometimes, however, while using the useEffect hook, you may get the "react hook useeffect has a missing dependency" [...]
Tim Mouskhelichvili • August 1, 2022 • 3 minutes to read
The TypeScript compiler is excellent at showing errors and warning when it detects something is wrong with the code. Sometimes, however, a developer may want to ignore an error on the next line AND still compile the code. Luckily [...]
Tim Mouskhelichvili • June 15, 2022 • 2 minutes to read
Sometimes, a developer may encounter the fatal: not a git repository error when running any git command. This is a very common error but is luckily easily fixable. This article will go through the causes and solutions for the [...]
Tim Mouskhelichvili • June 6, 2022 • 2 minutes to read
Sometimes, when a developer merges two projects, Git outputs the "fatal: refusing to merge unrelated histories" error. This error happens when Git tries to merge two project branches without a common base. Luckily, Git offers an easy command to [...]
Tim Mouskhelichvili • May 12, 2022 • 3 minutes to read
The git "pre-receive hook declined" error is a common error that developers can encounter while using a git hosting service like Gitlab, Github, or BitBucket. In most cases, this error happens because the developer lacks the permission to push [...]