Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Fix: GVL file does not exist in built v2 vendor list folder #465

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

harrykingriches
Copy link

@harrykingriches harrykingriches commented Dec 17, 2024

NPM does not intentionally allow symlinks in its build process. Issue here. This causes the vendor-list.json inside v2 not to be added to the build. This can be reproduced by running npm pack inside the testing folder and inspecting the output of the contents. This was causing an error when TCModelFactory.noGVL(); and TCModelFactory.withGVL(); were called. Reported issue here.

To fix this issue, I removed the symbolic link and replaced it with a hard copy. This allows npm to include it in its builds and should fix the error mentioned above.

@harrykingriches
Copy link
Author

harrykingriches commented Dec 17, 2024

Fixes #418

@HeinzBaumann
Copy link
Collaborator

HeinzBaumann commented Dec 20, 2024

I think this is okay. We only need to update GVL in our tests when we do an update to its schema.

Copy link
Collaborator

@HeinzBaumann HeinzBaumann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve this since this is for the test scripts.

@HeinzBaumann
Copy link
Collaborator

@lamrowena Another PR we should pick up when we do a new build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants