If getting error like “TypeError : out.writeUint32LE is not a function” during gulp deploy, then first try the methods given in the below “https://jobinandjismi.in/typeerror-out-writeuint32le-is-not-a-function/”, if it is not working then follow the below methods.
To correct this error, complete the following steps before running gulp commands:
- In the root directory of SCA using the command prompt window, go to
./node_modules/xml2js - Open the package.json file.
- In the “dependencies” section, find the following code:
“xmlbuilder”: “>=1.0.0”
- And replace it with the following code:
“xmlbuilder”: “11.0.0”
- Run the following command inside the xml2js folder:
npm install
- In the root directory of SCA using the command prompt window, go to
./node_modules/gulp-ttf2eot
- Open the package.json file.
- In the “dependencies” section, find the following code:
“ttf2eot”: “latest”
- And replace it with the following code:
“ttf2eot”: “2.0.0”
- Run the following command inside the gulp-ttf2eot folder:
npm install
- In the root directory of SCA using the command prompt window, go to
./node_modules/gulp-ttf2woff
- Open the package.json file.
- In the “dependencies” section, find the following code:
“ttf2woff”: “latest”
- And replace it with the following code:
“ttf2woff”: “2.0.2”
- Run the following command inside the ttf2woff folder:
npm install