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

Cannot find package paths in Windows #433

Open
MBoaz opened this issue Apr 11, 2023 · 0 comments
Open

Cannot find package paths in Windows #433

MBoaz opened this issue Apr 11, 2023 · 0 comments

Comments

@MBoaz
Copy link

MBoaz commented Apr 11, 2023

When attempting to use lerna to set up an environment on a windows OS pulled from a Git repository (which had been created on a Linux environment). The paths in the lerna.json are changed from a relative path to an absolute windows path

example:
the packages in lerna.json upon pulling from Git

  "packages": [
    "packages/functions",
    "packages/cdk"
  ]

after executing projen the packages in lerna.json look like this

  "packages": [
    "C:\\foo\\bar\\packages\\functions",
    "C:\\foo\\bar\\packages\\cdk"
  ]

If pushed back to the repository, this will fail to execute. Additionally tests fail to run locally because when npm projen test is executed it is finding none of the associated packages, as npx lerna list shows zero packages.

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

No branches or pull requests

1 participant