PHP Phar Installation via Phive error: Directory “U:” creation error on phploc installation on Windows
When trying to install phploc v2.1.3 via Phive it gives error about creating "U:" directory while there is no such drive/directory available on the system. Below is the command I'm running and error I'm getting.
D:>php phive-0.12.0.phar install phploc@~2.1.3
Phive 0.12.0 - Copyright (C) 2015-2018 by Arne Blankerts, Sebastian Heuer and Contributors
[ERROR] An error occurred while processing your request:
Creating directory "U:" failed.
#0 har://D:/phive-0.12.0.phar/vendor/phar-io/filesystem/src/Directory.php(100)
#1 har://D:/phive-0.12.0.phar/vendor/phar-io/filesystem/src/Directory.php(24): PharIoFileSystemDirectory->ensureExists()
#2 har://D:/phive-0.12.0.phar/src/shared/environment/WindowsEnvironment.php(24): PharIoFileSystemDirectory->__construct()
#3 har://D:/phive-0.12.0.phar/src/shared/config/Config.php(49): PharIoPhiveWindowsEnvironment->getHomeDirectory()
#4 har://D:/phive-0.12.0.phar/src/Factory.php(382): PharIoPhiveConfig->getHomeDirectory()
#5 har://D:/phive-0.12.0.phar/src/Factory.php(279): PharIoPhiveFactory->getPharRegistry()
#6 har://D:/phive-0.12.0.phar/src/Factory.php(127): PharIoPhiveFactory->getInstallService()
#7 har://D:/phive-0.12.0.phar/src/commands/CommandLocator.php(40): PharIoPhiveFactory->getInstallCommand()
#8 har://D:/phive-0.12.0.phar/src/shared/cli/Runner.php(211): PharIoPhiveCommandLocator->getCommand()
#9 har://D:/phive-0.12.0.phar/src/shared/cli/Runner.php(70): PharIoPhiveCliRunner->execute()
#10 :phive-0.12.0.phar(306): PharIoPhiveCliRunner->run()
#11 {main}
Environment: PHP 7.1.14
Phive Version: 0.12.0
This should not have happened and is most likely a bug.
Please report it at https://github.com/phar-io/phive/issues, make sure you include
the full output of this error message. Thank you!
I also tried below but to no use:
D:>php phive-0.12.0.phar install phploc@2.1.3
php windows phar phploc
add a comment |
When trying to install phploc v2.1.3 via Phive it gives error about creating "U:" directory while there is no such drive/directory available on the system. Below is the command I'm running and error I'm getting.
D:>php phive-0.12.0.phar install phploc@~2.1.3
Phive 0.12.0 - Copyright (C) 2015-2018 by Arne Blankerts, Sebastian Heuer and Contributors
[ERROR] An error occurred while processing your request:
Creating directory "U:" failed.
#0 har://D:/phive-0.12.0.phar/vendor/phar-io/filesystem/src/Directory.php(100)
#1 har://D:/phive-0.12.0.phar/vendor/phar-io/filesystem/src/Directory.php(24): PharIoFileSystemDirectory->ensureExists()
#2 har://D:/phive-0.12.0.phar/src/shared/environment/WindowsEnvironment.php(24): PharIoFileSystemDirectory->__construct()
#3 har://D:/phive-0.12.0.phar/src/shared/config/Config.php(49): PharIoPhiveWindowsEnvironment->getHomeDirectory()
#4 har://D:/phive-0.12.0.phar/src/Factory.php(382): PharIoPhiveConfig->getHomeDirectory()
#5 har://D:/phive-0.12.0.phar/src/Factory.php(279): PharIoPhiveFactory->getPharRegistry()
#6 har://D:/phive-0.12.0.phar/src/Factory.php(127): PharIoPhiveFactory->getInstallService()
#7 har://D:/phive-0.12.0.phar/src/commands/CommandLocator.php(40): PharIoPhiveFactory->getInstallCommand()
#8 har://D:/phive-0.12.0.phar/src/shared/cli/Runner.php(211): PharIoPhiveCommandLocator->getCommand()
#9 har://D:/phive-0.12.0.phar/src/shared/cli/Runner.php(70): PharIoPhiveCliRunner->execute()
#10 :phive-0.12.0.phar(306): PharIoPhiveCliRunner->run()
#11 {main}
Environment: PHP 7.1.14
Phive Version: 0.12.0
This should not have happened and is most likely a bug.
Please report it at https://github.com/phar-io/phive/issues, make sure you include
the full output of this error message. Thank you!
I also tried below but to no use:
D:>php phive-0.12.0.phar install phploc@2.1.3
php windows phar phploc
add a comment |
When trying to install phploc v2.1.3 via Phive it gives error about creating "U:" directory while there is no such drive/directory available on the system. Below is the command I'm running and error I'm getting.
D:>php phive-0.12.0.phar install phploc@~2.1.3
Phive 0.12.0 - Copyright (C) 2015-2018 by Arne Blankerts, Sebastian Heuer and Contributors
[ERROR] An error occurred while processing your request:
Creating directory "U:" failed.
#0 har://D:/phive-0.12.0.phar/vendor/phar-io/filesystem/src/Directory.php(100)
#1 har://D:/phive-0.12.0.phar/vendor/phar-io/filesystem/src/Directory.php(24): PharIoFileSystemDirectory->ensureExists()
#2 har://D:/phive-0.12.0.phar/src/shared/environment/WindowsEnvironment.php(24): PharIoFileSystemDirectory->__construct()
#3 har://D:/phive-0.12.0.phar/src/shared/config/Config.php(49): PharIoPhiveWindowsEnvironment->getHomeDirectory()
#4 har://D:/phive-0.12.0.phar/src/Factory.php(382): PharIoPhiveConfig->getHomeDirectory()
#5 har://D:/phive-0.12.0.phar/src/Factory.php(279): PharIoPhiveFactory->getPharRegistry()
#6 har://D:/phive-0.12.0.phar/src/Factory.php(127): PharIoPhiveFactory->getInstallService()
#7 har://D:/phive-0.12.0.phar/src/commands/CommandLocator.php(40): PharIoPhiveFactory->getInstallCommand()
#8 har://D:/phive-0.12.0.phar/src/shared/cli/Runner.php(211): PharIoPhiveCommandLocator->getCommand()
#9 har://D:/phive-0.12.0.phar/src/shared/cli/Runner.php(70): PharIoPhiveCliRunner->execute()
#10 :phive-0.12.0.phar(306): PharIoPhiveCliRunner->run()
#11 {main}
Environment: PHP 7.1.14
Phive Version: 0.12.0
This should not have happened and is most likely a bug.
Please report it at https://github.com/phar-io/phive/issues, make sure you include
the full output of this error message. Thank you!
I also tried below but to no use:
D:>php phive-0.12.0.phar install phploc@2.1.3
php windows phar phploc
When trying to install phploc v2.1.3 via Phive it gives error about creating "U:" directory while there is no such drive/directory available on the system. Below is the command I'm running and error I'm getting.
D:>php phive-0.12.0.phar install phploc@~2.1.3
Phive 0.12.0 - Copyright (C) 2015-2018 by Arne Blankerts, Sebastian Heuer and Contributors
[ERROR] An error occurred while processing your request:
Creating directory "U:" failed.
#0 har://D:/phive-0.12.0.phar/vendor/phar-io/filesystem/src/Directory.php(100)
#1 har://D:/phive-0.12.0.phar/vendor/phar-io/filesystem/src/Directory.php(24): PharIoFileSystemDirectory->ensureExists()
#2 har://D:/phive-0.12.0.phar/src/shared/environment/WindowsEnvironment.php(24): PharIoFileSystemDirectory->__construct()
#3 har://D:/phive-0.12.0.phar/src/shared/config/Config.php(49): PharIoPhiveWindowsEnvironment->getHomeDirectory()
#4 har://D:/phive-0.12.0.phar/src/Factory.php(382): PharIoPhiveConfig->getHomeDirectory()
#5 har://D:/phive-0.12.0.phar/src/Factory.php(279): PharIoPhiveFactory->getPharRegistry()
#6 har://D:/phive-0.12.0.phar/src/Factory.php(127): PharIoPhiveFactory->getInstallService()
#7 har://D:/phive-0.12.0.phar/src/commands/CommandLocator.php(40): PharIoPhiveFactory->getInstallCommand()
#8 har://D:/phive-0.12.0.phar/src/shared/cli/Runner.php(211): PharIoPhiveCommandLocator->getCommand()
#9 har://D:/phive-0.12.0.phar/src/shared/cli/Runner.php(70): PharIoPhiveCliRunner->execute()
#10 :phive-0.12.0.phar(306): PharIoPhiveCliRunner->run()
#11 {main}
Environment: PHP 7.1.14
Phive Version: 0.12.0
This should not have happened and is most likely a bug.
Please report it at https://github.com/phar-io/phive/issues, make sure you include
the full output of this error message. Thank you!
I also tried below but to no use:
D:>php phive-0.12.0.phar install phploc@2.1.3
php windows phar phploc
php windows phar phploc
asked Nov 14 '18 at 13:20
JawaidJawaid
49316
49316
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53301189%2fphp-phar-installation-via-phive-error-directory-u-creation-error-on-phploc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53301189%2fphp-phar-installation-via-phive-error-directory-u-creation-error-on-phploc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown