Forum Discussion
miikka
Maven
Hi TariqHussain,
I actually tried both initially but then understood it needs to be https. So for us the issue was ultimately fixed by the backend config change.
The script should give a meaningful error message if somebody puts in an URL with just http, that's maybe something to be included in the coming versions of the SDK. As that's a very simple mistake to make there, especially if copy-pasteing the URL from your browser where you might be using http.
miikka
9 years agoMaven
Resurrecting this old topic as I'm now upgraded to SDK v. 1.2.1 on Windows 10 and am getting a new error when creating a project:
C:\Users\miikkaso\Source\Repos\commerce_web_community-responsive>li create-project
? What is your repository name?
? What is your repository name?
Only lower case characters, numbers or hyphens (-) are allowed. plugin
? What is the URL (include port if exists) to the dev/stage site that you will connect to (beginning with "https://")? https://community-stage.skype.com
? Do you have a plugin token (if not press enter)? THE_PLUGIN_TOKEN_WAS_HERE
readline.js:924
throw err;
^
Error: write EINVAL
at exports._errnoException (util.js:874:11)
at WriteStream.Socket._writeGeneric (net.js:675:26)
at WriteStream.Socket._write (net.js:694:8)
at doWrite (_stream_writable.js:292:12)
at writeOrBuffer (_stream_writable.js:278:5)
at WriteStream.Writable.write (_stream_writable.js:207:11)
at WriteStream.Socket.write (net.js:618:40)
at PromptUI.UI.close (C:\Users\miikkaso\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\inquirer\lib\ui\baseUI.js:62:18)
at PromptUI.onCompletion (C:\Users\miikkaso\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\inquirer\lib\ui\prompt.js:66:8)
at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.completed (C:\Users\miikkaso\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\inquirer\node_modules\rx\dist\rx.js:1793:12)
Has anybody seen something similar and if yes, what was the workaround?
DougS, this might be something interesting for you :smileyhappy:
Cheers,
.M
Related Content
- 10 months ago
- 2 years ago
- 2 years ago
- 2 years ago