Skip to content

mvc-cli init error #1

@oynopower

Description

@oynopower
image

Maybe is main.ts newline character problem.

image

When this bin file is executed in a Unix like environment, \n is interpreted as a newline, so this line of code is actually interpreted by the Unix like environment as: #!/usr/bin/env node \r

node\r is treated as a command, so the above error occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions