Skip to content

Can't install on windows #247

Closed
Closed
@tux2nicolae

Description

@tux2nicolae

In version 7.5.0 was added a postinstall script that breaks npm install on windows due to the fact that rm in not a valid command on windows

"postinstall": "rm -rf node_modules/@types/react-native"


npm error code 1
npm error path D:\menoo\mobile\client\node_modules\react-native-confirmation-code-field
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c rm -rf node_modules/@types/react-native
npm error 'rm' is not recognized as an internal or external command,
npm error operable program or batch file.

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

    Issue actions