You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System and version: MacOS Sonoma v14.1.1
Bug Summary
Describe the bug: When trying to run the bash ./build/typescript-model/generate.sh command from the CONTRIBUTING.md docs I am faced with the following console output:
To Reproduce: Run bash ./build/typescript-model/generate.sh from the root directory of your local devfile/api repo.
Expected behavior
The TypeScript model should be built as a result of running the command.
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Additional context
Any workaround?
After doing research myself I think the issue may be related to the functionality of readLink on MacOS as I don't believe the -m flag is valid on MacOS. This comment explains more about a potential workaround but more research and testing would need to be done.
Extra Notes
Must ensure that the fix does not alter the way the script runs on other platforms other than MacOS.
The text was updated successfully, but these errors were encountered:
@Jdubrick We should re-title this to "Issues with MacOS in Building Typescript Model for devfile/api".
Jdubrick
changed the title
Issues Building Typescript Model for devfile/api
Issues with MacOS in Building Typescript Model for devfile/api
Dec 13, 2023
Which area this feature is related to?
/kind bug
/area api
What versions of software are you using?
Operating System and version: MacOS Sonoma v14.1.1
Bug Summary
Describe the bug: When trying to run the
bash ./build/typescript-model/generate.sh
command from theCONTRIBUTING.md
docs I am faced with the following console output:To Reproduce: Run
bash ./build/typescript-model/generate.sh
from the root directory of your local devfile/api repo.Expected behavior
The TypeScript model should be built as a result of running the command.
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Additional context
Any workaround?
After doing research myself I think the issue may be related to the functionality of
readLink
on MacOS as I don't believe the-m
flag is valid on MacOS. This comment explains more about a potential workaround but more research and testing would need to be done.Extra Notes
Must ensure that the fix does not alter the way the script runs on other platforms other than MacOS.
The text was updated successfully, but these errors were encountered: