Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

phonegap create error #829

Open
LillyWebsites opened this issue May 1, 2020 · 1 comment
Open

phonegap create error #829

LillyWebsites opened this issue May 1, 2020 · 1 comment

Comments

@LillyWebsites
Copy link

PhoneGap CLI, node & npm versions

phonegap -v
9.0.0
node -v
v10.15.0
npm -v
6.4.1

Expected Behaviour

create a new project

Actual Behaviour

unhandled exceptions

Steps to Reproduce

phonegap create [path] [id] [name]

Sample Code that illustrates the problem

Error messages

There was an unhandled exception within phonegap-cli! If you would like to help the PhoneGap project, please file the following details over at https://github.com/phonegap/phonegap-cli/issues
SyntaxError: Unexpected token l in JSON at position 0
at JSON.parse ()
at CLI.module.exports [as create] (C:\Users\User\AppData\Roaming\npm\node_modules\phonegap\lib\cli\create.js:32:22)
at CLI.module.exports [as argv] (C:\Users\User\AppData\Roaming\npm\node_modules\phonegap\lib\cli\argv.js:111:17)
at runPhoneGapCommand (C:\Users\User\AppData\Roaming\npm\node_modules\phonegap\bin\phonegap.js:46:9)
at Object. (C:\Users\User\AppData\Roaming\npm\node_modules\phonegap\bin\phonegap.js:38:5)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)

@LillyWebsites
Copy link
Author

After updating node and without ID/Name Parameters it worked

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

No branches or pull requests

1 participant