We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66d2f96 commit b9ac02eCopy full SHA for b9ac02e
misc/tools.func
@@ -64,17 +64,6 @@ function setup_nodejs() {
64
fi
65
66
67
- if ! apt-cache policy nodejs | grep -q 'Candidate:'; then
68
- msg_error "Node.js package not found – repository might be broken or too fresh"
69
- apt-cache policy nodejs >&2
70
- exit 1
71
- fi
72
-
73
- if ! apt-get install -y nodejs >/dev/null 2>&1; then
74
- msg_error "Failed to install Node.js ${NODE_VERSION} from NodeSource"
75
76
77
78
if ! apt-get install -y nodejs >/dev/null 2>&1; then
79
msg_error "Failed to install Node.js ${NODE_VERSION} from NodeSource"
80
exit 1
0 commit comments