Skip to content

npm run dev:cordova don't work properly on windows #2

@V0ID1337x

Description

@V0ID1337x

npm run dev:cordova
returns:

[nodemon] 2.0.15
[nodemon] reading config .\nodemon.json
[nodemon] to restart at any time, enter `rs`
[nodemon] or send SIGHUP to 21036 to restart
[nodemon] ignoring: .\.git/**/* node_modules/**/*
[nodemon] watching path(s): dist\**\*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `'ts-node scripts/platforms.ts'`
[nodemon] spawning
[nodemon] child pid: 10128
''ts-node' is not recognized as an internal or external command,
operable program or batch file.
[nodemon] app crashed - waiting for file changes before starting...
[nodemon] watching 5 files

fixed it by removing quotation marks from package.json:
"dev:cordova": "nodemon --exec ts-node scripts/platforms.ts",

Now app is not crashing, but it override files only when i type rs in nodemon console

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