Skip to content

'GENERATE_SOURCEMAP' is not recognized as an internal or external command #8

@Camillebzd

Description

@Camillebzd

I faced an error after following all the steps to setup and launch the app (git clone, npm install, npm run dev):
image

I'm running it on a windows10 and with node v16.13.0 and I did nothing special to produce the error, only tried to run the app.

I followed this answer from stackoverflow: https://stackoverflow.com/questions/57093235/generate-sourcemap-false-issue/62990101#62990101. So I installed "cross-env" and then added it for the dev and build in the package.json like this:
image

Now everything works fine. I don't know if this is a problem only for me or if it's something that needs to be added in the repo with a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions