You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But in Windows system the -f argument does not exist on powershell. Worse, when you are using cmd the rm command simply doesn't exist (del is the equivalent)
Info
Environment: (windows)
Adapter: (N.A.)
Stack: (N.A.)
Step to reproduce
PS > yarn add rxdb
error C:\Users\****\Documents\Git\********\node_modules\rxdb: Command failed.
Exit code: 1
Command: rm -f ./package-lock.json
Arguments:
Directory: C:\Users\Adam\Documents\Git\NSRP-SERVER\node_modules\rxdb
Output:
*Blank output but the issue is that -f doesn't exist on powershell*
When you install the package they are no package lock so the rm command looks useless for fresh installation.
"""Solution"""
Use a cygwin / cmder / babun whatever, a shell emulator to get the rm command.
Fix
Check the utility of the rm command and remove if possible
The text was updated successfully, but these errors were encountered:
Case
Bug
Issue
When you install rxdb from a windows system with the default shells (cmd or powershell) the preinstall script is the following in the package.json:
rxdb/package.json
Line 32 in 1fe0f69
But in Windows system the
-f
argument does not exist on powershell. Worse, when you are using cmd the rm command simply doesn't exist (del is the equivalent)Info
Step to reproduce
When you install the package they are no package lock so the rm command looks useless for fresh installation.
"""Solution"""
Use a cygwin / cmder / babun whatever, a shell emulator to get the rm command.
Fix
Check the utility of the rm command and remove if possible
The text was updated successfully, but these errors were encountered: