Skip to content

Need help trying to find correct NODE_PATH. #356

@jacobrillema

Description

@jacobrillema

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>,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions