Skip to content
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

Error: Current working directory is not a Cordova-based project. #15

Open
vikramIde opened this issue Jul 13, 2017 · 8 comments
Open

Error: Current working directory is not a Cordova-based project. #15

vikramIde opened this issue Jul 13, 2017 · 8 comments

Comments

@vikramIde
Copy link

Did the same thing as explained in the documentation but getting the above error when I run

npm run browser

@BennyAlex
Copy link

@kartsims
I get the same issue and I dont know how to fix it...
I tried cordova platfor add android but even this will caused this error.

@kartsims
Copy link
Owner

please send NPM and node versions

@BennyAlex
Copy link

I have everything @latest:
npm: 5.4.2
node: 8.5.0

@canincarlos
Copy link

Has this been resolved?

I'm trying to run on android and am getting an error with the ansistyles npm package ?

@kartsims
Copy link
Owner

Sorry @cultureclap I didn't look into that.
For android support, I just merged a PR that doesn't suggest anything is wrong with android.

@Pitu
Copy link

Pitu commented Apr 4, 2018

That error often happens when there isn't a www directory inside your Cordova project.

@rlam3
Copy link

rlam3 commented Apr 19, 2018

is this error still persisting?

@DylanC
Copy link

DylanC commented May 2, 2018

Just do npm install first. It works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants