Open Closed

abp angular can not start #4145


User avatar
0
deathmid2233@gmail.com created

has been stuck in
Generating browser application bundles (phase: setup)...

⠋ Generating browser application bundles (phase: setup)...An unhandled exception occurred: ENOENT: no such file or directory, lstat '/demo/abpdemo.ag/angular/node_modules/@volosoft' See "/private/var/folders/9v/lkpg0_795zjb9f0w6rxsv9vr0000gn/T/ng-FTuVbV/angular-errors.log" for further details. ⠋ Generating browser application bundles (phase: setup)...

  • ABP Framework version: v6.0.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: [error] Error: ENOENT: no such file or directory, lstat '/Users/code/demo/abpdemo.ag/angular/node_modules/@volosoft' at Object.realpathSync (node:fs:2503:7) at resolveGlobalStyles (/Users/code/demo/abpdemo.ag/angular/node_modules/@angular-devkit/build-angular/src/webpack/configs/styles.js:64:33) at getStylesConfig (/Users/code/demo/abpdemo.ag/angular/node_modules/@angular-devkit/build-angular/src/webpack/configs/styles.js:97:70) at /Users/code/demo/abpdemo.ag/angular/node_modules/@angular-devkit/build-angular/src/builders/dev-server/index.js:144:43 at /Users/code/demo/abpdemo.ag/angular/node_modules/@angular-devkit/build-angular/src/utils/webpack-browser-config.js:75:16 at generateWebpackConfig (/Users/code/demo/abpdemo.ag/angular/node_modules/@angular-devkit/build-angular/src/utils/webpack-browser-config.js:64:40) at async generateBrowserWebpackConfigFromContext (/Users/code/demo/abpdemo.ag/angular/node_modules/@angular-devkit/build-angular/src/utils/webpack-browser-config.js:125:20) at async generateI18nBrowserWebpackConfigFromContext (/Users/code/demo/abpdemo.ag/angular/node_modules/@angular-devkit/build-angular/src/utils/webpack-browser-config.js:73:20) at async setup (/Users/code/demo/abpdemo.ag/angular/node_modules/@angular-devkit/build-angular/src/builders/dev-server/index.js:141:47)
  • Steps to reproduce the issue:" Initialize the angular template

3 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    If you used npm install for package restore, can you try yarn?

  • User Avatar
    0
    deathmid2233@gmail.com created

    If you used npm install for package restore, can you try yarn?

    I tried both npm and yarn I try yarn cache clean npm cache clean and delete local node_modules, not work

  • User Avatar
    0
    deathmid2233@gmail.com created

    i using Theme. lepton

    When I switch to lepton-x, it runs successfully

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11