0

I am getting this error, while creating a project. What could be the reason?

$ sfdx force:project:create -n mysfdxproj
 !    Unexpected token '<' at 7:1 in ..\package.json
 !    <!DOCTYPE html>
 !
4
  • 1
    You got an HTML file instead of a JSON file. Let me check real quick.
    – sfdcfox
    Commented Oct 18, 2017 at 19:57
  • Try updating your CLI: sfdx update, then try your request again.
    – sfdcfox
    Commented Oct 18, 2017 at 20:25
  • $ sfdx update sfdx-cli: Updating CLI... already on latest version: 6.0.9-3391781 sfdx-cli: Updating plugins... done
    – Ajay
    Commented Oct 18, 2017 at 20:59
  • @sfdcfox, I already have the updated one.
    – Ajay
    Commented Oct 18, 2017 at 20:59

1 Answer 1

0

There was an issue with D drive. I tried creating workspace in C drive, everything works great. However the error was unclear, and somehow figured it out.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .