# Administration Build Error

**URL:** <https://forum.shopware.com/t/administration-build-error/102556>\
**Category:** Shopware 6 (German)\
**Created:** [18. Januar 2024 um 10:39 UTC](https://forum.shopware.com/t/administration-build-error/102556 "2024-01-18T10:39:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![makstech](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@makstech](https://forum.shopware.com/u/makstech)\
**Post date:** [18. Januar 2024 um 10:39 UTC](https://forum.shopware.com/t/administration-build-error/102556/1 "2024-01-18T10:39:30Z")

</div>

Hallo liebe Community,

ich hoffe ihr könnt mir vielleicht helfen. Ich beschäftige mich gerade etwas mit der Erstellung von eigenes Plugins für die Administration und arbeite dabei gerade die Doku/Anleitungen von Shopware durch.

Mittlerweile bin ich bei dem Punkt angelangt an dem ich bin/administration-build.sh ausführen soll.  
Leider bricht der Build aber mit einem Fehler ab. Nachfolgend füge ich den gesamten Output des Vorgangs hinzu.

Achja ich folgende Setup ist gegeben.

Shopware Version: 6.4.20.2  
PHP: 7.4.33  
Node Version v16.20.2  
npm Version: 8.19.4

Das ganze läuft als dev Umgebung lokal auf meinem Mac (Intel) in einer MAMP Pro Umgebung.

Hat vielleicht wer eine Idee woran es liegen könnte warum die Build nicht ordnungsgemäß fertiggestellt wird?  
Vielen Dank für eure Untersützung.

Liebe Grüße  
Maks

OUTPUT des Buildvorgangs:

sh bin/build-administration.sh

[OK] Dumped plugin configuration.

Cannot check extensions for required npm installations as jq is not installed  
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs  
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: [Array.prototype.sort() - JavaScript | MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility)  
npm WARN deprecated source-map-url@0.4.1: See [GitHub - lydell/source-map-url: [DEPRECATED] Tools for working with sourceMappingURL comments.](https://github.com/lydell/source-map-url#deprecated)  
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see [https://github.com/request/request/issues/3142](https://github.com/request/request/issues/3142)  
npm WARN deprecated urix@0.1.0: Please see [GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly.](https://github.com/lydell/urix#deprecated)  
npm WARN deprecated opn@6.0.0: The package has been renamed to `open`  
npm WARN deprecated har-validator@5.1.5: this library is no longer supported  
npm WARN deprecated mkdirp@0.5.3: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)  
npm WARN deprecated fsevents@2.1.3: „Please update to latest v2.3 or v2.2“  
npm WARN deprecated resolve-url@0.2.1: [GitHub - lydell/resolve-url: [DEPRECATED] Like Node.js’ `path.resolve`/`url.resolve` for the browser.](https://github.com/lydell/resolve-url#deprecated)  
npm WARN deprecated source-map-resolve@0.5.3: See [GitHub - lydell/source-map-resolve: [DEPRECATED] Resolve the source map and/or sources for a generated file.](https://github.com/lydell/source-map-resolve#deprecated)  
npm WARN deprecated w3c-hr-time@1.0.2: Use your platform’s native performance.now() and performance.timeOrigin.  
npm WARN deprecated debug@3.2.6: Debug versions \>=3.2.0 \<3.2.7 || \>=4 \<4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ([ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub](https://github.com/visionmedia/debug/issues/797))  
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.  
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies  
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.  
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies  
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.  
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.  
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See [There’s Math.random(), and then there’s Math.random() · V8](https://v8.dev/blog/math-random) for details.  
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See [There’s Math.random(), and then there’s Math.random() · V8](https://v8.dev/blog/math-random) for details.  
npm WARN deprecated intl-messageformat-parser@1.8.1: We’ve written a new parser that’s 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser  
npm WARN deprecated raven@2.6.4: Please upgrade to @sentry/node. See the migration guide [sentry-javascript/MIGRATION.md at master · getsentry/sentry-javascript · GitHub](https://bit.ly/3ybOlo7)  
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See [There’s Math.random(), and then there’s Math.random() · V8](https://v8.dev/blog/math-random) for details.  
npm WARN deprecated request@2.88.2: request has been deprecated, see [https://github.com/request/request/issues/3142](https://github.com/request/request/issues/3142)  
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.  
npm WARN deprecated puppeteer@13.7.0: \< 18.1.0 is no longer supported  
npm WARN deprecated core-js@2.6.12: core-js@\<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

> administration@1.0.0 postinstall  
> patch-package

patch-package 6.4.7  
Applying patches…  
eslint@7.32.0 ✔  
eslint-plugin-vue@7.9.0 ✔  
vue-eslint-parser@7.6.0 ✔

added 2770 packages, and audited 2776 packages in 59s

181 packages are looking for funding  
run `npm fund` for details

92 vulnerabilities (1 low, 58 moderate, 27 high, 6 critical)

To address issues that do not require attention, run:  
npm audit fix

To address all issues possible (including breaking changes), run:  
npm audit fix --force

Some issues need review, and may require choosing  
a different dependency.

Run `npm audit` for details.

> administration@1.0.0 build  
> mode=production webpack

# Compiling with Webpack configuration

# Production mode is activated 🚀

# Plugin „Storefront“: Injected successfully

# Plugin „UnzerPayment6“: Injected successfully

# Plugin „CrswCleverReachOfficial“: Injected successfully

# Plugin „SpnoNewsletterEconomy“: Injected successfully

# Plugin „SpnoNewsletterBusiness“: Injected successfully

# Plugin „SwpDataProtectionTimestampSix“: Injected successfully

# Plugin „SwagExtensionStore“: Injected successfully

# Plugin „XantenLastSeenProduct“: Injected successfully

# Plugin „OrdMan“: Injected successfully

# Plugin „SwagExtensionStore“: Extends the webpack config successfully

Browserslist: caniuse-lite is outdated. Please run:  
npx update-browserslist-db@latest  
Why you should do it regularly: [GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config](https://github.com/browserslist/update-db#readme)  
node:internal/crypto/hash:71  
this[kHandle] = new \_Hash(algorithm, xofLen);  
^

Error: error:0308010C:digital envelope routines::unsupported  
at new Hash (node:internal/crypto/hash:71:19)  
at Object.createHash (node:crypto:130:10)  
at module.exports (/Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/webpack/lib/util/createHash.js:135:53)  
at NormalModule.\_initBuildHash (/Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/webpack/lib/NormalModule.js:417:16)  
at handleParseError (/Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/webpack/lib/NormalModule.js:471:10)  
at /Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/webpack/lib/NormalModule.js:503:5  
at /Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/webpack/lib/NormalModule.js:358:12  
at /Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/loader-runner/lib/LoaderRunner.js:373:3  
at iterateNormalLoaders (/Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/loader-runner/lib/LoaderRunner.js:214:10)  
at iterateNormalLoaders (/Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/loader-runner/lib/LoaderRunner.js:221:10)  
at /Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/loader-runner/lib/LoaderRunner.js:236:3  
at context.callback (/Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/loader-runner/lib/LoaderRunner.js:111:13)  
at /Users/maks/NetBeansProjects/neuhold/shopware/vendor/shopware/administration/Resources/app/administration/node\_modules/babel-loader/lib/index.js:59:71 {  
opensslErrorStack: [‚error:03000086:digital envelope routines::initialization error‘],  
library: ‚digital envelope routines‘,  
reason: ‚unsupported‘,  
code: ‚ERR\_OSSL\_EVP\_UNSUPPORTED‘  
}

---

<div class="post-metadata">

**Author:** ![makstech](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@makstech](https://forum.shopware.com/u/makstech)\
**Post date:** [18. Januar 2024 um 13:52 UTC](https://forum.shopware.com/t/administration-build-error/102556/2 "2024-01-18T13:52:18Z")

</div>

Hat wirklich niemand eine Idee woran das liegen könnte?

Leider bin ich noch nicht wirklich weiter. Der einzige Output den ich bis jetzt geschafft habe, war das ich die gesamte Shopware Umgebung bei meinen Versuchen „zerlegt“ habe.

Ich hatte eh ein Backup und habe dieses wieder eingespielt.

Liebe Grüße  
Maks

---

<div class="post-metadata">

**Author:** ![makstech](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@makstech](https://forum.shopware.com/u/makstech)\
**Post date:** [4. März 2024 um 19:35 UTC](https://forum.shopware.com/t/administration-build-error/102556/3 "2024-03-04T19:35:46Z")

</div>

Hi all,

es ist jetzt etwas Zeit vergangen aber ich wollte diesen Post nicht einfach im leeren Raum /ohne Lösung stehen lassen.

Ich konnte das Problem lösen, es waren veraltete node Packete bzw die falsche node Version auf meiner Dev Maschine. Nach der Anpasung der nodeJS Version und und dem Update (per composer) konnte ich dann erfolgreich „administration-build.sh“ ausführen und das Backend wurde erfolgreich gebaut.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [3. April 2024 um 19:36 UTC](https://forum.shopware.com/t/administration-build-error/102556/4 "2024-04-03T19:36:22Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
