WebWorks sdk 2.0 can only create projects in c:?

When I try to create a project in e:

He invites:

E:\dev\webworks>webworks create splashtest

fs.js:642
  return binding.mkdir(pathModule._makeLong(path),
                 ^
Error: ENOENT, no such file or directory 'E:\Users\Merrick\.cordova'
    at Object.fs.mkdirSync (fs.js:642:18)
    at Object._self.getCordovaDir (C:\Program Files\BlackBerry\BB10 WebWorks SDK
 2.0.0.54\webworks-cli\lib\utils\utils.js:36:16)
    at Object._self.fetchBlackBerry (C:\Program Files\BlackBerry\BB10 WebWorks S
DK 2.0.0.54\webworks-cli\lib\utils\utils.js:55:40)
    at new CLI (C:\Program Files\BlackBerry\BB10 WebWorks SDK 2.0.0.54\webworks-
cli\lib\cli.js:48:19)
    at Object. (C:\Program Files\BlackBerry\BB10 WebWorks SDK 2.0.0.5
4\webworks-cli\bin\webworks:4:16)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)

that should be fixed.

Hello

Thanks for the bug report. This one has already been set for the Gold release.

It is possible to correct your installation by editing webworks-cli/lib/utils/utils.js

    findHomePath : function () {
        return process.env[(process.platform === 'win32') ? 'USERPROFILE' : 'HOME'];
    },

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for