Skip to content

Conversation

@JosefBredereck
Copy link
Contributor

While changes were made to the package resolving, some errors appeared. This should fix these errors.

Closes #1157
Closes #1247
Closes #1257

Summary of changes:
Added CWD to the installation of packages
Added an approach where packages are relative to their base like the default of require.resolve does.

@JosefBredereck
Copy link
Contributor Author

@ringods @sghoweri I did a full debug of the npx create-pattern-lab script and found out that resolve.cache has still the %USER_HOME%/appdata... paths in it. The documentation gives a hint that you can define your own lookup paths and that's what I did when we set our process variable while the init script is running.

@JosefBredereck
Copy link
Contributor Author

I merged this now since it was a critical topic. It seems to work as expected. 👍🏼

@JosefBredereck JosefBredereck deleted the feature-fix-pl-create-resolver branch January 7, 2023 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants