-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Error: Project '1' could not be found in workspace. #525
Comments
@abnersouza What command did you run that resulted in this error? |
Same problem. Got around it by specifying the target name on the build command directly and specifying --configuration instead of --environment: old: new: Basically, I directly specified my app name 'myApp' directly after 'ng serve' |
Basically there's a bogus projetctName of '1' in projectNames. I put in some prints in workspace.js:
my angular.json:
|
@vt5491 Thanks, I will try do the same in my project. |
@abnersouza could you provide a repo with a repro? |
@abnersouza you can reopen when you can provide a repro. I will close the issue. Thanks! |
... --ssl true ... instead of --ssl 1 should solve the issue. |
@ceccomil It really fix the issue thanks a lot, but now i have the issue with command to run where -a=admin is app name i have three different apps, also is complaining about -p=3000 |
@abnersouza my guess is, this question it's not related to an issue it's more a request on how to do something... anyway if you run "ng serve --help" you can see the list of available options and change what you need accordingly eg. -p=3200 --port 3200 |
I solved it by replacing the project name to the one mentioned in package.json file & it worked for me. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Hey guys, trying to run after the nx update all good, but after trying to run the project i got the following error:
Any idea on how to solve the issue?
Thanks,
Abner
The text was updated successfully, but these errors were encountered: