sous-chefs/nodejs

npm symlink missing

Closed this issue · 6 comments

When node is installed using the binary method, it automatically creates a symlink /usr/local/bin/npm to the embedded npm.

However when using the source method to install npm, no symlink will be created and/or updated.

I'm not sure if this is caused by a change of the npm Makefile with recent versions or just an inconsistency of the cookbook.

Dreeg commented

+1

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

The tests for the source install are chancy too. Those tests should be repaired as part of fixing this issue.

Added test for /usr/local/bin/npm and /usr/local/bin/npx. Initial testing of #222 shows those files exist.

#222 shows the files are installed and available in /usr/local/bin during a source build