Hi,
I am new to ionic and I get this error every time I try to start a new app:
C:\newProjects>ionic start app012 sidemenu
√ Preparing directory .\app012 - done!
√ Downloading and extracting sidemenu starter - done!
? Integrate your new app with Cordova to target native iOS and Android? No
Installing dependencies may take several minutes.
* IONIC DEVAPP *
Speed up development with the Ionic DevApp, our fast, on-device testing mobile
app
- Test on iOS and Android without Native SDKs
- LiveReload for instant style and JS updates
--> Install DevApp: https://bit.ly/ionic-dev-app <--
────────────────────────────────────────────────────────────
> npm i
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Br
owserslist >3.0 config used in other tools.
npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Pleas
e update to 4.x or newer
npm ERR! Unexpected end of JSON input while parsing near '...ke":"latest","merge
2"'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\public.ATK\AppData\Roaming\npm-cache\_logs\2018-08-20T12_0
6_08_177Z-debug.log
[ERROR] An error occurred while running subprocess npm.
npm i exited with exit code 1.
Re-running this command with the --verbose flag may provide more
information.
net.js:704
throw new TypeError(
^
TypeError: Invalid data, chunk must be a string or buffer, not object
at WriteStream.Socket.write (net.js:704:11)
at process.<anonymous> (C:\Users\public.ATK\AppData\Roaming\npm\node_modules
\ionic\bin\ionic:9:63)
at emitTwo (events.js:126:13)
at process.emit (events.js:214:7)
at emitPendingUnhandledRejections (internal/process/promises.js:108:22)
at runMicrotasksCallback (internal/process/next_tick.js:124:9)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)