html52.com
我爱小程序-开发者交流社区

安装好工具后,新建小程序提示参数错误。这是什么情况?

微信web开发者工具\code\package.nw\node_modules.wxvpkg\npm-conf\index.js:4:18)[] The "path" argument must be of type string. Received type undefined

[] The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined

    at validateString (internal/validators.js:107:11)

    at Object.resolve (path.js:136:9)

    at Object.<anonymous> (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\node_modules.wxvpkg\npm-conf\lib\defaults.js:31:21)

    at Module._compile (internal/modules/cjs/loader.js:801:30)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:818:10)

    at Module.load (internal/modules/cjs/loader.js:668:32)

    at Function.Module._load (internal/modules/cjs/loader.js:581:12)

    at Module.require (internal/modules/cjs/loader.js:708:19)

    at require (internal/modules/cjs/helpers.js:16:16)

    at Object.<anonymous> (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\node_modules.wxvpkg\npm-conf\index.js:4:18)

网友回复

社区技术运营专员-阳光:

你好,哪个版本的工具呢,新建demo就有这个错吗

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付