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

npm run start can fail if typescript build files are present #2712

Open
bennypowers opened this issue Mar 21, 2024 · 0 comments
Open

npm run start can fail if typescript build files are present #2712

bennypowers opened this issue Mar 21, 2024 · 0 comments
Assignees
Labels
bug good 1st issue Good for newcomers to the project; requires at least an introductory knowledge of the language priority: low Severity level: 3 red hack day Good issue for Red Hack Day

Comments

@bennypowers
Copy link
Member

Description of the issue

❯ run start

> start
> wireit

                                                     
> @patternfly/[email protected] analyze
> cem analyze --watch

[3:42:08 PM] @custom-elements-manifest/analyzer: Created new manifest.
                                                     
❌ [build:elements] exited with exit code 2. Output:

error TS5055: Cannot write file '/home/bennyp/Developer/patternfly/patternfly-elements/elements/pf-chip/pf-chip-shared.css.js' because it would overwrite input file.


Found 1 error.

file:///home/bennyp/Developer/patternfly/patternfly-elements/node_modules/wireit/lib/execution/service.js:15
    return new Error(`Unexpected service state ${state.id}`);
           ^

Error: Unexpected service state executingDeps
    at unexpectedState (file:///home/bennyp/Developer/patternfly/patternfly-elements/node_modules/wireit/lib/execution/service.js:15:12)
    at ServiceScriptExecution.start (file:///home/bennyp/Developer/patternfly/patternfly-elements/node_modules/wireit/lib/execution/service.js:575:23)
    at Executor.execute (file:///home/bennyp/Developer/patternfly/patternfly-elements/node_modules/wireit/lib/executor.js:133:42)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async run (file:///home/bennyp/Developer/patternfly/patternfly-elements/node_modules/wireit/lib/cli.js:123:52)
    at async file:///home/bennyp/Developer/patternfly/patternfly-elements/node_modules/wireit/lib/cli.js:156:16

Node.js v20.10.0```

### Expected behavior

run start should always work

@bennypowers bennypowers added priority: low Severity level: 3 bug labels Mar 21, 2024
@bennypowers bennypowers self-assigned this Mar 21, 2024
@bennypowers bennypowers added the good 1st issue Good for newcomers to the project; requires at least an introductory knowledge of the language label Jun 10, 2024
@markcaron markcaron added the red hack day Good issue for Red Hack Day label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good 1st issue Good for newcomers to the project; requires at least an introductory knowledge of the language priority: low Severity level: 3 red hack day Good issue for Red Hack Day
Projects
None yet
Development

No branches or pull requests

2 participants