Base solution for your next web application
Open Closed

npm start errors with Angular Core 8.5.0 + RAD Tool 2.2.1 #8818


User avatar
0
dev1_premierpoint created

There are some errors when I trying running a brand new Angular Core 8.5.0 project (downloaded yesterday) and the latest RAD Tool for VS 2019 - 2.2.1 and then create a new entity for testing:

Before running this RAD Tool test, I was able to get both the Host project and the Angular project to run successfully.

However, I did notice on the successful run that the version of AspNetZero showing on the dashboard says 8.4.0 rather than 8.5.0, even though I downloaded 8.5.0 yesterday.  Not sure if this is significant or not.


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

    Hi,

    Could you download a new version of 8.5, update the RAD Tool to latest version and try again ?

    Thanks,

  • User Avatar
    0
    dev1_premierpoint created

    Ok, I gave it another try and got the same results. Here is the sequence of events:

    <br> <br> In the master branch, went through the normal steps from the Getting Started documentation (connection strings, update-database, build and run AspNetCore, yarn, nom start).

    Everything runs that way:

    <br> Created a new branch (TestNewEntity1) and ran the RAD Tool v2.2.1:

    Generation completed without any errors:

    <br> Built and ran the AspNetCore Host project.

    Found my new entity in the API:

    Ran nswag\refresh.bat:

    Ran npm start and got these results:

    <br> <br>

  • User Avatar
    0
    jaencalo created

    Hi, @dev1_premierpoint,

    I was able to replicate the exact same error... ant thanks, very much... yarn upgrade causes ngx-bootstrap errors before to use RAD Tool...

    @ismcagdas, Why does a new version have this kind of errors? Isn't there a set of tests to detect such obvious errors?

    Javier Carreño From Bogotá, Colombia

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Yes, there are tests but it seems like RAD Tool is not released yet. I will ask team to release the new version as soon as possible. Sorry again for this problem.

    Thanks,

  • User Avatar
    0
    dev1_premierpoint created

    Don't know if this is helpful or not, but here is the list of files that got added\changed by Rad Tool 2.2.1 when generating a new entity:

  • User Avatar
    0
    ismcagdas created
    Support Team

    This fix has been released. Could you update AspNet Zero Power Tools and try this again ?

  • User Avatar
    0
    dev1_premierpoint created

    Yes, I will start working on it now and report back as soon as I know.

  • User Avatar
    0
    dev1_premierpoint created

    Seems to work with RAD Tool 2.1.1.1.

    Here is my TestEntity1:

    This time the RAD tool changed\added 39 files.

    Thanks for getting this fixed - at least for me.  I know others will need to retry as well.

  • User Avatar
    0
    dev1_premierpoint created

    I meant to say, RAD Tool v2.2.1.1 - which is the new version released today.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Great :)

  • User Avatar
    0
    liuhongan created

    Haven't released an update yet?RAD Tool v2.2.1.1

  • User Avatar
    0
    liuhongan created

    if have Navigation Property,There are still errors

    ERROR in ./src/app/admin/offline/offlineSettings/offlineSetting-useSoftware-lookup-table-modal.component.ts Module not found: Error: Can't resolve 'primeng/components/paginator/paginator' in 'E:\IVEET\angular\src\app\admin\offline\offlineSettings' ERROR in ./src/app/admin/offline/offlineSettings/offlineSetting-useSoftware-lookup-table-modal.component.ts Module not found: Error: Can't resolve 'primeng/components/table/table' in 'E:\IVEET\angular\src\app\admin\offline\offlineSettings'