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

fix nodejs enabling corepack #155

Merged
merged 16 commits into from
Jan 22, 2024
Merged

Conversation

sensuikan1973
Copy link
Owner

No description provided.

@sensuikan1973 sensuikan1973 enabled auto-merge (squash) January 21, 2024 23:51
@sensuikan1973
Copy link
Owner Author

==> Installing cocoapods
==> Pouring cocoapods--1.14.3_1.monterey.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/pod
Target /usr/local/bin/pod
already exists. You may want to remove it:
  rm '/usr/local/bin/pod'

To force the link and overwrite all conflicting files:
  brew link --overwrite cocoapods

To list all files that would be deleted:
  brew link --overwrite --dry-run cocoapods

Possible conflicting files are:
/usr/local/bin/pod -> /usr/local/lib/ruby/gems/3.0.0/bin/pod
==> Summary
🍺  /usr/local/Cellar/cocoapods/1.14.3_1: 13,792 files, 28.8MB
Installing cocoapods has failed!
Installing p7zip
Installing iterm2
Installing visual-studio-code
Installing docker
Installing google-chrome
Installing google-cloud-sdk
Installing flutter
Tapping dart-lang/dart
Homebrew Bundle failed! 2 Brewfile dependencies failed to install.

@sensuikan1973
Copy link
Owner Author

sensuikan1973 commented Jan 22, 2024

