-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example is not working #16
Comments
Hi @jorgtz, you'll need to run Also, since this contains a native module that isn't part of the Expo Go app, you'll need to run |
Add notes for Expo beginners - Include instructions for creating a development build - Explain how to generate native Android and iOS projects - Provide best practices for version control - Add collapsible details section for better readability I hope this PR prevent these types of issues jamsch#5, jamsch#16 , jamsch#19
Add notes for Expo beginners - Include instructions for creating a development build - Explain how to generate native Android and iOS projects - Provide best practices for version control - Add collapsible details section for better readability I hope this PR prevent these types of issues #5, #16 , #19
Hey @danny188 Just to confirm: have you ran |
Hi @jamsch , I was able to build after running
|
@danny188 The |
Hi @jamsch , npm version 10.7.0 There was a npm error when I ran |
@danny188 Unfortunately it seems like expo-module-scripts doesn't support Windows so I'm not sure what can be done there. I think the best luck you'll have running the example app is to do the following:
"paths": {
"expo-speech-recognition": ["../src/index"],
"expo-speech-recognition/*": ["../src/*"]
},
plugins: [
[
"module-resolver",
{
extensions: [".tsx", ".ts", ".js", ".json"],
alias: {
// For development, we want to alias the library to the source
"expo-speech-recognition": path.join(
__dirname,
"..",
"src",
"index.ts",
),
},
},
],
],
|
@danny188 Also, I've just tested the permissions on an Android 9 emulator and it seems okay. I did have a slight bug on the example app where the state wasn't reset if the user denied permissions but I've pushed a small fix for that right now. |
@jamsch I was able to run the example app after your suggested changes :D Thanks! |
I have cloned this project, then cd into example, then
npx expo start
and gotHow to solve it?
Also what node version is recommended for this project?
Thanks!
The text was updated successfully, but these errors were encountered: