fatal: cannot create directory at '.scafflater/init/{{echo ".scafflater"}}': Invalid argument warning: Clone succeeded, but checkout failed - windows-subsystem-for-linux

I'm trying to run an api that uses scaffolding , but it only runs on MAC, windows and wsl gives the errors below
in Bash:
$ scaffolding partial:run add-doma
✖ Getting scaffolding from https://github.com/link
✖ Command failed: git clone https://github.com/link C:\Users\user001\AppData\Local\Tempm9Qrwh
Cloning into 'C:\Users\user001\AppData\Local\Tempm9Qrwh'...
fatal: cannot create directory at '.scaffolding/init/{{echo ".scaffolding"}}': Invalid argument
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
in WSL:
✖ Getting nameproject from https://github.com/link
✖ EACCES: permission denied, mkdtemp '/tmpXXXXXX'

Related

how can i fix problem in run npm installation?

by launching the installation of npm in symfony 6, I would have this error:
Failed to remove some directories
code ERR_SSL_CIPHER_OPERATION_FAILED
Invalid response body while trying to fetch https://registry.npmjs.org/typescript: 18180000:error:1C800066:Provider routines:ossl_gcm_stream_update:cipher operation failed:c:\ws\deps\openssl\openssl\providers\implementations\ciphers\ciphercommon_gcm.c:320:
I ran this command: npm cache verify and and restart npm install i have thuis error: ERR_SSL_CIPHER_OPERATION_FAILED
68140000:error:1C800066:Provider routines:ossl_gcm_stream_update:cipher operation failed:c:\ws\deps\openssl\openssl\providers\implementations\ciphers\ciphercommon_gcm.c:320:

BUILD FAILED REACT NATIVE (Not generating apk)

I am getting an error while generating apk file: Error says: Error: EEXIST: file already exists, mkdir 'C:\Users\Amna'
error EEXIST: file already exists, mkdir 'C:\Users\Amna'. Run CLI with --verbose flag for more details.
Task :app:bundleReleaseJsAndAssets FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
Process 'command 'npx.cmd'' finished with non-zero exit value 1
Can you please guide me through this error, and what might cause this error???
With this command gradlew assembleRelease -x bundleReleaseJsAndAssets, it creates apk file but app crashes, I am unable to understand what is causing such issue.

Problems getting Durandal using Bower

We are using Durandal in our app and we use bower to fetch the dependencies. Now we started to get this error when trying to install dependencies in our project:
bower durandal#2.2.0 ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/BlueSpire/Durandal-Bower.git", exit code of #128 remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/BlueSpire/Durandal-Bower.git/'
It is weird because it was working well.
How this can be fixed?
The problem is that the repository has been archived (seems like the project has been replaced by Aurelia).
You will need to download it, create a new GitHub project, and point Bower to use it.

Unable to start hyperledger fabric network with hyperledger composer

I am currently working on HyperLedger composer v1.1 on Ubuntu Virtual Machine (16.04 LTS) hosted in remote server and using VMWare Vsphere client to connect to that host machine. My PC (Windows 7) and the hosting server are in the same LAN.
In fact, I am following the tutorial (https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial).
I managed to install the chaincode onto the network but when I tried to start the business network using the command :
composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin#hlfv1 --file networkadmin.card
I got this error :
✖ 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-runtime-hlfv1 failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org:443 ...."
Then, when I saw the suggestion of #PaulO'Mahony at "hyperledger-composer v1.1:unable to instantiate chaincode"
I tried to locate the npmrc file but it was not there then I did as #oligofren suggested at Node .npmrc file.
After that, I have executed this command :
composer network install --c PeerAdmin#hlfv1 --a tutorial-network#0.0.1.bna -o npmrcFile=/home/user1/.npmrc"
where ".npmrc" file is generated after I have logged in (using npm login).
Finally, when try to execute the above command "composer network start...." the same error is still exist !!!
Note that : I have executed "./stopFabric.sh", "./teardownFabric.sh" and then "./startFabric.sh" before I did each solution!

Error while bower installing 'bower-angular-translate-loader-static-files.git'

I am getting the following error while installing "bower-angular-translate-loader-static-files.git" -
bower angular-translate-loader-static-files#~2.7.2 cached git://github.com/PascalPrecht/bower-angular-translate-loader-static-files.git#2.7.2
bower angular-translate-loader-static-files#~2.7.2 validate 2.7.2 against git://github.com/PascalPrecht/bower-angular-translate-loader-static-files.git#~2.7.2
bower angular-translate-loader-static-files#~2.7.2 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/PascalPrecht/bower-angular-translate-loader-static-files.git", exit code of #128 fatal: read error: Connection reset by peer
What could be the reason for the same ?
It worked fine after executing the following command in the command line:
git config --global url."https://".insteadOf git://
Apparently there was a problem with proxy or firewall that might cause issues or block ports on git:// urls.