Forum Discussion
Hi miikka,
Were you able to get this working on your responsive stage site? I tried this on a windows 8 machine and was able to create a project. Here is the output from my attempt:
C:\Users\lithium\AppData\Roaming\npm
└── lithium-sdk@1.0.0
C:\Users\lithium>node -v
v4.2.2
C:\Users\lithium>npm -v
2.14.7
C:\Users\lithium>npm ls -g lithium-sdk --depth=0
C:\Users\lithium\AppData\Roaming\npm
└── lithium-sdk@1.0.0
C:\Users\lithium>li create-project
? What is your repository name?
Only lower case characters, numbers or hyphens (-) are allowed. myrespstagesite
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
? What is the URL (include port if exists) to the dev/stage site that you will c
onnect to (beginning with "https://")? https://myrespstagesite.stage.lithium.com
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? () xxxx-xxxx-xxxx-xxxx-xx
? Do you have a plugin token (if not press enter)? xxxx-xxxx-xxxx-xxxx-xxxxxxxx
[13:51:49] C:\Users\lithium\myrespstagesite\gulpfile.js
[13:51:49] C:\Users\lithium\myrespstagesite\res [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\sdk.conf.json
[13:51:49] C:\Users\lithium\myrespstagesite\template.server.conf.json
[13:51:49] C:\Users\lithium\myrespstagesite\web [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\.gitignore
[13:51:49] C:\Users\lithium\myrespstagesite\package.json
[13:51:49] C:\Users\lithium\myrespstagesite\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\res\components [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\res\controllers [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\res\endpoints [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\res\init [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\res\lang [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\res\layouts [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\res\macros [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\res\quilts [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\res\skins [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\web\html [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\web\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\res\components\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\res\controllers\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\res\endpoints\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\res\init\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\res\lang\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\res\layouts\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\res\macros\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\res\quilts\custom [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\res\quilts\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\res\skins\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\web\html\assets [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\web\html\badge_icons [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\web\html\rank_icons [DIR]
[13:51:49] C:\Users\lithium\myrespstagesite\res\quilts\custom\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\web\html\assets\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\web\html\badge_icons\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\web\html\rank_icons\README.md
[13:51:49] C:\Users\lithium\myrespstagesite\server.conf.json
[13:51:49] Starting: npm link lithium-sdk
C:\Users\lithium\myrespstagesite\node_modules\lithium-sdk -> C:\Users\lithium\App
Data\Roaming\npm\node_modules\lithium-sdk
[13:51:51] Finished: npm link lithium-sdk
[13:51:51] Starting: npm link gulp
C:\Users\lithium\myrespstagesite\node_modules\gulp -> C:\Users\lithium\AppData\Ro
aming\npm\node_modules\gulp
[13:51:52] Finished: npm link gulp
[13:51:52] Starting: npm install
npm WARN package.json myrespstagesite@ No license field.
[13:52:09] Finished: npm install
[13:52:10] Created myrespstagesite
If you are still unable to get the project to create, can you send me what windows OS/version you are using, as well as what version of Python, Windows SDK, and Visual Studio C++ libraries you have installed?
Thanks,
-Doug
Hi Doug,
just tried again after updating gulp (now version 3.8.8) and lithium-sdk (now version 1.0.0) and unfortunately the issue still persists both on Mac and on Windows. Mac OS X version is 10.11.2 and Windows is Windows 10 version 1511. On Mac I have Python 2.7.10 and on Windows it's 2.7.3
This is very strange as creating a project against our regular stage instance works on both platforms, it's just that it does not work against the responsive dev site.
Cheers,
Miikka
- jenifferhomes10 years agoContributor
actually solving this problem is easy: first you need to find android-support-v7-appcompat.jar and android-support-v4.jar in this folder :
sdk\extras\android\support\v7\appcompat\libs\
(if you can't find them then you should install them from Android SDK Manager: Extras/Android Support Library)
and copy them into libs folder in your project inside work-space.
for example
\androidWorkspace\projectName\libs
and also make sure in eclipse
project/properties/Java Build Path
that first two files are connected with those copied files.
- DougS10 years agoKhoros Oracle
I was using Windows 10 when I tested on Windows and I'm on a pretty old version of mac right now (upgrading soon). The only thing I can think of to try would be to completely uninstall the node.js from your machines (plus on winows you might need to uninstall and re-install visual studio and pyton if that's an option for you) and then do the install of node, gulp, and the SDK again.
- miikka10 years agoMaven
Hi Doug,
I was actually thinking about a clean install too so will try that on Windows 10 then.
Thanks,
.M
- DougS10 years agoKhoros Oracle
I tried this again while not on Lithium's VPN (should have thought of that before) and I get the same error:
LT3349$ li create-project ? What is your repository name? Only lower case characters, numbers or hyphens (-) are allowed. myresponsivestageproject ? What is the URL (include port if exists) to the dev/stage site that you will connect to (beginning with "https://")? https://yourresponsivesite.lithium.com ? Do you have a plugin token (if not press enter)? xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx [21:38:13] got an error when trying to make the call: null [21:38:13] Invalid response from server. Check your server url and version. /Users/my.username/lia/lithium-sdk/lib/version-check.js:79 throw error; ^ Error: Invalid response from server. Check your server url and version. at parseResponse (/Users/my.username/lia/lithium-sdk/lib/version-check.js:96:13) at Request._callback (/Users/my.username/lia/lithium-sdk/lib/version-check.js:33:15) at Request.self.callback (/Users/my.username/lia/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> (/Users/my.username/lia/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> (/Users/my.username/lia/lithium-sdk/node_modules/request/request.js:1111:12) at emitNone (events.js:72:20)
I'm off this next week, but my team will look into this now that we can reproduce the issue an should hopefully have a fix for you soon.
-Doug
Related Content
- 11 months ago
- 2 years ago
- 2 years ago
- 2 years ago