Open Closed

Couldn't build angular app #8593


User avatar
0
NH-Support created
  • ABP Framework version: v9.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Serve)
  • Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: ./node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-core-color.mjs:1:0-65 - Error: Module not found: Error: Can't resolve '@ctrl/tinycolor' in 'F:\Projects\Templates\testAngular\angular\node_modules\ng-zorro-antd\fesm2022'
  • Steps to reproduce the issue: I create new project template from abp suite , after installing all angular packages I git this error when I run the angular app also when I am updating the old projects I get the same error Now old projects is stopping

3 Answer(s)
  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello, This issue is caused by an update in a third-party package. We're planning to fix it on our side with a patch release soon. In the meantime, you can work around it by adding the dependency manually with this command yarn add @ctrl/tinycolor

  • User Avatar
    0
    NH-Support created

    Hello Dear the app is building now but when I request the URL I get this error (Unexpected token { ) and this is the template project with out any additional code or packages

  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello again, I have used this command to create a project abp new TestApp -u angular -csf and I could not produce the same problem. Can you please share your steps along with your dependencies in package.json so that I can assist you further?

Made with ❤️ on ABP v9.2.0-preview. Updated on January 07, 2025, 07:14