When I try to initialise the subgraph in my application folder , the process fails when yarn is installing the dependencies . It throws the following error.
Error: connect ETIMEDOUT 2405:200:1607:2820:41::36:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16)
Attaching the commands i did on the console>
I have tried updating graph cli, nodejs , yarn and also tried installing the dependencies manually but nothing seems to work.
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).
I tried to upload my Next.js application to Vercel and during the deployment time Vercel threw an error message.
Then I tried to reinstall my yarn package and the installation did not get completed my command terminal threw the same error about websocket.
How to resolve the error?
You can try clearing the cache and updating the checksums in the yarn.lock file by running the following commands.
yarn cache clean
yarn install --update-checksums
You could also try deleting the yarn.lock file altogether and re-run yarn install.
I am trying to run Xamarin UI tests on Visual Studio App Center (Azure DevOps Pipeline) and get error:
(node:14661) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Could not find the App Center CLI. Install appcenter-cli using npm.
webpack-cli#3.3.10 requires a peer of webpack#^4.x.x but none is installed. You must install peer dependencies yourself.
You could install the latest version of Webpack and add it to your devDependencies with the following command:
npm i -D webpack#latest
About peer dependency of Webpack , you can refer to this document .
We have gradle and npm installed on Linux box inside jenkins container where I am able to build through gulp build command but when I run
"gradle build"
Execution failed for task ':themes:portlet-layout:-portal-layouttpl:npmInstall'.
A problem occurred starting process 'command '/var/jenkins/workspace/Portal_RTC/liferay-workspace/build/node/node..
,I have got gradle npm installed and PATH set.I can say this running by npm --v , node --version.
I want to know what configuration I am missing to make it work.Also everytime I checked out the code I need to install modules again specially gulp else it start download from webhttp://mirrors.lax.liferay.com/nodejs.org/dist/v8.10.0/node-v8.10.0-linux-x64.tar.gz
when I define gradle-gulp plugin in build.gradle it says node is already installed. The imp things is the whole setup work on Developer machine on windows. Though they have copied node_modules folder from nodeJs home to their individual projects.
thanks
I'm following the Developer Tutorial (https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial). When I try to start the Business using -
composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin#hlfv1 --file networkadmin.card, this is the error I see:
Starting business network tutorial-network at version 0.0.1
Processing these Network Admins:
userName: admin
✖ Starting business network definition. This may take a minute...
Error: Error trying to start business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: 2 UNKNOWN: error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npmjs.org/composer-common failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org:443
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-05-21T20_15_54_162Z-debug.log
"
Command failed
Error message
I'm on composer v0.19.5. This was helpful, but didn't solve my issue. I have successfully installed the network, starting it is the issue!
see the answer below -
Error in starting hyperledger fabric network with hyperledger composer
During the chaincode build, Fabric does an npm install. Looks like you're behind a proxy (npm install not being able to access https://registry.npmjs.org/ suggests you're behind a proxy and therefore it can't resolve the URL above (to pull down a Composer npm module/dependency during install)). So you would need to provide an npmrc file - in the composer network install command sequence - so that it can configure the behaviour of the npm install - and access a known registry, like https://registry.npmjs.org/ . See more information on this here -> https://hyperledger.github.io/composer/latest/managing/connector-information
example might be:
proxy="http://172.10.117.21:3128/"
https-proxy="http://172.10.117.31:3128/"
registry = "http://registry.npmjs.org/"