Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install CLI on Windows 10 #379

Open
hzub opened this issue Aug 20, 2019 · 2 comments
Open

Unable to install CLI on Windows 10 #379

hzub opened this issue Aug 20, 2019 · 2 comments

Comments

@hzub
Copy link
Collaborator

hzub commented Aug 20, 2019

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

@Eggwise
Copy link

Eggwise commented May 26, 2020

+1 here on my team, any ideas ?

@Eggwise
Copy link

Eggwise commented May 26, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants