如何升级npm版本?

时间:2019-09-18 10:08:04

标签: node.js npm-install

我想升级npm的版本,同时使用注释来安装最新版本,但都显示错误 [enter image description here 1

1 个答案:

答案 0 :(得分:0)

只需运行:

Public gloInputVariable as Variant

Sub procedureWithoutInputparameters

    'Do something in this procedure
     inputVariable = "something"

    'force code execution
        'workaround with global variable instead of inputparameter (macros don't have input parameters)
        gloInputVariable = "something"
        'start the next procedure as a macro (basicaly a procedure without input paramters)
        Application.OnTime Now + TimeSerial(0, 0, 1), "WorkaroundMacroInsteadOfProcedureWithInputParameters"

    End Sub

Sub WorkaroundMacroInsteadOfProcedureWithInputParameters()
    'get the input parameter through a global variable
    variable1 = gloInputVariable
    'do something
    End Sub

使用npm升级npm:D