jaread83
8 years agoChampion
SDK li create-project command produces an error
Hi all,
I recently learned about the SDK and am quite interested in getting it set up as purely working in Studio has broken me.
I followed all the steps required to get node and the Lithium SDK installed and then moved on to creating my project directory using li create-project.
After inputting the foldername, staging url (including the https) and SDK token, it goes through the motions and then shows this error (personal info removed):
npm WARN lithiumsdk3@ license should be a valid SPDX license expression npm ERR! Darwin 15.6.0 npm ERR! argv "/usr/local/bin/node" "/Users/xxxx/.npm-packages/bin/npm" "install" npm ERR! node v4.4.2 npm ERR! npm v4.0.5 npm ERR! path /Volumes/Git/lithiumsdk3/node_modules/lithium-sdk/node_modules/abbrev npm ERR! code EXDEV npm ERR! errno -18 npm ERR! syscall rename npm ERR! EXDEV: cross-device link not permitted, rename '/Volumes/Git/lithiumsdk3/node_modules/lithium-sdk/node_modules/abbrev' -> '/Volumes/Git/lithiumsdk3/node_modules/abbrev' npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request: npm ERR! /Volumes/Git/lithiumsdk3/npm-debug.log [16:53:31] Error while creating lithiumsdk3
I have tried using node 6.x.x and tried downgrading it to 4.x.x to see if it would work but I always get the same result with this error.
Has anyone else encountered this? Would really like to get this set up.
I can provide the full debug if that is what you would need?
Many thanks,
Jack