Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Unable to parse line in .flowconfig file #27691

Closed
TajAlasfiyaa opened this issue Nov 11, 2023 · 3 comments
Closed

Bug: Unable to parse line in .flowconfig file #27691

TajAlasfiyaa opened this issue Nov 11, 2023 · 3 comments
Labels
Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@TajAlasfiyaa
Copy link

Bug Description

When running Flow on the dom-node, test, and dom-node-webpack renderers, an error message appears:

.flowconfig:326 Unable to parse line.
Flow failed for the test renderer

error Command failed with exit code 8.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

The same error occurs when running yarn flow dom-node:

.flowconfig:171 Unable to parse line.
Flow failed for the dom-node renderer

error Command failed with exit code 8.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Steps to Reproduce

  1. Run yarn flow.
  2. Follow the instructions to select a primary renderer.
  3. Run yarn flow test.
  4. Expected Behavior

Flow should run successfully on the test renderer.

Actual Behavior

Flow fails with the error message .flowconfig:326 Unable to parse line.

Workaround

Currently, there is no known workaround for this issue.

Additional Information

  • Yarn version: 1.22.19
  • Node.js version: v20.9.0
  • Windows version : 11 23H2
@TajAlasfiyaa TajAlasfiyaa added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Nov 11, 2023
@vlad-a-barbu
Copy link

Had a similar issue recently on a Windows laptop due to the default CR-LF line endings. When my .flowconfig was generated (through /scripts/flow/createFlowConfigs.js), replacements on the initial template assumed LF line endings. If you check your .flowconfig, it's likely that some variables are not replaced correctly because of this.

Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@github-actions github-actions bot added the Resolution: Stale Automatically closed due to inactivity label Jun 23, 2024
Copy link

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
2 participants