Starts in:
3 DAYS
8 HRS
3 MIN
43 SEC
Starts in:
3 D
8 H
3 M
43 S
Open Closed

Error opening a new project abp angular #13


User avatar
0
financeiro@logicpulse.com created

When I open a new created project using abp suite and when I open Angular project using Visual Studio code it says: Cannot find module '@abp/ng.core' in line "import { CoreModule } from '@abp/ng.core';" in path "src\app\app.module.ts"

Cannot find module '@angular/core'

What's the problem?


3 Answer(s)
  • User Avatar
    0
    Mehmet created

    Did you run the yarn command to install packages? Packages may not be installed correctly, please make sure that you have the node_modules/@abp folder.

  • User Avatar
    0
    financeiro@logicpulse.com created

    yes I have run yarn. Still missing that folder node_modules/@abp.

  • User Avatar
    0
    Mehmet created

    Check your Node version with this command: node --version It must be v10.x.x.

    If Node version is correct, you can remove yarn.lock, package-lock.json, node_modules and run the npm install.

    If the problem is still not resolved please run the following command to install depended ABP packages manually:

    npm install @abp/ng.core @abp/ng.theme.shared @abp/ng.feature-management @abp/ng.permission-management @abp/ng.setting-management @abp/ng.setting-management.config
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06