The following error occurred when executing gitbook init:
Find the prompt path, open the polyfills.js file, and find this function
This function is called on lines 65-67
fs.stat = statFix(fs.stat) fs.fstat = statFix(fs.fstat) fs.lstat = statFix(fs.lstat)
Comment out the three lines of code to solve the problem
Because of the NPM version problem, you can refer to the following two methods to solve. However, we must pay attention to which polyfills.js has a problem, which is explained in detail in the error prompt.
1 https://blog.csdn.net/yq_ forever/article/details/112121742
- CMake_ Compiling VTK_ 9.0.0 running vtkcommoncolor DLL has access conflict
- Solving environment: failed with initial frozen solve. Retrying with flexible solve.错误
- PCL: error encountered in verride found for ‘vtkrenderwindow’ visualization.
- Error lnk1120: 2 unresolved external commands: vtkrenderingopengl_ Autoinit (construct, destroy), which is referenced in
- Solution to “An error occurred while loading the archive” appears when decompressing the rar file compressed package
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- Request processing failed；nested exception is java.lang.*
- Solution: vs currently does not hit the breakpoint and has not loaded any symbols for the document
- Android studio AAPT: error: attribute android:requestLegacyExternalStorage not found.
- An error occurred when running ROCR: Failed to load the package ‘caTools’, package or namespace load failed
- Prompt “XXX is” when debugging real machine busy:Processing symbol Files “and” Xcode will continue when XXX is finished“
- ERROR in AppModule is not an NgModule No NgModule metadata found for ‘AppModule’.
- Configuration of OpenGL under CodeBlocks and solutions to problems encountered
- MySQL server PID file could not be found!
- Solution to Spacy’s failure to load (‘de ‘) or (‘en’)
- The tutorial and difference of glew, glfw, glad and freeglut
- Cannot set up a python SDK Python 2.7. The SDK sees invalid
- Android Failure [INSTALL_ FAILED_ VERSION_ Downgrad] solutions
- ABAQUS open error: FlexNet licensing error:-97 ,121 or -96,491
- Solution of off grid pin in Ad