---
title: "Discussion on \"Fix for:  npm ERR! cb.apply is not a function error\" | Hashnode"
description: "Discussion on \"Fix for:  npm ERR! cb.apply is not a function error\". When running the npm install command, you may see an error that says “cb.apply is not a function”. This error happens when npm tries to execute the graceful-fs package in the installation process.\nTo resolve this issue, you need to update npm to v6.1..."
url: "https://hashnode.com/posts/fix-for-npm-err-cbapply-is-not-a-function-error/63e9e9a2a9be938a498ab514"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Fix for: npm ERR! cb.apply is not a function error](https://hecticprogramer.hashnode.dev/fix-for-npm-err-cbapply-is-not-a-function-error?utm_source=hashnode&utm_medium=feed)

When running the npm install command, you may see an error that says “cb.apply is not a function”. This error happens when npm tries to execute the graceful-fs package in the installation process. To resolve this issue, you need to update npm to v6.1...

Feb 13, 2023 · 1 min read · hecticprogramer.hashnode.dev  
Read the article

-   [#hiteshchaudhary](https://hashnode.com/tag/hiteshchaudhary)
-   [#hiteshchoudharylco](https://hashnode.com/tag/hiteshchoudharylco)
-   [#ineuron](https://hashnode.com/tag/ineuron)
-   [#react-native](https://hashnode.com/tag/react-native)

## Written by

[Aniket Sharma](https://hashnode.com/@HecticProgrammer)

@HecticProgrammer · Uttar Pradesh, India

  
[View profile](https://hashnode.com/@HecticProgrammer)

Technocrat, Coder, Developer, Music, Photography.

I'm an Engineering Student from Dr APJ Abdul Kalam Technical University | 3rd year, CSE | Android Dev(Kotlin/Java) | MERN stack | Figma | Canva

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
