'flutter onesignal add problems "Expected to find project root in current working directory."
When I want to add onesignal to flutter, I get the following error. How can I solve it?
Solution 1:[1]
You'll get this error if you try run a command from outside the root of your flutter project folder. Simply type pwd in your project terminal, and the command will output the full path of your working directory. In VS code, you can quickly access the project root folder terminal by right clicking the folder then "open in integrated terminal".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Sharon |