Closed shivam534d closed 2 years ago
This command on line:44 - npm.ts throws errors if invalid dependencies are found.
line:44 - npm.ts
npm list -g --json --depth=1
Command failed with exit code 1: npm list -g --json --depth=1 npm ERR! code ELSPROBLEMS npm ERR! invalid: cors@2.8.5 C:\Users\Shivam\AppData\Roaming\nvm\v18.4.0\node_modules\live-server\node_modules\cors npm ERR! invalid: object-assign@4.1.1 C:\Users\Shivam\AppData\Roaming\nvm\v18.4.0\node_modules\live-server\node_modules\object-assign npm ERR! invalid: opn@6.0.0 C:\Users\Shivam\AppData\Roaming\nvm\v18.4.0\node_modules\live-server\node_modules\opn npm ERR! invalid: proxy-middleware@0.15.0 C:\Users\Shivam\AppData\Roaming\nvm\v18.4.0\node_modules\live-server\node_modules\proxy-middleware npm ERR! invalid: send@0.18.0 C:\Users\Shivam\AppData\Roaming\nvm\v18.4.0\node_modules\live-server\node_modules\send npm ERR! missing: react-dom@>=16.8, required by react-router-dom@6.3.0 npm ERR! missing: react@>=16.8, required by react-router-dom@6.3.0
npm list -g --json --depth 0
This depth will return packages installed while also avoiding those error thrown in the json.
Hope to get a new release soon with the changes, So that I can finally enable the Extension and start using it.
LGTM! I will reformat it later.
done. a new version has been published
Problem
This command on
line:44 - npm.ts
throws errors if invalid dependencies are found.Empty NPM List
Error
Solution
This depth will return packages installed while also avoiding those error thrown in the json.
After Solution