Skip to content
This repository was archived by the owner on Mar 4, 2022. It is now read-only.
This repository was archived by the owner on Mar 4, 2022. It is now read-only.

Nested builder command doesn't work in Windows. #165

@trusktr

Description

@trusktr

I have a package.json script like builder run builder:foo where builder:foo is a builder command which runs other builder commands, but once it gets to the second level of nested builder calls (i.e. passed the first builder run builder:foo script, then I get an error like the following from PowerShell or CMD:

PS C:\Users\trusktr\src\trusktr+infamous> npm run dev

> infamous@21.0.6 dev C:\Users\trusktr\src\trusktr+infamous
> builder run build:dev

'builder' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! infamous@21.0.6 dev: `builder run build:dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the infamous@21.0.6 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\trusktr\AppData\Roaming\npm-cache\_logs\2019-02-18T22_03_18_249Z-debug.log

I'm on builder version 3.2.3. I generally don't like to update if things are working just fine, but I'm now trying to develop from Windows for the first time, and it's not working in PowerShell or CMD.

It works fine in WSL (Ubuntu, bash.exe).

Has this since been fixed in newer versions of builder? Is it time for an upgrade so I can get my Windows mojo on?

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