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
According to the reporter of this issue above, that script fails on PowerShell, throwing this error:
> opencollective || exit 0
At line:1 char:16
+ opencollective || exit 0
+ ~~
The token '||' is not a valid statement separator in this version.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : InvalidEndOfLine
Because || isn't a valid operator in PowerShell. It uses something like -or/-and instead of ||/&&. As a result, they aren't able to install a project that uses nestjs v7.
I'm not sure why the || exit 0 is required, but I wonder if there's a cross-platform alternative that would work for PowerShell.
The text was updated successfully, but these errors were encountered:
I wanted to pass this along from an issue in nestjs: nestjs/nest#7049
The setup provides this postinstall script:
According to the reporter of this issue above, that script fails on PowerShell, throwing this error:
Because
||
isn't a valid operator in PowerShell. It uses something like-or
/-and
instead of||
/&&
. As a result, they aren't able to install a project that uses nestjs v7.I'm not sure why the
|| exit 0
is required, but I wonder if there's a cross-platform alternative that would work for PowerShell.The text was updated successfully, but these errors were encountered: