syncano-node icon indicating copy to clipboard operation
syncano-node copied to clipboard

Unable to install CLI on Windows 10

Open hzub opened this issue 6 years ago • 2 comments

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:

  1. npm install -g @syncano/cli or npm install @syncano-cli in empty node project

Expected behavior Syncano CLI gets completely installed either locally or globally.

Screenshots 2019-08-20 21_29_22-Wiersz polecenia

hzub avatar Aug 20 '19 19:08 hzub

+1 here on my team, any ideas ?

Eggwise avatar May 26 '20 15:05 Eggwise

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

Eggwise avatar May 26 '20 15:05 Eggwise