Error when i try to start a new project

I recently installed the latest version of nodejs v8.2.1 and I am using windows 10

After that, i wanted to install the cordova and ionic packages so I ran the command

npm install -g cordova

after installing cordova i tested it out by running this command in my cordova project dir

cordova run --emulate

it ran well
and then i install ionic package

npm install -g ionic

installing both packages was successfull i didn’t see any issue
but when i wanted to start a new ionic project by running this command i got an error

ionic start myApp tabs

after running the command, i got the error below

× Running command - failed!
[ERROR] An error occurred while running npm install (exit code 1):

    npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
    npm ERR! Unexpected end of input at 1:69583
    npm ERR! ,"directories":{},"dist":{"shasum":"8d58fc7b9c0cf3ea5fad732628c662a21
    npm ERR! ^

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\Hammam Afiq\AppData\Roaming\npm-cache\_logs\2017-08-13T09_56_12_229Z-debug.log

i have tried uninstall and install ionic so many times, but i still get the same error

here is the complete log file

please help

ionic -v

cordova -v

node -v

If you don’t get any better answers, I would recommend always using the latest LTS versions of node with Ionic. Somebody is always going to be the first to bang into incompatibilities with new node versions, and if you’re always installing bleeding-edge node/npm, that somebody is going to be you.