I'm try to setup my development environment. I've done a clean install of NodeJs, and a clean install of Truffle on Windows 10 Professional . When I try to run a truffle command I get ResourceUnavailable ApplicationFailedException FullyQualifiedErrorId NativeCommandFailed.
here is a screenshot of my logs.
After visiting the Truffle project issues section on gitHub.com. I was directed to try running 'truffle.cmd version' in Powershell which returned the version. I was then able to run truffle.cmd init which unboxed truffle with no issues.
Related
I am trying to run a local Dev build of Metamask Chrome Extension.
According to their README files Yarn3 should be installed and then to run React Dev Tools and Redux Dev Tools you to have install remotedev-server package with yarn global.
Yarn returns the following error - Usage Error: The 'yarn global' commands have been removed in 2.x - consider using 'yarn dlx' or a third-party plugin instead
Using yarn dlx does not help it gives the following error (see image) my Terminal output logs
I have tried installing the classic yarn that has version 1.22.19 but MetaMask package.json file has locked the yarn version at 3.2.4.
Has anyone faced this issue. Am I missing something. I have tried following one github discussion about this but with no success.
I am trying to set up the development env on Windows 10. Installed Node.js, yarn and RUST on windows. Then to set up the project, I tried "npx create-near-app#latest" and was prompted to install WSL.. which I did. I re-executed 'npx' command in ubuntu terminal that got installed with WSL but am still getting the same error:
s_wankhede#Sharad-Asus:~$ npx create-near-app#latest
'\wsl$\Ubuntu\home\s_wankhede'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
======================================================
👋 Welcome to NEAR! Learn more: https://docs.near.org/
🔧 Let's get your dApp ready.
======================================================
(NEAR collects anonymous information on the commands used. No personal information that could identify you is shared)
Notice: On Win32 please use WSL (Windows Subsystem for Linux).
https://docs.microsoft.com/en-us/windows/wsl/install
Exiting now.
Questions:
Should I be installing Node.js, yarn and RUST in ubuntu (WSL on windows 10)?
What can I do solve the problem?
OK. Finally I could figure it out after reading lot of articles and lots of trial and error. Here are the simple steps to resolve it and of course these are for machines running Windows.
Install Linux on Windows with WSL - https://learn.microsoft.com/en-us/windows/wsl/install This MUST be the first step
Install Node.js https://nodejs.org/en/download/
Install RUST - (I am writing contracts in RUST) - https://doc.rust-lang.org/book/ch01-01-installation.html Also add wasm toolchain: rustup target add wasm32-unknown-unknown
Install Yarn : npm install -g yarn
Set up the project : npx create-near-app#latest
I am trying to use this sample to demonstrate the chatbot testing using node "testmybot" package. When I execute "npm install" command I am getting error. Please find the screenshot of the same attached below.
Steps that I have followed:
1. Downloaded the project from [https://github.com/codeforequity-at/testmybot-sample-calculator]
2. Extracted the project to "testmybot-sample-calculator-master" folder
3. Inside the folder executed "npm install" command
4. After installing some packages, looks like while installing botkit package it is throwing error
Please let me know if I have missed out any steps.
To run this sample, there is now a Dockerfile included in the Github repository. The following commands should retrieve the latest files from Github, build a docker container and running the sample test cases inside.
$ git pull
$ docker build -t testmybot-sample-calculator .
$ docker run testmybot-sample-calculator
Obviously, you have to install docker first.
UPDATE:
I was able to reproduce it on a Windows workstation, user had no admin rights. Found solution here: you have to install the windows-build-tools package first, with a user having admin rights:
npm install --global --production windows-build-tools
Afterwards, installation of the package in question was possible.
I'm trying to deploy my angular 2 application on aws ubuntu.
I have successfully install npm on ubuntu. but by the time I'm trying to build my application on using "npm install", I'm facing "extract:typescript → gunz" error and process getting killed as shown in the attachment. Can someone please help me.?
You need to add swap on your Ubuntu
This will fix this error and npm will install all angular data successfully
follow this instructions
From here
I am very new to AngularJS and trying to test a piece of functionality using Karma.
I installed node.js and when I open it and enter the following it doesn't do anything.
$ npm install -g karma
Please anyone can help me how can I achieve this.
I ran into a similar issue. I believe I wrote a fairly complete blob post about how to Setup AngularJS, Angular Seed, Node.js and Karma. This post describes how to install Karma on a windows computer using the command prompt.
http://bardevblog.wordpress.com/2013/07/28/setting-up-angularjs-angular-seed-node-js-and-karma/
On Windows, you can install Karma from the Command Prompt. Do not install it from within Node.js.
Steps to install Karma
1.install nodejs from https://nodejs.org/download/ site appropriate for your system
2.open command prompt and traverse to your project path 'C:\project folder\'
3.type and run this in command prompt ->npm install karma --save-dev
4.type and run this in command prompt ->npm install -g karma-cli