flutter onesignal add problems "Expected to find project root in current working directory."
2,759
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".
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on January 03, 2023Comments
-
Admin over 1 year
When I want to add onesignal to flutter, I get the following error. How can I solve it?
-
Diwyansh over 2 yearsAre you running this command in your project folder?
-
Admin over 2 yearsno, dont project work
-
Diwyansh over 2 yearsI mean are you running this command in your application folder?
-
Admin over 2 yearsi run this command where flutter is installed
-
Diwyansh over 2 yearsBut you have to run this command in your application folder.
-