vscode-react-native
vscode-react-native copied to clipboard
this.project.getWorkspaceFolder is not a function
🐛 What is the bug? How can we reproduce it?
An error is reported when you call stop package manager in the task configuration.
But there is no problem with invoking directly via command.
Version v1.13.0
- Create a task.json and setting config
{
"label": "Stop Packager",
"command": "${command:reactNative.stopPackager}",
"problemMatcher": []
},
- Call this task
The notification area displays an error.
Log here:
Expected behavior
What were you expecting to happen? No error.
Debug output
Debug Console
PASTE OUTPUT OF DEBUG CONSOLE (View -> Toggle Debug Console)
React Native output channel
PASTE OUTPUT OF REACT-NATIVE OUTPUT CHANNEL (View -> Toggle Output -> Select React-Native in ListBox)
Developer Tools console
PASTE OUTPUT OF DEVELOPER TOOLS CONSOLE (Help -> Toggle Developer Tools -> Select Console tab)
Environment
Please tell us about your system and your project:
npx react-native doctorornpx expo doctorif your project is using Expo:
PASTE OUTPUT OF `npx react-native doctor` or `npx expo doctor`
envinfo:
PASTE OUTPUT OF `npx envinfo`
- React Native Tools extension version: VERSION
- Expo SDK version (if applicable): VERSION
Hey @zhaoxuyll , thanks for reaching us. Will fix this issue currently, any update will comment here, thank you!