Open cherniavskii opened 2 years ago
They implemented tarball dependency support a couple months ago https://stackblitz.com/edit/vitejs-vite-zfaynu?file=package.json
git support wasn't possible until their git-js CORS proxy was implemented in codeflow
Hey 👋 Thanks for the report. turbo
(our in-house package manager) currently doesn't support git dependencies. You could try to use yarn
or pnpm
instead which both support this type of dependency. However, for npm
we are currently working on native support which will likely resolve this issue.
Hi @d3lm
We are actually using yarn
.
Please try this:
yarn install --verbose
the installation process hangs, here are the logs:
~/mui/mui-x master 1s
❯ yarn install --verbose
yarn install v1.22.19
verbose 6.465 Checking for configuration file "/home/mui/mui-x/.npmrc".
verbose 6.465 Checking for configuration file "/home/.npmrc".
verbose 6.465 Found configuration file "/home/.npmrc".
verbose 6.465 Checking for configuration file "/usr/local/etc/npmrc".
verbose 6.465 Checking for configuration file "/home/mui/mui-x/.npmrc".
verbose 6.465 Checking for configuration file "/home/mui/.npmrc".
verbose 6.465 Checking for configuration file "/home/.npmrc".
verbose 6.465 Found configuration file "/home/.npmrc".
verbose 6.466 Checking for configuration file "/home/mui/mui-x/.yarnrc".
verbose 6.466 Found configuration file "/home/mui/mui-x/.yarnrc".
verbose 6.466 Checking for configuration file "/home/.yarnrc".
verbose 6.466 Checking for configuration file "/usr/local/etc/yarnrc".
verbose 6.466 Checking for configuration file "/home/mui/mui-x/.yarnrc".
verbose 6.466 Found configuration file "/home/mui/mui-x/.yarnrc".
verbose 6.467 Checking for configuration file "/home/mui/.yarnrc".
verbose 6.467 Checking for configuration file "/home/.yarnrc".
verbose 6.468 current time: 2023-03-20T20:17:52.140Z
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
verbose 6.772 Performing "GET" request to "https://t.staticblitz.com/w/v13/polyfills".
verbose 7.991 Request "https://t.staticblitz.com/w/v13/polyfills" finished with status code 200.
[#############################################################################################################################################################################################################] 1911/1911
It just stays like this and nothing happens.
Describe the bug
In MUI X repository we have a Git URL dependency: https://github.com/mui/mui-x/blob/next/package.json#L85
This makes dependency installation process fail:
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/mui/mui-x
Steps to reproduce
yarn install --verbose
Expected behavior
Git URL dependencies are supported
Parity with Local
Screenshots
No response
Platform
Additional context
No response