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 priority: low Severity level: 3

Comments

@bennypowers
Copy link
Member

Description of the issue

❯ run start

> start
> wireit

                                                     
> @patternfly/pfe-core@2.4.1 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug priority: low Severity level: 3
Projects
None yet
Development

No branches or pull requests

1 participant