I'm working with git-bash on win 7. I want to develop an ember project and I am working on a thumb drive. I have installed node on my E drive and added the path to the env vars.
$ npm install -g ember-cli
C:UsersmeAppDataRoaming
pmember -> C:UsersmeAppDataRoaming
pm
ode_modulesember-cliinember
C:UsersmeAppDataRoaming
pm? -> C:UsersmeAppDataRoaming
pm
ode_modulesember-cliinember
+ [email protected]
updated 553 packages in 89.25s
$ which npm
/e/nodejs/npm
$ which node
/e/nodejs/node
$ ember build
sh.exe": ember: command not found
So I think whats happening is that npm is installing the packages on the c drive. I need to set a folder on my e drive, to make this portable. How can I do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…