nixin72 / shan

A declarative wrapper around your favourite system-wide package manager
MIT License
8 stars 0 forks source link

[BUG] - Says NPM package is installed already when it isn't #16

Open nixin72 opened 2 years ago

nixin72 commented 2 years ago

Describe the bug Tried installing react-native-cli and expo-cli on a new machine and it said they were already installed.

To Reproduce Steps to reproduce the behavior:

  1. npm uninstall --global react-native-cli
  2. shan install -npm react-native-cli

Expected behavior It should recognize that they aren't installed and install them

Error message

[10:18:59] Installing npm packages:
[10:18:59] Your NODE_PATH is not set.
Not having $NODE_PATH set may cause shan to reinstall NPM packages.

[10:19:00] react-native-cli is already installed
[10:19:00] Your NODE_PATH is not set.
Not having $NODE_PATH set may cause shan to reinstall NPM packages.

[10:19:00] expo-cli is already installed

Platform (please complete the following information):