teachablemachine-community
teachablemachine-community copied to clipboard
Update make-version.js
This change adds a check to see if the package.json file exists before reading and parsing it. If the file does not exist, an error is thrown indicating that the file could not be found. This helps to prevent unhandled exceptions and makes the error message more informative.