Closed yzyDavid closed 6 years ago
Please update to the latest leetcode-cli:
npm install -g leetcode-cli
Thx!
I issued that for initially I did not update it and I got a template generated successfully, now I thought it might be cached a few months ago. sorry for the trouble
leetcode show 4 -g -l cpp -x -vv [TRACE] found plugin: cache=default [TRACE] inited plugin: cache [TRACE] found plugin: leetcode=default [TRACE] inited plugin: leetcode [TRACE] found plugin: retry=default [TRACE] inited plugin: retry [DEBUG] running leetcode.getProblems [DEBUG] running leetcode.getCategoryProblems: algorithms [TRACE] REQUEST %s { url: 'https://leetcode.com/api/problems/algorithms/', headers:,,,,,,
{ Cookie:
'X-CSRFToken':
'X-Requested-With': 'XMLHttpRequest' },
callback: [Function] }
[DEBUG] running leetcode.getCategoryProblems: database [TRACE] REQUEST %s { url: 'https://leetcode.com/api/problems/database/', headers:
{ Cookie:
'X-CSRFToken':
'X-Requested-With': 'XMLHttpRequest' },
callback: [Function] }
[DEBUG] running leetcode.getCategoryProblems: shell [TRACE] REQUEST %s { url: 'https://leetcode.com/api/problems/shell/', headers:
{ Cookie:
'X-CSRFToken':
'X-Requested-With': 'XMLHttpRequest' },
callback: [Function] }
[TRACE] REQUEST %s make request https://leetcode.com/api/problems/algorithms/ [TRACE] REQUEST %s make request https://leetcode.com/api/problems/database/ [TRACE] REQUEST %s make request https://leetcode.com/api/problems/shell/ [TRACE] REQUEST %s onRequestResponse https://leetcode.com/api/problems/shell/ 200 { date: 'Wed, 21 Feb 2018 15:56:49 GMT', 'content-type': 'text/html; charset=utf-8',
'transfer-encoding': 'chunked',
connection: 'close',
'set-cookie':