Bug 1698208 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

One problem is that in yamscripts.yaml (and therefore package.json, since that part of it is generated), the mochitest targets use `$npm_package_config_mc_dir` where they should be fixing using `$npm_package_config_mc_dir`.  

Fixing that turns the mochitest problem into the same thing as the lint problem.

What might be going on there is that the variables aren't be interpolated at all.   I tried various things from https://stackoverflow.com/questions/43705195/how-can-i-use-variables-in-package-json without success. 

That said, there is an error message on the console that says `'.' is not recognized as an internal or external command, operable program, or batch file`.  The . in question might be the one at the beginning of ./mach, maybe.

Next things to try include:
* see if anything here https://www.minitool.com/news/fix-not-recognized-as-an-internal-external-command.html helps
* figure out what shell those scripts (if any?) those scripts are being executed with...
* it seems plausible that the fact we're running under msys has something to do with what's going on.  dig into that...
One problem is that in yamscripts.yaml (and therefore package.json, since that part of it is generated), the mochitest targets use `$npm_package_config_mc_dir` where they should be fixing using `$npm_package_config_mc_dir`.  

Fixing that turns the mochitest problem into the same thing as the lint problem.

What might be going on there is that the variables aren't being interpolated at all.   I tried various things from https://stackoverflow.com/questions/43705195/how-can-i-use-variables-in-package-json without success. 

That said, there is an error message on the console that says `'.' is not recognized as an internal or external command, operable program, or batch file`.  The . in question might be the one at the beginning of ./mach, maybe.

Next things to try include:
* see if anything here https://www.minitool.com/news/fix-not-recognized-as-an-internal-external-command.html helps
* figure out what shell those scripts (if any?) those scripts are being executed with...
* it seems plausible that the fact we're running under msys has something to do with what's going on.  dig into that...
One problem is that in yamscripts.yaml (and therefore package.json, since that part of it is generated), the mochitest targets use `$npm_package_config_mc_dir` where they should be fixing using `$npm_package_config_mc_root`.  

Fixing that turns the mochitest problem into the same thing as the lint problem.

What might be going on there is that the variables aren't being interpolated at all.   I tried various things from https://stackoverflow.com/questions/43705195/how-can-i-use-variables-in-package-json without success. 

That said, there is an error message on the console that says `'.' is not recognized as an internal or external command, operable program, or batch file`.  The . in question might be the one at the beginning of ./mach, maybe.

Next things to try include:
* see if anything here https://www.minitool.com/news/fix-not-recognized-as-an-internal-external-command.html helps
* figure out what shell those scripts (if any?) those scripts are being executed with...
* it seems plausible that the fact we're running under msys has something to do with what's going on.  dig into that...

Back to Bug 1698208 Comment 4