Closed dadiorchen closed 2 years ago
Hi, I'm new to opensource and react but I would like to work on this issue.
I am getting this error when I tried to do npm install: notsup Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin"} (current: {"os":"linux","arch":"x64"})
Oh, that's weird, what's the OS you are using? How about delete package-lock.json then try again? You can open a issue on this if there still is problem
@dadiorchen I'm currently using the latest stable version of ubuntu also after deleting the lock file I get this error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: client@1.14.0
npm ERR! Found: eslint@6.6.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^6.6.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^5.16.0 || ^6.8.0 || ^7.2.0" from eslint-config-airbnb-base@14.2.0
npm ERR! node_modules/eslint-config-airbnb-base
npm ERR! dev eslint-config-airbnb-base@"^14.2.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /root/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-09-27T10_10_17_305Z-debug.log
Is it some problem from my side?
My current node version is v16.9.1 and npm version is 7.24.1
@ozer619 I will assume this is a bug in our project on special OS or as you said the node version, we still have no one working on ubuntu, could you please open a bug issue on github? don't forget add your OS and node version. So idea:
Thanks!
@dadiorchen I think I don't have permission to create an issue also I currently just have ubuntu.
Describe the bug The project crashes when we execute npm install on Ubuntu 20.04.3 LTS .
To Reproduce Steps to reproduce the behavior: (we recommend record a screenshot to show the case, like using http://loom.com to record)
Expected behavior Should install all the dependencies but gives this error:
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: undefined
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-09-28T04_53_28_997Z-debug.log
After deleting the package-lock.json and re-executing npm install:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: client@1.14.0
npm ERR! Found: eslint@6.6.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^6.6.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^5.16.0 || ^6.8.0 || ^7.2.0" from eslint-config-airbnb-base@14.2.0
npm ERR! node_modules/eslint-config-airbnb-base
npm ERR! dev eslint-config-airbnb-base@"^14.2.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/ozer/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ozer/.npm/_logs/2021-09-28T04_56_20_898Z-debug.log
** Node.js version v16.9.1
Desktop (please complete the following information):
@ozer619 I sent you an invitation by your gmail so you might be able to do it in the future, and I opened this issue for you, I will take some time to run it in my ubuntu docker later, we will help you figure it out! And it's also necessary to make it work on ubuntu, our prod env is using it.
Thanks!! @dadiorchen I'm really looking forward to contributing to this repo. I really hope its not a problem from my side :/
Are you still working on this ozer619?
Hi @ojafero I'm really really sorry I almost forgot about this Pr can you give me some time maybe 1 or 2 days I wanna try it out lowering my npm version and working on it .
Im really sorry for my inconvenience.
@ozer619 We recently set the project to use Node v16 (#182) so you should not need to lower your version. We also resolved the previous issue with installing the packages (#164). Pull the latest changes to your repo and you should no longer encounter that error.
Thanks @QuaidBartolomei I will be working on this issue now can someone assign me this issue?
Hi I'm almost done with my component altho im getting this error while commiting
husky > commit-msg (node v16.11.1)
⧗ input: added location component
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
husky > commit-msg hook failed (add --no-verify to bypass)
ozer@ozeys:~/worksapce/opensource/treetracker-web-map-client$ ✖ found 2 problems, 0 warnings
✖: command not found
can someone guide me how to fix this?
@ozer619 did you make it? I saw your PR it looks great
:tada: This issue has been resolved in version 1.15.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Some hints for building components: