Closed codthing closed 3 years ago
In your log, we can see that you have a network problem.
@WrathChaos I don't think it is a network problem, it may be that this library is not compatible with Expo40 and TypeScript.
expo install WrathChaos/react-native-dynamic-search-bar#expo
Expo40 is just arrived never tried to work on it. I will try and fix it asap :) I will inform you today
Expo40 is just arrived never tried to work on it. I will try and fix it asap :) I will inform you today
Many Thx
I'm using Expo SDK 40 and it's working perfectly
@mofengfs I've fixed the main path bug :) Can you please try it?
Sorry, still not possible
enoent undefined ls-remote -h -t ssh://git@github.com/WrathChaos/react-native-dynamic-search-bar.git
It seems that something is not defined correctly. . .
I'm using Expo SDK 40 and it's working perfectly
Can I take a look at your command line?
I'm using Expo SDK 40 and it's working perfectly
Can I take a look at your command line?
I used Yarn, maybe it's a NPM error
I can install it via NPM without a problem. @mofengfs Can you clean your npm cache? Because your local npm has a problem with it, also please upgrade the npm version.
@WrathChaos
I tried upgrading npm and clearing the cache, but it still doesn’t work
@mofengfs seems to be an NPM error. Try the same commands by opening the terminal as an administrator or re-install the NPM
@andresribeiro I tried to reinstall the new node and overwrite the old npm. It's still the same.
@andresribeiro I tried to reinstall the new node and overwrite the old npm. It's still the same.
Can you install other packages with NPM?
@mofengfs can you try another terminal? Like VSCode internal one?
@andresribeiro
Yes, I can use npm to install other packages. But compared to yarn, it is still too slow.
@WrathChaos
Yes, I have tried to install with VScode terminal.
@WrathChaos
By the way, neither of my two computers can be installed.
Also, my two computers use different network cables.
However, I use VPN. Because I live in a communist country. You know the reason. So I had to use VPN.
What makes me happy is that I can install other plug-ins you make.
Finally fixed the problem. Can you please re-try to npm i
if it's still not working please use this on your package.json
:
"react-native-dynamic-search-bar": "git+https://github.com/WrathChaos/react-native-dynamic-search-bar#expo",
Finally fixed the problem. Can you please re-try to
npm i
if it's still not working please use this on yourpackage.json
:"react-native-dynamic-search-bar": "git+https://github.com/WrathChaos/react-native-dynamic-search-bar#expo",
I tried the npm installation first, without success. Then I added "react-native-dynamic-search-bar": "git+https://github.com/WrathChaos/react-native-dynamic-search-bar#expo" to package.json. But it stopped here. . .
@WrathChaos
Could it be because of the way your Link is named? Such as #expo
,Or WrathChaos
without @
in front
@WrathChaos
It ended up reporting an error
@mofengfs I can literally be able to install the package into a fresh expo init project without a problem. Can you try to initialize a fresh project with:
expo init -t expo-template-blank-typescript test-example --npm
then
npm i WrathChaos/react-native-dynamic-search-bar#expo
@WrathChaos Sorry, this method is not suitable for me. It takes a long time to install dependent packages. There has been no response.
@mofengfs If you cannot even generate a fresh RN project, you definitely have some problems on the terminal side or your preferences or your network.
@WrathChaos I think It's NPM issues. the project can be generated. But if the dependencies are installed through NPM. Will fail.
I think you need to uninstall whole node, npm and re-install again.
@WrathChaos
I uninstalled Node.js and cleared the registry -> Restart the computer -> Then install Node.js
current
version -> Recreate the project ->npm i WrathChaos/react-native-dynamic-search-bar#expo
-> Failed
debug.log
@mofengfs Can you try my another expo supported library:
npm i WrathChaos/react-native-dynamic-vector-icons#expo
Here is the library link: https://github.com/WrathChaos/react-native-dynamic-vector-icons
@WrathChaos I try it:
I think you have a problem with installing sub-modules. Can you research about git submodule
? What I do is just a sub-module on git that's it.
No matter I use yarn or npm, I can't install it.
my version:
"expo": "~40.0.0"
"react": "16.13.1"
"react-dom": "16.13.1"
"react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz"