I was playing around with require.paths and i modified it by mistake. How do i restore the original require.paths? Is there a command line utility to figure out what my nodejs path is?
Oh i got it working again. Just had to restart my terminal.
Related
Getting the attached error when I run the webui.bat. Any idea what I might be doing incorrectly ?
Here is what I did:
1.) I installed the latest version on Windows-11 (git clone).
2.) Then I copied the SD 2.1 (768-v-ema.ckpt) model into the models directory "..\stable-diffusion-webui\models\Stable-diffusion"
3.) Then ran the webui.bat
Update 1 : If I restart the computer, it runs fine the first time, but then gives the same error if I have to stop/start the application for some reason. Hence it's some kind of caching/lock.
I have such a de problem and absolutely do not understand how to solve it, because it is always solved in different ways. Today it helped to remove the entire python cache and crash dump from disk C. Also delete the venv folder. But sometimes even this doesn't work, the feeling that win11 is cursed
Here is how I resolved it:
Removed the independent python I had installed
Confirmed my PATH variable didn't have a python in it
Restarted machine
As a result of a question I wrote a little earlier I person was kind enough to write an answer. He suggested installing iisnode to fix a problem where node.js was in the path but docker couldnt find it.. However, on his suggestion I downloaded iisnode for iis 7.x(x64) and proceeded to run it... and with the luck I am having I got the following error..
There was a problem with this Windows Install package. A script required for this install to complete could not be run. Contact your support personnel or package vendor.
I have no idea how to solve this.. any ideas.. I have entered docker for this as I suspect this problem has occured for others when they tried to run a dotnet core SPA project...
Sorry my bad English!
I had this issue while i was working with "Plesk" but maybe my solution works for you or others.
First you should go to "C:\Windows\System32\inetsrv\config".
Make a backup of "applicationHost.config" somewhere.
Then remove every line that contains "iisnode" in that file.
Then try to install "iisnode" again. if it does not work, restart your OS and try again.
If it does not work again, restore your backup and restart your OS and i don't know how you can fix it, Sorry :((
I'm following the steps to install ethermint on top of tendermint that are listed on the README on this github page: https://github.com/tendermint/ethermint, but at the step ethermint --datadir ~/.ethermint init setup/genesis.json, then I get the following error: ethermint: command not found
And yes, I installed tendermint previous to my attempted installation of ethermint.
While the solution I figured out for my problem is contained on the GitHub issue page linked above, I also wanted to include it here for the sake of people who have the same issue.
OK, so I fixed the problem, and it was so infuriating. It turns out
that whenever I opened a terminal, then the go version would default
to go1.6, even if I was in the go1.8.3 directory. To solve the error,
you need to delete the old go version off of your computer, and then
use gvm to set the right go version. Thanks to everyone who helped me
solve this issue.
Check your current directory:
ls
if ethermint doesn't exist you need to install it again
I am using laravel 5.1 and I am following a tutorial that I've followed before without any issues. But today when I ran
php artisan tinker
I got the following error
PsySH history file found at '/home/vagrant/.config/psysh_history'. Please delete it or move it to '/home/vagrant/.config/psysh/psysh_history'.
I have never seen this before and I have been looking for it but dont know where to locate it so can either delete it or remove it. Also another question I have is should I delete it or move it? I don't want to do something that inadvertantly crashes my app. Thanks in advance
So you don't have to answer and accept your own question:
It looks like pshsy_history is a history file for the php debugger psysh, and your php command wants it in a different location from where it is. I'm guessing it was created the first time you followed the tutorial.
I'm thinking it's safe to delete with rm /home/vagrant/.config/psysh_history since your php command seems like it's going to create a new one.
If you want to be on the safe side then to move it like the error message says with mv /home/vagrant/.config/psysh_history /home/vagrant/.config/psysh/psysh_history
If you want to double check the contents of the file before doing either, try head /home/vagrant/.config/psysh_history.
find "psysh_history" manually in "home" folder and than move or remove file
Note: Its a hidden file
For future viewers:
I had a similar issue today. The only difference was I was not running my project on vagrant instead of MAMP.
Few different things I had to do besides what are mentioned above were :
Moved the folder ../.config/psysh/psysh_history and did following :
1) I had to shut down the MAMP
2) Restart terminal
3) php artisan tinker
Note: I was not able to run tinker until I restarted MAMP and terminal.
Faced the same issue but
I didn't find psysh_history file in .config folder.
But because it was asking to move the psysh_history file to .config/psysh, so I just created a folder psysh inside .config folder and it works.
I used the build instructions from this link
centos install docs
It seemed to install fine. I ran hhvm --version
HipHop VM 3.5.0-dev+2014.12.11 (rel)
Compiler: heads/master-0-g546087bf1b0560c4a9e254fcad46a9212e42ccc2
Repo schema: cf1780b3cc3857e091e924935ae6267e9794de9c
Extension API: 20140829
So following the bootstrapping docs I create a directory with 2 files (test.php and .hhconfig)
I added the following code to test.php
<?hh
function f(): int {
return 'not an int';
}
f();
In this directory i run hh_client and the following message appears for a long time 20-30mins+. Is this normal? I tried using a docker container with hhvm already and installed and got the same behavior.
This might be a known problem: can you do killall -9 hh_server; export USER=$(logname) before trying again? If that fixes it, you've hit an issue I just fixed this week in https://github.com/facebook/hhvm/commit/53b4d9b1ad7ccf99ef7b80d5d673f1578c9791c8. That fix should be in the latest nightly build, so if you update your build, that might fix it too.
If not, it sounds like you've set it up correctly. Please file a bug at https://github.com/facebook/hhvm/issues and I'll work with you on looking into it. StackOverflow isn't really the right forum for debugging like this.