botonic icon indicating copy to clipboard operation
botonic copied to clipboard

dependencies installation failed error

Open NarendraG02 opened this issue 3 years ago • 4 comments

Describe the bug While executing ' botonic new myBot blank ' , dependencies installation failed error occurs.

System Details Windiow 10 64 bit Nodejs LTS 16.13.0 is installed

What is the expected behaviour? Bot should be created after execution of command

Screenshots ERROR

About the environment Installed latest version of @botonic/cli 0.20.0 image

Please revert back as soon as possible @DanielRuf @ericmarcos @gbarba @asastre @dpinol

NarendraG02 avatar Nov 16 '21 09:11 NarendraG02

Not sure why I was mentioned here, I have nothing to do with this project.

You might want to try npm 6 or skip installing peer dependencies and install them yourself with the correct versions (React).

Please read https://github.blog/2021-02-02-npm-7-is-now-generally-available/#peer-dependencies and try the mentioned flags:

You have the option to retry with --force to bypass the conflict or --legacy-peer-deps command to ignore peer dependencies entirely (this behavior is similar to versions 4-6).

DanielRuf avatar Nov 16 '21 09:11 DanielRuf

See https://github.com/hubtype/botonic/commits?author=DanielRuf, I did only one small change. I am not an active contributor or maintainer of this project ;-)

DanielRuf avatar Nov 16 '21 09:11 DanielRuf

Thanks @DanielRuf for your contribution! I agree with trying npm 6 or skipping installing peer dependencies and install them after. @NarendraG02, @appleearth008 and @jackLiMeetKai you should go for this option meanwhile we try to support this.

vanbasten17 avatar Nov 16 '21 11:11 vanbasten17

I had same issue downgrading node to v14 helped me install the dependencies.

aalisher5 avatar Jun 07 '22 12:06 aalisher5