I am getting an error in the GraphCool 5 minute tutorial https://www.graph.cool/docs/quickstart/frontend/react/apollo-tijghei9go
graphcool-framework deploy
Please choose the cluster you want to deploy to: shared-ap-northeast-1
Please choose the target name prod
Creating service server in cluster shared-ap-northeast-1... !
▸ 'ECONNREFUSED': request to https://api.graph.cool/system failed,
▸ reason: connect ECONNREFUSED 13.33.35.222:443
A search didn't turn up much on the graphCool forums or here at stack overflow
After taking some time away from the problem I realized I had installed graphcool locally first. When I got an error I then used npm to install graphcool globally.
Tonight I used npm to uninstall the local version. The error went away!
I should have followed the tut exactly. Instead I tried to install dependencies locally because I read somewhere that installing them globally is not the preferred method anymore.
Related
I'm working on adding Heroku's new enhanced certificates to (hopefully) make our Google Data Studio reports less prone to failing when Heroku automatically refresh database certificates. Heroku provide a guide: Connecting to a Heroku Postgres Database with Enhanced Certificates.
The first step is to install the data CLI plugin: heroku plugins:install data
For me that fails with yarn errors:
› Warning: heroku update available from 7.63.4 to 7.64.0.
Installing plugin data... failed
Error: yarn add #heroku-cli/plugin-data#latest --non-interactive --mutex=file:/Users/timregan/.local/share/heroku/yarn.lock --preferred-cache-folder=/Users/timregan/Library/Caches/heroku/yarn --check-files --registry=https://registry.npmjs.org exited with code 1
at ChildProcess.<anonymous> (/opt/homebrew/Cellar/heroku/7.63.4/libexec/node_modules/#oclif/plugin-plugins/lib/yarn.js:31:28)
I do not understand. Why is yarn involved? Is there a yarn or brew command I should be invoking instead of heroku plugins:install data?
(EDIT: I now suspect this is an Apple M1 architecture issue. I get the same error when trying to install other Heroku CLI plugins.)
I was able to overcome this issue after downgrading from Yarn 3 to yarn 1.
For some reason, it does not work with yarn 3 (possibly with yarn 2 as well).
How to Start Playground in the developer environment? Please provide the document.
I am following the developer installation guide: https://hyperledger.github.io/composer/tutorials/developer-guide.html
If you want to run the Playground locally, install the composer-playground using the following command.
npm install -g composer-playground
I don't see how to start the playground after that.
Thank you, Christo. I am able to install now. I installed playground first and installed all other composer components(npm install -g composer-cli,npm install -g generator-hyper ledger-composer,npm install -g composer-rest-server). Problem is now, I am not able to deploy .bna using admin credentials for composer-rest-server. Next tried deploying using the PeerAdmin for composer-rest-server, which was successful.
Now the issue is not allowing the asset creation (Throwing, the asset cannot be created via PeerAdmin). What is the proper way to set up the developer environment plus playground in the same environment?
The instructions are in the tutorial documentation. Basically, you need to install and start the Hyperledger Fabric network, configured for Composer. It will launch the playground in your favorite browser.
After the first time you run it, you can start/stop the network with composer.sh to re-start, and composer.sh stop (from the directory into which you installed fabric-tools) to shutdown all the Fabric and Composer docker images. Once started, you can open http://localhost:8080/login to start the playground.
I'm trying to push a new app to Heroku but I'm getting this libsass error:
Error: ´libsass´ bindings not found. Try reinstalling ´node-sass´?
I've looked all around but the solutions I've found are for a local environment, but I have no problem on my machine.
One of the things I found was to use node 0.12.0, I was on 0.10, but Heroku is already on 0.12.0
What else can I do on Heroku?
I assume you have node-sass in your package.json if so setting NODE_MODULES_CACHE to false may help
You can do it on heroku.com or in CLI:
heroku config:set NODE_MODULES_CACHE=false
Im trying to install Laravel on a windows machine.
I followed this guide up to point 11.
http://www.wikihow.com/Install-Laravel-Framework-in-Windows
I also ran two commands already (which I got from https://stackoverflow.com/a/18852026/2240163)
set http_proxy=<your_http_proxy:proxy_port>
set https_proxy=<your_https_proxy:proxy_port>
But on running composer install i am met with a message
C:\wamp\www\LARAVEL>composer install
Loading composer repositories with package information
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: SSL
: The specified procedure could not be found.
failed to open stream: Cannot connect to HTTPS server through proxy
How can I get past the proxy to install Laravel 4.
.
.
Here in lay the solution
C:\wamp\www\LARAVEL>set http_proxy=http://mnel:******#192.168.20.4:8080
C:\wamp\www\LARAVEL>set https_proxy=https://mnel:******#192.168.20.4:8080
I then ran the install composer command again and presto!
https://stackoverflow.com/a/24958700/2240163
Thanks #mneute
Here in lay the solution
C:\wamp\www\LARAVEL>set http_proxy=http://mnel:******#192.168.20.4:8080
C:\wamp\www\LARAVEL>set https_proxy=https://mnel:******#192.168.20.4:8080
I then ran the install composer command again and presto!
https://stackoverflow.com/a/24958700/2240163
Thanks #mneute
I got this same issue when I ran composer -vvv install. I did it in windows7 computer behind a company firewall. I search and tried every possible answer but didn't work. Then I tried following and it did work
https://www.calazan.com/how-to-set-the-proxy-settings-in-windows-via-command-line/
I've been trying to install the Socket.IO module for Node.js without success, The first time I tried by installing with the following npm command:
npm install Socket.IO
It didn't work, then I tried by downloading their github repository as a zip file, placing it into the node_modules folder, extracting the file into a folder named "Socket.IO" and trying again the command:
nmp install Socket.IO
Neither worked, I renamed the folder because probably had the same name as the default root I showed before, neither worked.
BOTH cases, gives me this output:
I'm guessing that the second form tries to download the sources instead of installing from the folder I specify. What could it be? A connection error? it says "SSL Error: CERT_UNTRUSTED", should I configurate the type of connection or something else? or even better, is there any easier way to install Socket.IO?
Make sure your npm is updated, if it is you could try npm config set strict-ssl false to ignore the error.
It seems this is related because npmjs.org changed certificate.