Typeerror occurred during gitbook installation: cb.apply is not a function
Such as the title. An error is reported during the installation of gitbook, as shown in the figure below<
solution:
find the file
C: users: Your Name: appdata: roaming: NPM: node_ modules\gitbook-cli\node_ modules\npm\node_ In the following location:
the
fs.stat = statFix(fs.stat)
fs.fstat = statFix(fs.fstat)
fs.lstat = statFix(fs.lstat)
Three lines of code can be commented out.
finish
Read More:
- Typeerror in gitbook init: cb.apply is not a function solution
- NPM install error cb.apply is not a function
- TypeError: connection.connect is not a function
- JS error – typeerror: XXX is not a function
- [Solved] Error handling response: TypeError: self.processResponse is not a function
- [react+antd] Table Error: Unhandled Rejection (TypeError): data.slice is not a function
- TypeError: this.getOptions is not a function at Object.lessLoader
- Using webpack to report typeerror: this.getresolve is not a function
- Authentication error occurred on remote connection, the required function is not supported
- Python error prompt: typeerror: ‘builtin’_ function_ or_ method‘ object is not subscriptable
- Common error: uncaught typeerror: document.getElementsByClassName (…).addEventListener is not a function
- [Solved] jQuery Error: Uncaught TypeError: this.attr is not a function
- TypeError: this.getOptions is not a function
- Webpack error module build failed: typeerror: fileSystem.statSync is not a function
- Vue — report error with less module build failed: typeerror: loaderContext.getResolve is not a function
- Front end project runtime prompts syntax error: typeerror: token.type.endswith is not a function solution
- Syntax error: typeerror: this.getoptions is not a function an error is reported when the. SCSS file is imported globally
- Uncaught (in promise) TypeError: Object(…) is not a function
- Vue Error in v-on handler: “TypeError: path.indexOf is not a function“
- Vue error in mounted hook: “typeerror: object (…) is not a function“