miikka
11 years agoMaven
[SDK] Error while creating a project
When running the command of 'li create-project' for creating a local repository and to connect to our development site (15.10), I'm getting this error:
Invalid response from server. Check your server url and version.
/usr/local/lib/node_modules/lithium-sdk/lib/version-check.js:77
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:94:13)
at Request._callback (/usr/local/lib/node_modules/lithium-sdk/lib/version-check.js:31:17)
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)
Interestingly enough, this happens on the same computers (Mac and Windows 10) from where I can connect and export plugins from our stage instance without problems now. I'm running the version 1.0.0 of the SDK, node v.4.2.1 and npm v.2.14.7
I have created an upload token and am using that when running the create-project command.