Forum Discussion
Thanks Doug.
On Mac I actually already had node version 4.2.2 but was still getting the error. On Windows I now upgraded to 4.2.2, re-installed both gulp and lithium-sdk and am still getting the same error when trying to create a project against our responsive dev site. Interestingly enough, when doing the same against our stage environment, project creation works. So the issue could be related to our responsive dev site.
I see that there's 1.0.1 version of lithium-sdk available so will upgrade to that one and then try again.
I am having trouble reproducing the issue on my mac. I was just able to create a project using your responsive stage site on my mac. Here are the details (with path names and hostnames changed of course):
LT3349:lia my.username$ node -v
v4.2.2
LT3349:lia my.username$ npm -v
2.14.7
LT3349:lia my.username$ npm ls -g lithium-sdk --depth=0
/Users/my.username/.nvm/versions/node/v4.2.2/lib
└── lithium-sdk@1.0.1
LT3349:lia my.username$ 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
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/.gitignore
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/package.json
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/gulpfile.js
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/sdk.conf.json
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/template.server.conf.json
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/components [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/controllers [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/endpoints [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/init [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/lang [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/layouts [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/macros [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/quilts [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/skins [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web/html [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/components/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/controllers/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/endpoints/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/init/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/lang/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/layouts/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/macros/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/quilts/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/quilts/custom [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/skins/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web/html/assets [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web/html/badge_icons [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web/html/rank_icons [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web/html/survey_icons [DIR]
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/res/quilts/custom/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web/html/assets/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web/html/badge_icons/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web/html/rank_icons/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/web/html/survey_icons/README.md
[10:11:51] /Users/my.username/lisdk/myresponsivestageproject/server.conf.json
[10:11:51] Starting: npm link lithium-sdk
/Users/my.username/lisdk/myresponsivestageproject/node_modules/lithium-sdk -> /Users/my.username/.nvm/versions/node/v4.2.2/lib/node_modules/lithium-sdk
[10:11:51] Finished: npm link lithium-sdk
[10:11:51] Starting: npm link gulp
/Users/my.username/lisdk/myresponsivestageproject/node_modules/gulp -> /Users/my.username/.nvm/versions/node/v4.2.2/lib/node_modules/gulp
[10:11:52] Finished: npm link gulp
[10:11:52] Starting: npm install
npm WARN package.json myresponsivestageproject@ No license field.
[10:11:57] Finished: npm install
[10:11:57] Created myresponsivestageproject
Let me try on a Windows machine and see if I can't reproduce the problem there.
-Doug
Related Content
- 10 months ago
- 2 years ago
- 2 years ago
- 2 years ago