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

need to kill cli each time creating a new page or folder #1345

Closed
1 of 2 tasks
mhamri opened this issue Sep 11, 2024 · 1 comment · Fixed by #1416
Closed
1 of 2 tasks

need to kill cli each time creating a new page or folder #1345

mhamri opened this issue Sep 11, 2024 · 1 comment · Fixed by #1416
Labels
bug Something isn't working

Comments

@mhamri
Copy link

mhamri commented Sep 11, 2024

Please provide the environment you discovered this bug in.

windows/wsl

Which area/package is the issue in?

vite-plugin-angular

Description

each time adding a new page or layout I have to kill the cli and run the npm start again

Please provide the exception or error you saw

ERROR RuntimeError: NG04002: Cannot match any routes. URL Segment: 'products'
    at Recognizer.noMatchError (E:/hustling/thetutr/t1/frontend-ng/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected][email protected]_fvhtnhzbov4bwdsdhvj2pkw3ji/node_modules/@angular/router/fesm2022/router.mjs:3781:16)
    at eval (E:/hustling/thetutr/t1/frontend-ng/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected][email protected]_fvhtnhzbov4bwdsdhvj2pkw3ji/node_modules/@angular/router/fesm2022/router.mjs:3811:28)
    at E:\hustling\thetutr\t1\frontend-ng\node_modules\.pnpm\[email protected]\node_modules\rxjs\dist\cjs\internal\operators\catchError.js:13:51
    at OperatorSubscriber._this._error (E:\hustling\thetutr\t1\frontend-ng\node_modules\.pnpm\[email protected]\node_modules\rxjs\dist\cjs\internal\operators\OperatorSubscriber.js:43:21)
    at Subscriber.error (E:\hustling\thetutr\t1\frontend-ng\node_modules\.pnpm\[email protected]\node_modules\rxjs\dist\cjs\internal\Subscriber.js:60:18)
    at Subscriber._error (E:\hustling\thetutr\t1\frontend-ng\node_modules\.pnpm\[email protected]\node_modules\rxjs\dist\cjs\internal\Subscriber.js:84:30)
    at Subscriber.error (E:\hustling\thetutr\t1\frontend-ng\node_modules\.pnpm\[email protected]\node_modules\rxjs\dist\cjs\internal\Subscriber.js:60:18)
    at Subscriber._error (E:\hustling\thetutr\t1\frontend-ng\node_modules\.pnpm\[email protected]\node_modules\rxjs\dist\cjs\internal\Subscriber.js:84:30)
    at Subscriber.error (E:\hustling\thetutr\t1\frontend-ng\node_modules\.pnpm\[email protected]\node_modules\rxjs\dist\cjs\internal\Subscriber.js:60:18)
    at Subscriber._error (E:\hustling\thetutr\t1\frontend-ng\node_modules\.pnpm\[email protected]\node_modules\rxjs\dist\cjs\internal\Subscriber.js:84:30) {
  code: 4002
}

Other information

image

I would be willing to submit a PR to fix this issue

  • Yes
  • No
@mhamri mhamri added the bug Something isn't working label Sep 11, 2024
@brandonroberts
Copy link
Member

Try again with the latest 1.9.0 release, as this should be resolved on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants