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

[cosmetic] Couldn't check .gitignore: Error: Command failed: git status --short --untracked-files=all #427

Open
mcm1957 opened this issue Jul 6, 2023 · 0 comments

Comments

@mcm1957
Copy link
Contributor

mcm1957 commented Jul 6, 2023

Minor cosmetic eroor::

When using adpgter cretor and 'create git repo' is deselected the following error occures:

Verifying .npmignore and .gitignore
E:\GitHub\mcm1957\ioBroker.test230706> npm pack --dry-run
E:\GitHub\mcm1957\ioBroker.test230706> git status --short --untracked-files=all
Couldn't check .gitignore: Error: Command failed: git status --short --untracked-files=all
fatal: not a git repository (or any of the parent directories): .git

Either this check needs to be skipped or better handled if no git environment is (yet) set up.

Extract from DOS Box:

[create-adapter.json.zip](https://github.com/ioBroker/dev-server/files/11967850/create-adapter.json.zip)

That's it. Please wait a minute while I get this working...
[1/3] Generating files...
Using Legacy Google Translate
[2/3] Installing dependencies...

added 359 packages in 6m
[3/3] Installing dev-server...

changed 406 packages in 1m
Using default profile default
Using profile name "default"
Using adapter name "test230706"
Setting up in E:\GitHub\mcm1957\ioBroker.test230706\.dev-server\default
Verifying .npmignore and .gitignore
E:\GitHub\mcm1957\ioBroker.test230706> npm pack --dry-run
E:\GitHub\mcm1957\ioBroker.test230706> git status --short --untracked-files=all
Couldn't check .gitignore: Error: Command failed: git status --short --untracked-files=all
fatal: not a git repository (or any of the parent directories): .git

Installing js-controller and admin...
E:\GitHub\mcm1957\ioBroker.test230706\.dev-server\default> npm install --loglevel error --production

create-adapter.json.zip

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

1 participant