NPM error trying to install expo version
See original GitHub issueWhen I try to install the “Expo version” with command: npm i Wrath Chaos/react-native-dynamic-search-bar#expo
I receive the following error:
npm ERR! prepareGitDep 1>
npm ERR! prepareGitDep > @expo/vector-icons@10.0.6 prepare C:\Users\user\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-eb8ba27f
npm ERR! prepareGitDep > expo-module prepare && npm run generate-lazy && npm run copy-vendor
npm ERR! prepareGitDep
npm ERR! prepareGitDep
npm ERR! prepareGitDep 2> npm WARN install Usage of the `--dev` option is deprecated. Use `--only=dev` instead.
npm ERR! prepareGitDep C:\Users\user\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-eb8ba27f\node_modules\expo-module-scripts\bin\expo-module-prepare:3
npm ERR! prepareGitDep set -eo pipefail
npm ERR! prepareGitDep ^^^^^^^^
npm ERR! prepareGitDep
npm ERR! prepareGitDep SyntaxError: Unexpected identifier
npm ERR! prepareGitDep at wrapSafe (internal/modules/cjs/loader.js:1070:16)
npm ERR! prepareGitDep at Module._compile (internal/modules/cjs/loader.js:1120:27)
npm ERR! prepareGitDep at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
npm ERR! prepareGitDep at Module.load (internal/modules/cjs/loader.js:1000:32)
npm ERR! prepareGitDep at Function.Module._load (internal/modules/cjs/loader.js:899:14)
npm ERR! prepareGitDep at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
npm ERR! prepareGitDep at internal/main/run_main_module.js:18:47
npm ERR! prepareGitDep npm ERR! code ELIFECYCLE
npm ERR! prepareGitDep npm ERR! errno 1
npm ERR! prepareGitDep npm ERR! @expo/vector-icons@10.0.6 prepare: `expo-module prepare && npm run generate-lazy && npm run copy-vendor`
npm ERR! prepareGitDep npm ERR! Exit status 1
npm ERR! prepareGitDep npm ERR!
npm ERR! prepareGitDep npm ERR! Failed at the @expo/vector-icons@10.0.6 prepare script.
npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! prepareGitDep
npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in:
npm ERR! prepareGitDep npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-04-30T12_01_05_745Z-debug.log
npm ERR! prepareGitDep
npm ERR! premature close
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-04-30T12_01_05_909Z-debug.log
Any idea?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Can't run "npm install expo-cli --global" - Stack Overflow
open the command prompt and run it as administrator . · recommended npm uninstall --global expo-cli . · run the command npm cache...
Read more >Common development errors - Expo Documentation
A list of common development errors that are encountered by developers using ... Try running npx expo start --no-dev --minify to reproduce the...
Read more >Can't install expo-cli · Discussion #590 - GitHub
What worked for me was simply upgrading node version. I saw an error message which stated that node 12 >= version is required...
Read more >React Native Expo : npm install expo cli error solved - YouTube
Support the stream: https://streamlabs.com/svmathtutornpm install expo cli error solved by using --global in Windows Powershell instead of ...
Read more >expo - npm
The Expo SDK. Latest version: 47.0.8, last published: 22 days ago. Start using expo in your project by running `npm i expo`.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello guys, @Toweoner, @Tecnochii , @bombillazo
Really sorry for the very late fix.
I updated the expo branch. Also, left an expo-example it is an extremely basic example but it works. Can you please take a look at the new expo?
Edit: Please do not forget to remove the
"react-native-dynamic-search-bar": "github:WrathChaos/react-native-dynamic-search-bar#expo",
and re-install withnpm i
oryarn
😃 Thank you waiting for your feedback guys!Any update on the root cause of this error?