If your project directory path conatins upper case characters the absolute path to the template file no longer matches the location.
Why toLowerCase()??
Error: Failed running template '/home/<USERNAME>/Development/typescript/yellicode/try01/resources/templates/b.js':
File '/home/<USERNAME>/development/typescript/yellicode/try01/resources/models/petstore-simple.json' not found.
REF:
|
templateInfo.modelFile = path.join(dirName, configuredModelPath).toLowerCase(); |