Tools: Console output error breaks build on Windows 10

Created on 2 Apr 2020  ยท  8Comments  ยท  Source: rome/tools

Description:

Running build-release on Win 10 Pro, PowerShell 7, Node 12.13.0 throws an error and stops the build

unknown parse/stringMarkup
โœ– Unclosed blue tag

screen shot

Steps To Reproduce:

Using these instructions:

  1. clone rome
  2. run build-release
  3. get console output seen above

Expected Results

build-release to finish successfully

Seems to be an issue with the library that formats and prints to the console during build. Specifically the square brackets _inside_ the <blue> tag.

Let me know if I can provide more detail or try something different to solve.

confirmed

All 8 comments

Hey @tbeseda could you check if https://github.com/facebookexperimental/rome/pull/242 would fix your issue?

@Lagily It does progress further in the build, but I get this error

โœ– Expected to close pad but found brightBlack
<brightBlack><pad count="7" dir="right">--quiet</brightBlack>  no description found

image

Can you try again @tbeseda?

@Lagily I'm able to build and install Rome. Some of the console output is a bit off, but I think that would be a different issue/scope:

image

I see, looks like I broke something with the backslash escaping, I'll have a look

the pull request should now also not break the output in your console

 node ./scripts/build-release ./dist
 Building trunk
โ„น Bundling packages/@romejs/cli/bin/rome.ts
โœ” Saved to ~/AppData/Local/Temp/rome-dev
 Executing trunk
โš  Disk caching has been disabled due to the ROME_CACHE=0 environment variable โš 

 unknown parse/stringMarkup โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

  โœ– Expected token Word but got Slash

  > 1 โ”‚   \\\[MemoryFileSystem] Adding new project folder C:\Users\myUserName\rome\\\\
      โ”‚                                                                              ^
    2 โ”‚         <red><emphasis>^</emphasis></red>

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

โœ– Found 1 problem

what can I do?
OS: windows 10

This, along with other Windows improvements, were fixed in #260.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sebmck picture sebmck  ยท  5Comments

yoshixmk picture yoshixmk  ยท  4Comments

ematipico picture ematipico  ยท  4Comments

sebmck picture sebmck  ยท  3Comments

shirshak55 picture shirshak55  ยท  3Comments