Skip to content

can't use NPM  #19023

@jeffreytanuwidjaja

Description

@jeffreytanuwidjaja

#i'm using windows 10, just install node.js latest v9.6.1 and i got this error when trying to use npm
i've tried install and uninstall node several times still got issues

C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205
if (npm.config.get('json')) {
^

TypeError: Cannot read property 'get' of undefined
at process.errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18)
at process.emit (events.js:127:13)
at process._fatalException (bootstrap_node.js:434:26)
5.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions