ng-matero / ng-matero

Angular Material admin dashboard template.
https://ng-matero.github.io/ng-matero/
MIT License
1.19k stars 327 forks source link

installation problem in the project with sub-projects #47

Open rizdebski opened 4 years ago

rizdebski commented 4 years ago

when i tries to perform the following sequence: ng new app --createApplication=false cd app ng new subapp ng add ng-matero

I get the following error: Skipping installation: Package already installed ? Choose a prebuilt layout template: Dynamic ? Choose a prebuilt navigation type: Side Navigation ? Choose a prebuilt theme style: Light ? Choose a prebuilt direction option: LTR ? Set up browser animations for Angular Material? Yes UPDATE package.json (1329 bytes) √ Packages installed successfully. Main file (projects/subapp/src/main.ts) not found

file projects/subapp/src/main.ts exists on disk

nzbin commented 4 years ago

I haven't installed the project in this way, maybe it's incorrect.

personalaccount commented 4 years ago

@rizdebski try adding the ng-matero app manually (copy -> paste it to the subapp directory) and then run npm install

rizdebski commented 4 years ago

Because this is a new project, I created a new project, add ng-matero and copied the files to the structure created earlier with minor path changes. But it would be nice if it worked from scripts.