Forum Discussion
MeghaM
Lithium Alumni (Retired)
Hi miikka
We released a new version of sdk that should fix this issue. Can you please retry?
npm ls -g lithium-sdk --depth=0 /usr/local/lib └── lithium-sdk@1.0.2
I was just able to successfully create a project without being on vpn.
li create-project ? What is your repository name? Only lower case characters, numbers or hyphens (-) are allowed. testskypec2 ? What is the URL (include port if exists) to the dev/stage site that you will connect to (beginning with "https://")? https://ktjwy84477.stage.lithium.com ? Do you have a plugin token (if not press enter)? xx [13:58:24] Starting: npm link lithium-sdk /Users/<snipped>/sdk-testing/testskypec2/node_modules/lithium-sdk -> /usr/local/lib/node_modules/lithium-sdk [13:58:24] Finished: npm link lithium-sdk [13:58:24] Starting: npm link gulp /Users/megha.meshram/sdk-testing/testskypec2/node_modules/gulp -> /usr/local/lib/node_modules/gulp [13:58:25] Finished: npm link gulp [13:58:25] Starting: npm install npm WARN package.json testskypec2@ No license field. [13:58:32] Finished: npm install [13:58:32] Created testskypec2
miikka
9 years agoMaven
Hi MeghaM,
I just updated to 1.0.2 on Mac:
npm ls -g lithium-sdk --depth=0 /usr/local/lib └── lithium-sdk@1.0.2
But I still seem to be getting the same error when creating a project against the responsive dev site:
[12:22:15] got an error when trying to make the call: null [12:22:15] Invalid response from server. Check your server url and version. /usr/local/lib/node_modules/lithium-sdk/lib/version-check.js:79 throw error; ^ Error: Invalid response from server. Check your server url and version. at parseResponse (/usr/local/lib/node_modules/lithium-sdk/lib/version-check.js:96:13) at Request._callback (/usr/local/lib/node_modules/lithium-sdk/lib/version-check.js:33:15) at Request.self.callback (/usr/local/lib/node_modules/lithium-sdk/node_modules/request/request.js:199:22) at emitTwo (events.js:87:13) at Request.emit (events.js:172:7) at Request.<anonymous> (/usr/local/lib/node_modules/lithium-sdk/node_modules/request/request.js:1160:14) at emitOne (events.js:82:20) at Request.emit (events.js:169:7) at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/lithium-sdk/node_modules/request/request.js:1111:12) at emitNone (events.js:72:20)
I assume that the 'null' above means no connection to the server could be established and that the response is empty?
Cheers,
.M
Related Content
- 10 months ago
- 2 years ago
- 2 years ago
- 2 years ago