devcontainers / devcontainers/features

[node] nvm_install_snippet 'source' should probably be '.'

Open
#565 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.5k
Forks
621
Avg merge
2d 11h
Merged PRs (30d)
4

Description

This line below, produces a `sh: 6: source: not found` error in `/bin/sh`, in contrast to the `.` commands in `nvm_rc_snippet` which work in `/bin/sh` as well as `/bin/bash`:

https://github.com/devcontainers/features/blob/852f1f0567280b465913b487d5f8c773122c36ab/src/node/install.sh#L122

There's a discussion around this error in #440.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.