# Npm-ci command can only install with an existing package-lock.json

**URL:** <https://forum.shopware.com/t/npm-ci-command-can-only-install-with-an-existing-package-lock-json/94461>\
**Category:** Installation / Einstieg\
**Created:** [18. Mai 2022 um 22:19 UTC](https://forum.shopware.com/t/npm-ci-command-can-only-install-with-an-existing-package-lock-json/94461 "2022-05-18T22:19:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![meza100](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@meza100](https://forum.shopware.com/u/meza100)\
**Post date:** [18. Mai 2022 um 22:19 UTC](https://forum.shopware.com/t/npm-ci-command-can-only-install-with-an-existing-package-lock-json/94461/1 "2022-05-18T22:19:40Z")

</div>

Hi zusammen,  
ich hoffe, ihr könnt mir helfen 😉 Ich habe vor den Shop in Debian aufzusetzen. Leider erhalte ich beim Setup eine Fehlermeldung:

(32/46) Starting

> npm clean-install --prefix vendor/shopware/platform/src/Administration/Resources/app/administration  
> npm ERR! code ERESOLVE  
> npm ERR! ERESOLVE could not resolve  
> npm ERR!  
> npm ERR! While resolving: eslint-config-airbnb-base@13.2.0  
> npm ERR! Found: eslint@7.10.0  
> npm ERR! node\_modules/eslint  
> npm ERR! dev eslint@„7.10.0“ from the root project  
> npm ERR! peer eslint@„^6.0.0 || ^7.0.0 || ^8.0.0“ from @typescript-eslint/eslint-plugin@5.1.0  
> npm ERR! node\_modules/@typescript-eslint/eslint-plugin  
> npm ERR! @typescript-eslint/eslint-plugin@„5.1.0“ from the root project  
> npm ERR! 14 more (@typescript-eslint/experimental-utils, eslint-utils, …)  
> npm ERR!  
> npm ERR! Could not resolve dependency:  
> npm ERR! peer eslint@„^4.19.1 || ^5.3.0“ from eslint-config-airbnb-base@13.2.0  
> npm ERR! node\_modules/eslint-config-airbnb-base  
> npm ERR! dev eslint-config-airbnb-base@„13.2.0“ from the root project  
> npm ERR! eslint-config-airbnb-base@„^13.2.0“ from @shopware-ag/eslint-config-base@1.0.0  
> npm ERR! node\_modules/@shopware-ag/eslint-config-base  
> npm ERR! @shopware-ag/eslint-config-base@„1.0.0“ from the root project  
> npm ERR!  
> npm ERR! Conflicting peer dependency: eslint@5.16.0  
> npm ERR! node\_modules/eslint  
> npm ERR! peer eslint@„^4.19.1 || ^5.3.0“ from eslint-config-airbnb-base@13.2.0  
> npm ERR! node\_modules/eslint-config-airbnb-base  
> npm ERR! dev eslint-config-airbnb-base@„13.2.0“ from the root project  
> npm ERR! eslint-config-airbnb-base@„^13.2.0“ from @shopware-ag/eslint-config-base@1.0.0  
> npm ERR! node\_modules/@shopware-ag/eslint-config-base  
> npm ERR! @shopware-ag/eslint-config-base@„1.0.0“ from the root project  
> npm ERR!  
> npm ERR! Fix the upstream dependency conflict, or retry  
> npm ERR! this command with --force, or --legacy-peer-deps  
> npm ERR! to accept an incorrect (and potentially broken) dependency resolution.  
> npm ERR!  
> npm ERR! See /root/.npm/eresolve-report.txt for a full report.

```
    npm ERR! A complete log of this run can be found in:
    npm ERR! /root/.npm/_logs/2022-05-18T21_29_14_805Z-debug-0.log

```

Execution aborted, a subcommand failed!

Ganz egal, ob ich das mit force oder legacy-peer-deps mache, es funktioniert nicht. Die Datei, welche er bemeckert, dass es nicht vorhanden ist, ist vorhanden.

Habt ihr eine Idee? Ich würde gerne den Shop von Grundauf aufsetzen um mich mit der Materie vertraut zu machen.

Danke und Grüße,  
Stefan
