Topic: mdbreact install

Randall.eikelboom free asked 3 years ago


Expected behavior

Actual behavior not able into install mdbreact into project. i can run ... npx create-react-app my-app.... without any issues. however when trying to install mdbreact dependency, I get nothing but npm warn and npm errors. Hoping you may have some suggestions....

Resources (screenshots, code snippets etc.) .....this is just a small portion of the errors I'm getting....

npm WARN Found: react-dom@17.0.1 npm WARN node_modules/react-dom npm WARN react-dom@"17.0.1" from mdbreact@5.0.1 npm WARN node_modules/mdbreact npm WARN mdbreact@"git+https://oauth2:xxxxxxxxxxxxxxxxx@git.mdbootstrap.com/mdb/react/re-pro.git" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer react-dom@"^15.5.4 || ^16.0.0" from react-scroll@1.7.16 npm WARN node_modules/react-scroll npm WARN react-scroll@"1.7.16" from mdbreact@5.0.1 npm WARN node_modules/mdbreact npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 npm WARN deprecated material-ui-pickers@2.2.4: You can now upgrade to @material-ui/pickers. Documentation for v2 can be found at https://material-ui-pickers-v2.dmtr-kovalenko.now.sh/ npm WARN deprecated core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm ERR! code 1 npm ERR! git dep preparation failed npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/randalleikelboom/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm WARN ERESOLVE overriding peer dependency npm ERR! npm WARN Found: react@17.0.1 npm ERR! npm WARN node_modules/react npm ERR! npm WARN react@"17.0.1" from the root project npm ERR! npm WARN npm ERR! npm WARN Could not resolve dependency: npm ERR! npm WARN peer react@"^16.3.0" from @material-ui/core@3.9.3 npm ERR! npm WARN node_modules/@material-ui/core npm ERR! npm WARN @material-ui/core@"3.9.3" from the root project npm ERR! npm WARN ERESOLVE overriding peer dependency npm ERR! npm WARN Found: react-dom@17.0.1 npm ERR! npm WARN node_modules/react-dom npm ERR! npm WARN react-dom@"17.0.1" from the root project npm ERR! npm WARN npm ERR! npm WARN Could not resolve dependency: npm ERR! npm WARN peer react-dom@"^16.3.0" from @material-ui/core@3.9.3 npm ERR! npm WARN node_modules/@material-ui/core npm ERR! npm WARN @material-ui/core@"3.9.3" from the root project npm ERR! npm WARN ERESOLVE overriding peer dependency npm ERR! npm WARN Found: prop-types@15.7.2


Krzysztof Wilk staff commented 3 years ago

Hi!

Which React version do you have in your project? Our package requires at least 17.0.1.

You can also try to install this package using yarn instead of npm.

Best regards



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.19.1
  • Device: mac
  • Browser: chrome
  • OS: os
  • Provided sample code: No
  • Provided link: Yes