syncano-node
syncano-node copied to clipboard
Unable to install CLI on Windows 10
Environment
- OS: Windows 10 v. 1803
- Syncano version: 0.15.0
- Node version: 12.8.0
- NPM version: 6.10.2
Describe the bug
Syncano CLI throws showstopping error during installation on empty project (freshly npm initialized directory). It breaks the installation, yielding half-processed package content inside node_modules.
Error indicates that it can't run postinstall script due to an unexpected dot.
To Reproduce Steps to reproduce the behavior:
-
npm install -g @syncano/cliornpm install @syncano-cliin empty node project
Expected behavior Syncano CLI gets completely installed either locally or globally.
Screenshots

+1 here on my team, any ideas ?
This is inside the post install
#!/usr/bin/env sh
cd $INIT_CWD
if [ -z "$CI" ]
then
npx s init
else
echo "CI detected - skipping post install."
fi