Closed vedovelli closed 3 years ago
You have a dependency conflict, do you have React installed globally? We can check this with the following command:
npm list -g --depth 0
@vedovelli This should be fixed now as I just published a new release. Can you try again?
You have a dependency conflict, do you have React installed globally? We can check this with the following command:
npm list -g --depth 0
Hey @markhughes. That's not the case. @flybayer fixed it already but just FYI this is what I have installed globally.
@vedovelli This should be fixed now as I just published a new release. Can you try again?
@flybayer Thanks for taking care so quickly! It is indeed installed, with a bunch of warnings, but in the end, installed!
~ npm install -g blitz 2254ms Wed Mar 10 04:48:30 2021
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: react@0.0.0-experimental-3310209d0
npm WARN node_modules/blitz/node_modules/@blitzjs/installer/node_modules/react
npm WARN react@"0.0.0-experimental-3310209d0" from @blitzjs/installer@0.32.0
npm WARN node_modules/blitz/node_modules/@blitzjs/installer
npm WARN @blitzjs/installer@"0.32.0" from blitz@0.32.0
npm WARN node_modules/blitz
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.8.2" from ink-spinner@4.0.1
npm WARN node_modules/blitz/node_modules/@blitzjs/installer/node_modules/ink-spinner
npm WARN ink-spinner@"4.0.1" from @blitzjs/installer@0.32.0
npm WARN node_modules/blitz/node_modules/@blitzjs/installer
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: react@17.0.1
npm WARN node_modules/blitz/node_modules/react
npm WARN peer react@"*" from @testing-library/react@11.2.5
npm WARN node_modules/blitz/node_modules/@testing-library/react
npm WARN @testing-library/react@"^11.2.3" from blitz@0.32.0
npm WARN node_modules/blitz
npm WARN 5 more (react-dom, @testing-library/react-hooks, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.0.0" from react-reconciler@0.24.0
npm WARN node_modules/blitz/node_modules/ink/node_modules/react-reconciler
npm WARN react-reconciler@"^0.24.0" from ink@3.0.8
npm WARN node_modules/blitz/node_modules/ink
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: react@17.0.1
npm WARN node_modules/blitz/node_modules/react
npm WARN peer react@"*" from @testing-library/react@11.2.5
npm WARN node_modules/blitz/node_modules/@testing-library/react
npm WARN @testing-library/react@"^11.2.3" from blitz@0.32.0
npm WARN node_modules/blitz
npm WARN 5 more (react-dom, @testing-library/react-hooks, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.0.0" from react-reconciler@0.24.0
npm WARN node_modules/blitz/node_modules/ink/node_modules/react-reconciler
npm WARN react-reconciler@"^0.24.0" from ink@3.0.8
npm WARN node_modules/blitz/node_modules/ink
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
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
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 babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 1782 packages, and audited 1783 packages in 58s
124 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
🚀
Just did a quick evaluation and WOW! Blitz is 🔥!
Thanks a lot!
What is the problem?
I am trying to install Blitz cli on my MacOSX
Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
1.
Run
blitz -v
and paste the output here: