Base solution for your next web application
Open Closed

The project 'EventCloud.Web' failed to build. #2402


User avatar
0
devday created

Hi,

I am following the instructions, but get issues with the EventCloud.Web failed to build.

Thank you! Your project is being created and downloaded in a few seconds... After download • Open your solution on Visual Studio 2013 or later. • Select the 'Web' project as startup project. • Open Package Manager Console, select 'EntityFramework' project as Default project and run the EntityFramework's 'Update-Database' command. This will create the database • Run the application. User name is 'admin' and password is '123qwe' as default. Multi-tenancy is enabled by default. You can disable it from 'Core' project. If you want to change the database connection string, go to web.config and edit the following line: <add name="Default" connectionString="Server=localhost; Database=EventCloud; Trusted_Connection=True;" providerName="System.Data.SqlClient" />

When I try and build the solution, I get the following error:

PM> Update-Database The project 'EventCloud.Web' failed to build. PM>

I also can see no database has been created. If I try and build the solution, I get a lot of errors. I haven’t changed anything.

Please can you help?

Kind Regards, Dev


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you share the errors you are getting when you build the project ?

    Thanks.

  • User Avatar
    0
    devday created

    Hi,

    Thanks for getting back to me. When I try and build I get the following error:

    tsc.exe exited with code 1

    Following that, there were a lot of other errors:

    Severity Code Description Project File Line Suppression State Error TS2300 Duplicate identifier 'event'. EventCloud3.Web C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TypeScript\lib.d.ts 16745 Active Error TS1131 Property or signature expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 31 Active Error TS2304 Cannot find name 'readonly'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 31 Active Error TS1005 ';' expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 31 Active Error TS2304 Cannot find name 'userId'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 31 Active Error TS1109 Expression expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 31 Active Error TS2304 Cannot find name 'number'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 31 Active Error TS2304 Cannot find name 'readonly'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 33 Active Error TS1005 ';' expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 33 Active Error TS2304 Cannot find name 'tenantId'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 33 Active Error TS1109 Expression expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 33 Active Error TS2304 Cannot find name 'number'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 33 Active Error TS2304 Cannot find name 'readonly'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 35 Active Error TS1005 ';' expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 35 Active Error TS2304 Cannot find name 'impersonatorUserId'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 35 Active Error TS1109 Expression expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 35 Active Error TS2304 Cannot find name 'number'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 35 Active Error TS2304 Cannot find name 'readonly'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 37 Active Error TS1005 ';' expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 37 Active Error TS2304 Cannot find name 'impersonatorTenantId'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 37 Active Error TS1109 Expression expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 37 Active Error TS2304 Cannot find name 'number'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 37 Active Error TS2304 Cannot find name 'readonly'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 39 Active Error TS1005 ';' expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 39 Active Error TS7028 Unused label. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 39 Active Error TS2304 Cannot find name 'IAbpSession'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 43 Active Error TS2300 Duplicate identifier 'event'. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 320 Active Error TS1128 Declaration or statement expected. EventCloud3.Web \EventCloud3.Web\Abp\Framework\scripts\abp.d.ts 453 Active

    Would you be able to assist? I'd love to get going on ABP,

    Thank you,

    Dev

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks,

    Please see this issue <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1746#issuecomment-271617966">https://github.com/aspnetboilerplate/as ... -271617966</a>. It should be fixed when you install latest typescript.

  • User Avatar
    0
    devday created

    Thank you for that, I am in and it's working :-)