Comments (5)
There is no git --version
in the template, I filled it out entirely. Regardless, here is the version:
$ git --version
git version 2.25.1
from nvm.
Based on my understanding, it shouldn't be. In my Vagrantfile
I only copy over the local source code, and ignore all the other stuff that isn't needed:
# Avoid syncing unnecessary files to the VM
config.vm.synced_folder ".", "/projectfolder", type: "rsync", rsync__auto: false, rsync__exclude: [
# Ignore the Git directory
".git",
# Avoid permission errors in VMs by allowing the Docker containers
# to create their own internal versions of the database files
"backend/docker/data/*",
"backend/docker/questdb/db/*",
# Ignore testing data
"testdata/",
# Avoid copying dependencies and build artifacts to the VMs
"*node_modules*",
"*__pycache__*",
"rust/target",
# Skip Virtual Machine files
"images/*",
"*.ovf",
"*.ovf",
"*.vmdk",
"*.zip"
]
I installed git
inside the setup.sh
provisioner:
# Provisioning with a shell script
config.vm.provision "shell", name: "Initial setup", privileged: false, path: "./vagrant/setup.sh", env: {"SHELL_ARGS" => ENV["SHELL_ARGS"]}
``
Like so:
```sh
sudo -E apt-get -qq install git coreutils
# Install nvm (if not already installed)
if ! command -v nvm &> /dev/null; then
echo "Installing nvm..."
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
fi
Open to any suggestions, I'm nearing my wits' end on this one, I've been stuck on this issue for three days.
During the time I was writing that answer, I found the problem, I am just a fool. If anyone else hits this issue, check your e-BPF rules, you may be unintentionally blocking the install at the kernel level π
My apologies, have a good day.
from nvm.
I'm not familiar with "git-core/templates", but the segfault seems to be coming from git itself.
The rest of the issue template would be helpful, particularly git --version
.
from nvm.
Any chance itβs related to this? https://stackoverflow.com/a/6501915
from nvm.
Glad you figured it out!
from nvm.
Related Issues (20)
- [spam]
- Error when using the Windows version of curl HOT 1
- [spam]
- curl-install-sh: `fatal: bad object` from git clone steps HOT 6
- uninstall failed HOT 2
- Consider adding an option for retrying binary downloads before switching to source code compilation or disable fallback to source code compilation if binary cannot be downloaded HOT 4
- [spam]
- "ls-remote"οΌI'm a little confused as to how running that command didn't return the node version. HOT 11
- Unbound variable error with set -u.
- install-latest-npm does not work for node>=v14.17 HOT 1
- Potential 0.40.0 regression on Github Actions runners HOT 21
- unable to install nvm HOT 13
- [spam]
- Action Required: Fix Renovate Configuration HOT 7
- On Windows11, how to install nvm in Users profile? HOT 5
- Performance
- Version 0.40.0, command `nvm install` fails when `$NVM_DIR` path contains spaces HOT 2
- nvm installs node binary for armv7l instead of arm64 HOT 12
- Trash-put involving on nvm usage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvm.