AndrewDongminYoo / react-native-step-counter

[리액트 네이티브 라이브러리] 사용자의 걸음 수를 계산합니다. Android는 StepCounter (or Accelerometer) 센서 API를, iOS는 CoreMotion CMPedometer 를 사용하여 걸음 수를 측정합니다.
https://andrewdongminyoo.github.io/react-native-step-counter/
MIT License
29 stars 10 forks source link

'react-native-step-counter@*' is not in this registry. #48

Closed Pardeep7 closed 4 months ago

Pardeep7 commented 4 months ago

When i install this package then it show below error npm WARN using --force Recommended protections disabled. npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/react-native-step-counter - Not found npm ERR! 404 npm ERR! 404 'react-native-step-counter@*' is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: /Users/apple/.npm/_logs/2024-04-22T06_58_11_308Z-debug-0.log

bendspoons commented 4 months ago

@Pardeep7 Use npm i @dongminyu/react-native-step-counter instead

AndrewDongminYoo commented 4 months ago

I wanted to use the name react-native-step-counter, but when I tried to npm publish it, I was told it wasn't allowed because there was an existing library with a similar name and it could be confusing. I feel like it added to the confusion. I don't like the package name either because it's too long, but you can try installing it as @dongminyu/react-native-step-counter.