Logo
Explore Help
Sign In
kenmirrors/MagicMirror
1
0
Fork 0
You've already forked MagicMirror
mirror of https://github.com/MichMich/MagicMirror.git synced 2025-06-27 19:53:36 +00:00
Code Issues Projects Releases Wiki Activity
MagicMirror/.npmrc

3 lines
31 B
Plaintext
Raw Normal View History

Add Npmrc (#3135) Fix engines check on npm install it will alow to check engine requirement of `package.json` actually: ```js "engines": { "node": ">=16" } ``` if requirements are not suitable, it's break installer ```sh bugsounet@Kubuntu:~/MagicMirror-dev$ npm install npm ERR! code EBADENGINE npm ERR! engine Unsupported engine npm ERR! engine Not compatible with your version of node/npm: magicmirror@2.24.0-develop npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.24.0-develop npm ERR! notsup Required: {"node":">=16"} npm ERR! notsup Actual: {"npm":"x.y.z","node":"v14.xx.yy"} ``` actually, it's just a warn: ```sh bugsounet@KUbuntu:~/MagicMirror-dev$ npm install npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'magicmirror@2.24.0-develop', npm WARN EBADENGINE required: { node: '>=16' }, npm WARN EBADENGINE current: { node: 'v14.xx.yy', npm: 'x.y.z' } npm WARN EBADENGINE } ... ``` and don't break installation, this can causes errors in the main core of MM² --------- Co-authored-by: veeck <michael.veeck@nebenan.de>
2023-08-20 13:14:21 +02:00
engine-strict=true
audit=false
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 456ms Template repo/home: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API