Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
DevSpace install loop with 4.12.2 #1089
Comments
|
But still, running |
|
Good to know, thanks Lukas. I usually prefer local installs to ensure that all team members have the same baseline and only need to install the project dependencies. I can understand why you prefer having the huge binaries global though ;-) I think I added npx at some point to ensure that the project-local version was used. If I'm not mistaken, the behavior of npx is that, if executed within a project's folder and if the target is in node_modules, then that version is used; otherwise it is downloaded/cached globally then executed. In my case, npx is only used within some npm scripts. |
|
Ah okay, I didn't know npx would use local packages if they are available. If that's the case, then using npx is actually not bad in combination with what I just pushed. What I changed is that the binary would be installed into the local folder, so npx would use the locally downloaded binary and not download it again. That would actually sound like it gets the advantages you want (local dependency, versioning in package.json) + no unnecessary downloads. |
|
Should 4.12.5 fix this issue? |
|
With 4.12.5, it should be possible to run |
What happened?
After updating my project's dependency from 4.10.0 to 4.12.2, starting devspace sync causes an "install loop". I've tried removing the globally installed DevSpace package, removing/reinstalling my project dependencies, etc but I can't work around the issue.
What did you expect to happen instead?
DevSpace sync starting as usual
How can we reproduce the bug? (as minimally and precisely as possible)
Install 4.12.2 as a project dependency (not global). Configure and start devspace sync
Local Environment:
Kubernetes Cluster:
Anything else we need to know?
Here's how I start devspace:
> npx devspace dev sync --namespace didowi-devAnd here's the console output:
/kind bug