Known bugs
TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
Description: Empty files are not allowed to be displayed.
Solution: Deploy file with empty object if it’s JSON and comment if JS.
Error: Version conflict: newer version exists
Description: If the deploy function is called multiple times before the previous deployment is completed, or if the advanced configuration file is changed in the Pricefx application but not in Pricefx Code.
Solution: Avoid running the deploy function multiple times simultaneously. If the error persists, fetch the file again to ensure that there are no conflicts between file versions. This will ensure that the latest configuration is correctly synchronized between the Pricefx application and Pricefx Code.