==> Fetching llvm
==> Downloading https://ghcr.io/v2/homebrew/core/llvm/blobs/sha256:aef31037b4e148180198c29d1df0e2a9a70ea519b08d4705ba9c076d2000ede7
==> Installing dependencies for llvm: mpdecimal, sqlite, xz, [email protected], z3, lz4 and zstd
==> Installing llvm dependency: mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0-1
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/7b63c3b34bee402290af49fac829a6682ab45ea5c9258b6fe03b590a03a4c4a9--mpdecimal-4.0.0-1.bottle_manifest.json
==> Pouring mpdecimal--4.0.0.monterey.bottle.1.tar.gz
🍺  /usr/local/Cellar/mpdecimal/4.0.0: 21 files, 600.9KB
==> Installing llvm dependency: sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.45.0
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/a0488fc5a9795f7ac74c78470de36943176530fe3d40a3b1509a59f37d517648--sqlite-3.45.0.bottle_manifest.json
==> Pouring sqlite--3.45.0.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/sqlite/3.45.0: 11 files, 4.8MB
==> Installing llvm dependency: xz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.4.5
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/4e81fda476fb634a7e1ac650019bfe768a65d6c387015992df4cd75adf9b3fce--xz-5.4.5.bottle_manifest.json
==> Pouring xz--5.4.5.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/xz/5.4.5: 163 files, 2.6MB
==> Installing llvm dependency: [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.1_1
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/873ca0611888231c4efc2640b01a3d1db221765a1e4af903b95cfa72f4b42e90--python@3.12-3.12.1_1.bottle_manifest.json
==> Pouring [email protected]_1.monterey.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3-3.12
Target /usr/local/bin/2to3-3.12
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3-3.12'

To force the link and overwrite all conflicting files:
  brew link --overwrite [email protected]

To list all files that would be deleted:
  brew link --overwrite --dry-run [email protected]

Possible conflicting files are:
/usr/local/bin/2to3-3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/2to3-3.12
/usr/local/bin/idle3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/idle3.12
/usr/local/bin/pydoc3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3.12
/usr/local/bin/python3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/usr/local/bin/python3.12-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-config
==> /usr/local/Cellar/[email protected]/3.12.1_1/bin/python3.12 -Im ensurepip
==> /usr/local/Cellar/[email protected]/3.12.1_1/bin/python3.12 -Im pip install -v --n
==> Summary
🍺  /usr/local/Cellar/[email protected]/3.12.1_1: 3,223 files, 63.7MB
==> Installing llvm dependency: z3
==> Downloading https://ghcr.io/v2/homebrew/core/z3/manifests/4.12.4
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/c1b2d802548fa65fcdf4e55294c7a6aa470dbaf7b7228933fba53d563085f6fc--z3-4.12.4.bottle_manifest.json
==> Pouring z3--4.12.4.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/z3/4.12.4: 118 files, 32MB
==> Installing llvm dependency: lz4
==> Downloading https://ghcr.io/v2/homebrew/core/lz4/manifests/1.9.4
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/379e59b981667f9585b33a2ff318769d8edca3ce6fd2e9a67ed291ae3e0cc872--lz4-1.9.4.bottle_manifest.json
==> Pouring lz4--1.9.4.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/lz4/1.9.4: 22 files, 685.2KB
==> Installing llvm dependency: zstd
==> Downloading https://ghcr.io/v2/homebrew/core/zstd/manifests/1.5.5-1
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/fc13698599720a53800064b40cddd854399651cf8760d9b0e46092f2e8da701a--zstd-1.5.5-1.bottle_manifest.json
==> Pouring zstd--1.5.5.monterey.bottle.1.tar.gz
🍺  /usr/local/Cellar/zstd/1.5.5: 31 files, 2.5MB
==> Installing llvm
==> Pouring llvm--17.0.6_1.monterey.bottle.tar.gz
==> Caveats
To use the bundled libc++ please add the following LDFLAGS:
  LDFLAGS="-L/usr/local/opt/llvm/lib/c++ -Wl,-rpath,/usr/local/opt/llvm/lib/c++"

llvm is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have llvm first in your PATH, run:
  echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile

For compilers to find llvm you may need to set:
  export LDFLAGS="-L/usr/local/opt/llvm/lib"
  export CPPFLAGS="-I/usr/local/opt/llvm/include"
==> Summary
🍺  /usr/local/Cellar/llvm/17.0.6_1: 7,207 files, 1.7GB
==> Caveats
==> llvm
To use the bundled libc++ please add the following LDFLAGS:
  LDFLAGS="-L/usr/local/opt/llvm/lib/c++ -Wl,-rpath,/usr/local/opt/llvm/lib/c++"

llvm is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have llvm first in your PATH, run:
  echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile

For compilers to find llvm you may need to set:
  export LDFLAGS="-L/usr/local/opt/llvm/lib"
  export CPPFLAGS="-I/usr/local/opt/llvm/include"
Installing llvm has failed!

@sensuikan1973
Copy link
Owner Author

==> Installing llvm dependency: [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.1_1
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/873ca0611888231c4efc2640b01a3d1db221765a1e4af903b95cfa72f4b42e90--python@3.12-3.12.1_1.bottle_manifest.json
==> Pouring [email protected]_1.monterey.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/idle3.12
Target /usr/local/bin/idle3.12
already exists. You may want to remove it:
  rm '/usr/local/bin/idle3.12'

To force the link and overwrite all conflicting files:
  brew link --overwrite [email protected]

To list all files that would be deleted:
  brew link --overwrite --dry-run [email protected]

Possible conflicting files are:
/usr/local/bin/idle3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/idle3.12
/usr/local/bin/pydoc3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3.12
/usr/local/bin/python3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/usr/local/bin/python3.12-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-config
==> /usr/local/Cellar/[email protected]/3.12.1_1/bin/python3.12 -Im ensurepip
==> /usr/local/Cellar/[email protected]/3.12.1_1/bin/python3.12 -Im pip install -v --n
==> Summary
🍺  /usr/local/Cellar/[email protected]/3.12.1_1: 3,223 files, 63.7MB
==> Installing llvm dependency: z3
==> Downloading https://ghcr.io/v2/homebrew/core/z3/manifests/4.12.4
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/c1b2d802548fa65fcdf4e55294c7a6aa470dbaf7b7228933fba53d563085f6fc--z3-4.12.4.bottle_manifest.json
==> Pouring z3--4.12.4.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/z3/4.12.4: 118 files, 32MB
==> Installing llvm dependency: lz4
==> Downloading https://ghcr.io/v2/homebrew/core/lz4/manifests/1.9.4
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/379e59b981667f9585b33a2ff318769d8edca3ce6fd2e9a67ed291ae3e0cc872--lz4-1.9.4.bottle_manifest.json
==> Pouring lz4--1.9.4.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/lz4/1.9.4: 22 files, 685.2KB
==> Installing llvm dependency: zstd
==> Downloading https://ghcr.io/v2/homebrew/core/zstd/manifests/1.5.5-1
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/fc13698599720a53800064b40cddd854399651cf8760d9b0e46092f2e8da701a--zstd-1.5.5-1.bottle_manifest.json
==> Pouring zstd--1.5.5.monterey.bottle.1.tar.gz
🍺  /usr/local/Cellar/zstd/1.5.5: 31 files, 2.5MB
==> Installing llvm
==> Pouring llvm--17.0.6_1.monterey.bottle.tar.gz
==> Caveats
To use the bundled libc++ please add the following LDFLAGS:
  LDFLAGS="-L/usr/local/opt/llvm/lib/c++ -Wl,-rpath,/usr/local/opt/llvm/lib/c++"

llvm is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have llvm first in your PATH, run:
  echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile

For compilers to find llvm you may need to set:
  export LDFLAGS="-L/usr/local/opt/llvm/lib"
  export CPPFLAGS="-I/usr/local/opt/llvm/include"
==> Summary
🍺  /usr/local/Cellar/llvm/17.0.6_1: 7,207 files, 1.7GB
==> Caveats
==> llvm
To use the bundled libc++ please add the following LDFLAGS:
  LDFLAGS="-L/usr/local/opt/llvm/lib/c++ -Wl,-rpath,/usr/local/opt/llvm/lib/c++"

llvm is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have llvm first in your PATH, run:
  echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile

For compilers to find llvm you may need to set:
  export LDFLAGS="-L/usr/local/opt/llvm/lib"
  export CPPFLAGS="-I/usr/local/opt/llvm/include"
Installing llvm has failed!
Installing cocoapods
Installing p7zip
Installing iterm2
Installing visual-studio-code
Installing docker
Installing google-chrome
Installing google-cloud-sdk
Installing flutter
Tapping dart-lang/dart
Homebrew Bundle failed! 1 Brewfile dependency failed to install.

@sensuikan1973
Copy link
Owner Author

==> Installing llvm dependency: [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.1_1
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/873ca0611888231c4efc2640b01a3d1db221765a1e4af903b95cfa72f4b42e90--python@3.12-3.12.1_1.bottle_manifest.json
==> Pouring [email protected]_1.monterey.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/pydoc3.12
Target /usr/local/bin/pydoc3.12
already exists. You may want to remove it:
  rm '/usr/local/bin/pydoc3.12'
To force the link and overwrite all conflicting files:
  brew link --overwrite [email protected]
To list all files that would be deleted:
  brew link --overwrite --dry-run [email protected]
Possible conflicting files are:
/usr/local/bin/pydoc3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3.12
/usr/local/bin/python3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/usr/local/bin/python3.12-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-config
==> /usr/local/Cellar/[email protected]/3.12.1_1/bin/python3.12 -Im ensurepip
==> /usr/local/Cellar/[email protected]/3.12.1_1/bin/python3.12 -Im pip install -v --n
==> Summary
🍺  /usr/local/Cellar/[email protected]/3.12.1_1: 3,223 files, 63.7MB
==> Installing llvm dependency: z3
==> Downloading https://ghcr.io/v2/homebrew/core/z3/manifests/4.12.4
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/c1b2d802548fa65fcdf4e55294c7a6aa470dbaf7b7228933fba53d563085f6fc--z3-4.12.4.bottle_manifest.json
==> Pouring z3--4.12.4.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/z3/4.12.4: 118 files, 32MB
==> Installing llvm dependency: lz4
==> Downloading https://ghcr.io/v2/homebrew/core/lz4/manifests/1.9.4
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/379e59b981667f9585b33a2ff318769d8edca3ce6fd2e9a67ed291ae3e0cc872--lz4-1.9.4.bottle_manifest.json
==> Pouring lz4--1.9.4.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/lz4/1.9.4: 22 files, 685.2KB
==> Installing llvm dependency: zstd
==> Downloading https://ghcr.io/v2/homebrew/core/zstd/manifests/1.5.5-1
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/fc13698599720a53800064b40cddd854399651cf8760d9b0e46092f2e8da701a--zstd-1.5.5-1.bottle_manifest.json
==> Pouring zstd--1.5.5.monterey.bottle.1.tar.gz
🍺  /usr/local/Cellar/zstd/1.5.5: 31 files, 2.5MB
==> Installing llvm
==> Pouring llvm--17.0.6_1.monterey.bottle.tar.gz
==> Caveats
To use the bundled libc++ please add the following LDFLAGS:
  LDFLAGS="-L/usr/local/opt/llvm/lib/c++ -Wl,-rpath,/usr/local/opt/llvm/lib/c++"
llvm is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have llvm first in your PATH, run:
  echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile
For compilers to find llvm you may need to set:
  export LDFLAGS="-L/usr/local/opt/llvm/lib"
  export CPPFLAGS="-I/usr/local/opt/llvm/include"
==> Summary
🍺  /usr/local/Cellar/llvm/17.0.6_1: 7,207 files, 1.7GB
==> Caveats
==> llvm
To use the bundled libc++ please add the following LDFLAGS:
  LDFLAGS="-L/usr/local/opt/llvm/lib/c++ -Wl,-rpath,/usr/local/opt/llvm/lib/c++"
llvm is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have llvm first in your PATH, run:
  echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile
For compilers to find llvm you may need to set:
  export LDFLAGS="-L/usr/local/opt/llvm/lib"
  export CPPFLAGS="-I/usr/local/opt/llvm/include"
Installing llvm has failed!

@sensuikan1973
Copy link
Owner Author

==> Installing cocoapods
==> Pouring cocoapods--1.14.3_1.monterey.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/pod
Target /usr/local/bin/pod
already exists. You may want to remove it:
  rm '/usr/local/bin/pod'

To force the link and overwrite all conflicting files:
  brew link --overwrite cocoapods

To list all files that would be deleted:
  brew link --overwrite --dry-run cocoapods

Possible conflicting files are:
/usr/local/bin/pod -> /usr/local/lib/ruby/gems/3.0.0/bin/pod
==> Summary
🍺  /usr/local/Cellar/cocoapods/1.14.3_1: 13,792 files, 28.8MB
Installing cocoapods has failed!
Installing p7zip
Installing iterm2
Installing visual-studio-code
Installing docker
Installing google-chrome
Installing google-cloud-sdk
Installing flutter
Tapping dart-lang/dart
Homebrew Bundle failed! 1 Brewfile dependency failed to install.

@sensuikan1973
Copy link
Owner Author

+nodenv:9> eval $'NODENV_VERSION_OLD="$NODENV_VERSION"\nexport NODENV_VERSION="21.6.0"'
(eval):1: NODENV_VERSION: parameter not set

@sensuikan1973
Copy link
Owner Author

++++ nodenv sh-shell --unset
+++ eval 'NODENV_VERSION_OLD="$NODENV_VERSION"
unset NODENV_VERSION'
/Users/runner/dotfiles/nodejs/setup.sh: line 14: NODENV_VERSION: unbound variable
Error: Process completed with exit code 1.

@sensuikan1973
Copy link
Owner Author

@sensuikan1973 sensuikan1973 merged commit 11ac597 into main Jan 22, 2024
6 checks passed
@sensuikan1973 sensuikan1973 deleted the fix_enableing_nodejs_corepack branch January 22, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant