Install

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
montelin
Posts: 18
Joined: 25 Oct 2021, 11:16
Location: Sweden
Contact:

25 Oct 2021, 13:05

Hi,

If you download the folders with the files that are for PrimeBlock and open the file for PrimeBlock in VC, and run this, I get the error below. My own projects are working well.


C:\Users\mats\Desktop\DemoTest>ng serve
An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json'
Require stack:
- C:\Users\mats\node_modules\@angular-devkit\architect\node\node-modules-architect-host.js
- C:\Users\mats\node_modules\@angular-devkit\architect\node\index.js
- C:\Users\mats\node_modules\@angular\cli\models\architect-command.js
- C:\Users\mats\node_modules\@angular\cli\commands\serve-impl.js
- C:\Users\mats\node_modules\@angular-devkit\schematics\tools\export-ref.js
- C:\Users\mats\node_modules\@angular-devkit\schematics\tools\index.js
- C:\Users\mats\node_modules\@angular\cli\utilities\json-schema.js
- C:\Users\mats\node_modules\@angular\cli\models\command-runner.js
- C:\Users\mats\node_modules\@angular\cli\lib\cli\index.js
- C:\Users\mats\AppData\Roaming\nvm\v16.5.0\node_modules\@angular\cli\lib\init.js
- C:\Users\mats\AppData\Roaming\nvm\v16.5.0\node_modules\@angular\cli\bin\ng
See "C:\Users\mats\AppData\Local\Temp\ng-FscI1J\angular-errors.log" for further details.
Mats Montelin / :D

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

26 Oct 2021, 14:00

Hi,

Did you run the first command 'npm install', right?
What are your versions, primeblocks and angular?

Best regards,
Merve Özçifçi

montelin
Posts: 18
Joined: 25 Oct 2021, 11:16
Location: Sweden
Contact:

26 Oct 2021, 15:16

Hi,
PrimeBlock 2.1
Angular 8........

npm install with modules already installed in PrimeBlock?
Mats Montelin / :D

montelin
Posts: 18
Joined: 25 Oct 2021, 11:16
Location: Sweden
Contact:

26 Oct 2021, 15:39

Hi,
I've solved the problem myself. Thanks!
Mats Montelin / :D

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

08 Apr 2022, 12:36

Thanks a lot for the update!

Post Reply

Return to “PrimeBlocks for PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest