Hello,
I am new to using Ionic. I have followed the installation guide and when it comes to running the command ionic start myApp tabs
, I get the dreadful error Unexpected end of JSON input while parsing near '...2V0TZa5V7QsgtnZhG25kB'
. I have tried running again multiple times with no success even after forcing cleaning the cache.
The last few lines of the log file look like:
2846 silly saveTree +-- typescript@3.1.6
2846 silly saveTree `-- zone.js@0.8.29
2847 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...2V0TZa5V7QsgtnZhG25kB'
2847 verbose stack at JSON.parse (<anonymous>)
2847 verbose stack at parseJson (C:\ProgramFiles\nodejs\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17)
2847 verbose stack at consumeBody.call.then.buffer (C:\ProgramFiles\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50)
2847 verbose stack at process._tickCallback (internal/process/next_tick.js:68:7)
2848 verbose cwd C:\Users\Amine Marref\Workspace\iconic\myApp
2849 verbose Windows_NT 10.0.17763
2850 verbose argv "C:\\ProgramFiles\\nodejs\\node.exe" "C:\\ProgramFiles\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i"
2851 verbose node v10.16.0
2852 verbose npm v6.9.0
2853 error Unexpected end of JSON input while parsing near '...2V0TZa5V7QsgtnZhG25kB'
2854 verbose exit [ 1, true ]
The complete log file: Log File
Any ideas?
Amine.