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

Easier way to run this? Angular errors on ng serve attempt #5

Open
ilovepancakes95 opened this issue Sep 5, 2020 · 4 comments
Open

Comments

@ilovepancakes95
Copy link

Is there an easier way for someone not familiar with development to run this? I would be very interested but am super confused having to go through angular cli, etc...

That being said, I did attempt it and think I followed all the steps and when I run ng serve in project directory I end up with this:

ERROR in ./src/app/authentication/authentication.module.ts
Module not found: Error: Can't resolve '@propertium/common' in '/home/lab/ng2-property-management/projects/tenant-portal/src/app/authentication'
    
    ERROR in projects/tenant-portal/src/app/authentication/authentication.service.ts:7:34 - error TS2307: Cannot find module '@propertium/common' or its corresponding type declarations.
    
    7 import { LoginCredentials } from '@propertium/common';
                                       ~~~~~~~~~~~~~~~~~~~~
    projects/tenant-portal/src/app/authentication/login-container.component.ts:3:34 - error TS2307: Cannot find module '@propertium/common' or its corresponding type declarations.
    
    3 import { LoginCredentials } from '@propertium/common';
                                       ~~~~~~~~~~~~~~~~~~~~
    projects/tenant-portal/src/app/authentication/authentication.module.ts:3:43 - error TS2307: Cannot find module '@propertium/common' or its corresponding type declarations.
    
    3 import { PropertiumLoginPageModule } from '@propertium/common';
                                                ~~~~~~~~~~~~~~~~~~~~

Not sure how to take it from there and get it working.

@Seedthrower
Copy link

I'm not sure you can. It appears that it's looking for a node module called @propertium - however it doesn't appear that's been included. Perhaps @FlashBanistan can assist us because I'm running into that same issue...

@FlashBanistan
Copy link
Owner

Hey guys sorry it's taken me a while to respond. This project isn't complete and was undertaken mostly as a learning activity. This project only includes the frontend. The backend is written in python and is contained in my other repo drf-property-management. You'll need to run both and even then there might be some tweaking needed to get things working correctly. Like I said though you won't be able to get any real world use out of this but if you're just curious I can document better how to get things going.

@Seedthrower
Copy link

No worries - it's just a bit hard to spin up when there's some things missing. Makes since that it's not complete - and having that missing piece of the drf-property-management certainly makes a lot more sense now...

@ilovepancakes95
Copy link
Author

I completely understand the time involved in developing something like this and appreciate everything you have published thus far. If you ever do get the chance to continue development and make it semi-easier to spin up and use, would love to utilize. There is a great lack of good feature full property management software that once can self-host and I appreciate being able to manage commercial properties while ensuring the data on leases, financials, etc. remains mine and in my control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants