Opened 3 years ago

Closed 13 months ago

#5937 closed defect (rejected)

Tests in buildtools on Windows

Reported by: oleksandr Assignee:
Priority: Unknown Milestone:
Module: Automation Keywords:
Cc: kvas, tlucas, erikvold Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):



Windows 10, Fall Creators Update

How to reproduce

  1. Run 'tox' in buildtools directory


Observed behaviour

There are a lot of messages and erorrs, starting from:

Error: Failed to replace env in config: ${APPDATA}
    at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:418:13
    at RegExp.[Symbol.replace] (native)
    at String.replace (native)
    at envReplace (C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:414:12)
    at parseField (C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:392:7)
    at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:335:17
    at Array.forEach (native)
    at Conf.add (C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:334:23)
    at ConfigChain.addString (C:\Program Files\nodejs\node_modules\npm\node_modules\config-chain\index.js:244:8)
    at Conf.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:322:10)

TypeError: Cannot read property 'get' of undefined
    at writeLogFile (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:32)
    at exit (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:96:5)
    at errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:194:3)
    at C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js:76:20
    at cb (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:195:22)
    at C:\Program Files\nodejs\node_modules\npm\lib\npm.js:233:24
    at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:81:7
    at Array.forEach (native)
    at Conf.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:80:13)
    at Conf.f (C:\Program Files\nodejs\node_modules\npm\node_modules\once\once.js:25:25)

Expected behaviour

Replace this text with your detailed expectations.

Change History (2)

comment:1 Changed 23 months ago by erikvold

  • Cc erikvold added

I think we are trying to deprecate the buildtools, so maybe we can avoid working on this.

comment:2 Changed 13 months ago by sebastian

  • Resolution set to rejected
  • Status changed from new to closed


Note: See TracTickets for help on using tickets.