Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

WARNING in ./src/root.module.ts #6372


User avatar
0
ceylanholding created

Hi,

Could you please look into this issue and let me know.

I'm getting this error while trying to npm start ...

ASP.NET CORE & Angular (5.4.1) MacOs


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

    Hi @ceylanholding

    Have you runned *.Web.Host project before running the Angular app ? If so, could you check App_Data\Logs\Logs.txt file under your *.Web.Host project and see if there are any error messages ?

    Thanks,

  • User Avatar
    0
    ceylanholding created

    Hi @ismcagdas,

    Yes, .Web.Host project is running ( swagger ui is up ) ...

    where is the App_Data\Logs\Logs.txt?

    Thanks

  • User Avatar
    0
    ceylanholding created

    Hi @ismcagdas,

    Any update please. I haven't any problem on the back-end side.

    Thanks

  • User Avatar
    0
    maliming created
    Support Team

    @ceylanholding You can search the Logs.txt file in your code directory to see the log information of the backend.

  • User Avatar
    0
    ceylanholding created

    Hi @maliming,

    i found the Logs.txt file , I havent problem on the back-end side.

    I'm getting error while trying to npm start ...

    problem is on angular side ....

    WARNING in ./src/root.module.ts System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/

    thanks.

  • User Avatar
    0
    maliming created
    Support Team

    Please share a screenshot of the chrome console and network when you see the problem in the image below.

  • User Avatar
    0
    ceylanholding created

    Hi @maliming,

    thanks.

  • User Avatar
    0
    maliming created
    Support Team

    :22742/AbpUserConfiguration/GetAll

    Can you use chrome network to see why this request failed? If it is convenient to share a screenshot of the request header and response header information.

  • User Avatar
    0
    ceylanholding created

    Hi @maliming,

    I'm getting this error

    no any data in language table

    thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ceylanholding

    It seems like your Host app is running on port 5000 but, by default, Angualr app makes requests to 22742. So, if you change "remoteServiceBaseUrl" in "/angular/src/assets/appconfig.json" to "http://localhost:5000", probably it will work.

  • User Avatar
    0
    ceylanholding created

    Hi @ismcagdas,

    I did this job :)

    thanks.

  • User Avatar
    0
    ismcagdas created
    Support Team

    @ceylanholding

    Then, we can assist you via TeamViewer since this is your initial running of the project. Please share your available time and TeamViewer information via email to [email protected].

  • User Avatar
    0
    ismcagdas created
    Support Team

    Solved via TeamViewer.