Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 737 Bytes

20210510_adapter-react-fix.md

File metadata and controls

18 lines (12 loc) · 737 Bytes

Fix adapter-react dependencies

Up until version 1.6.14 of @iobroker/adapter-react one had to manually add dependencies to the package.json file. This is now obsolete.

You may update your devDependencies in package.json as follows:

  • explicitly set @iobroker/adapter-react to version 1.6.15
  • remove any indirect dependencies if you are not using them:
    • @material-ui/icons
    • react-icons
    • @sentry/browser

Your package.json should now look similar to:

  • this for JavaScript
  • this for TypeScript

After these modifications, call npm install in your adapter root directory.