Skip to content

"Error starting web application" error when running on server #1

Open
@MehmetSert

Description

@MehmetSert

Hello,

I copied your project with "git clone" and ran the command "npm run build: ssr && npm run serve: ssr". "localhost: 4000" works without problems. Then I uploaded the files to my Plesk panel. I have defined "server / main.js" for the Node.js application launch file. But it doesn't work.

The same problem exists in my own project. Angular 8 version of my own project runs on the server. But it doesn't work on the server when it updates to Angular 9.

Angular 8 created "server.js" in "dist" folder in "ssr build" operation. I was selecting "server.js" as the Node.js application launch file in the Plesk panel. But now "server.js" does not exist. I wonder how you create files when you build them. Could you help?

Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @MehmetSert

      Issue actions

        "Error starting web application" error when running on server · Issue #1 · ganatan/angular-ssr