android-js / androidjs

Platform to build android app using node js
MIT License
463 stars 109 forks source link

Failed androidjs b ---- Invalid project type: undefined #98

Open sbom00 opened 4 years ago

sbom00 commented 4 years ago

I do androidjs init and input app name and project type, (which only allows me to choose webview as project type) In seuquence I do a androidjs build and it fails giving out the following message:

Invalid project type: undefined

I've looked into my package-json and it says:

"project-name": "webview",
"project-type": "webview,"

If I'm missing something trivial and natural please forgive me, I'm new to the enviroment

Chhekur commented 4 years ago

Hi, first thing there is no attribute with project-name, it is actually package-name.

Feel free to ask in case of any error ; )

quartze commented 4 years ago
"project-name": "webview",
"project-type": "webview,"

delete this "," in project-type and will be fine:

"project-name": "webview",
"project-type: "webview",
Chhekur commented 4 years ago

Hey, we have created a slack channel for support & discussion: join here