TypeError : out.writeUint32LE is not a function Error During Gulp Command- New update by Netsuite

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:

  1. In the root directory of SCA using the command prompt window, go to
    ./node_modules/xml2js
  2. Open the package.json file.
     
  3. In the “dependencies” section, find the following code:
    “xmlbuilder”: “>=1.0.0”
     
  4. And replace it with the following code:
    “xmlbuilder”: “11.0.0”
     
  5. Run the following command inside the xml2js folder:
    npm install
     
  6. In the root directory of SCA using the command prompt window, go to
    ./node_modules/gulp-ttf2eot
     
  7. Open the package.json file.
     
  8. In the “dependencies” section, find the following code:
    “ttf2eot”: “latest”
     
  9. And replace it with the following code:
    “ttf2eot”: “2.0.0”
     
  10. Run the following command inside the gulp-ttf2eot folder:
    npm install
     
  11. In the root directory of SCA using the command prompt window, go to
    ./node_modules/gulp-ttf2woff
     
  12. Open the package.json file.
     
  13. In the “dependencies” section, find the following code:
    “ttf2woff”: “latest”
     
  14. And replace it with the following code:
    “ttf2woff”: “2.0.2”
     
  15. Run the following command inside the ttf2woff folder:
    npm install

Leave a comment

Your email address will not be published. Required fields are marked *