Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help trying to find correct NODE_PATH. #356

Open
jacobrillema opened this issue Aug 2, 2019 · 1 comment
Open

Need help trying to find correct NODE_PATH. #356

jacobrillema opened this issue Aug 2, 2019 · 1 comment

Comments

@jacobrillema
Copy link

jacobrillema commented Aug 2, 2019

I have NODE_PATH configured on Windows 10 using powershell. But I am getting this in the debug log output.

❯ $env:NODE_PATH C:\Node\.nvm\v8.16.0\node_modules

The global path you are searching is: C:\Node\.nvm\v8.16.0\node_modules [npm-check] debug set key cwd to value C:\Users\jacob\AppData\Roaming\npm\node_modules

I then see a bunch of these errors for my packages that I want to check for updates.

pkgError: Error: A package.json was not found at C:\Users\jacob\AppData\Roaming\npm\node_modules\yarn\package.json at readPackageJson (C:\Node\.nvm\v8.16.0\node_modules\npm-check\lib\in\read-package-json.js:12:21) at createPackageSummary (C:\Node\.nvm\v8.16.0\node_modules\npm-check\lib\in\create-package-summary.js:18:31) at allDependenciesIncludingMissing.map.moduleName (C:\Node\.nvm\v8.16.0\node_modules\npm-check\lib\in\index.js:38:32) at Array.map (<anonymous>) at C:\Node\.nvm\v8.16.0\node_modules\npm-check\lib\in\index.js:38:14 at Generator.next (<anonymous>) at onFulfilled (C:\Node\.nvm\v8.16.0\node_modules\npm-check\node_modules\co\index.js:65:19) at <anonymous>,

@jacobrillema
Copy link
Author

I guess there is a simple PR out there for this. @dylang can we please get this rolled out? #317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant