Windows :npm install -g grunt-cli
Windows :npm install grunt-contrib-jshint --save-dev
Windows :grunt
grunt command not found
How to install grunt locally and globally on windows system.
In windows we need to register the path in the windows environment variables:-
C:\Users\Username\AppData\Roaming\npm
Close and open terminal(cmd,git-bash,etc)
Related
Here's the entire error message....
Command 'ASK: Deploy the skill' resulted in an error (ASK CLI v1 is not functional. Command failed: C:\WINDOWS\system32\cmd.exe /q /s /c "ask init -l" error: unknown option '-l' )
Happens when I 'ASK deploy' or any ASK command. Anybody have any ideas what that means?
TIA!!
I figured it out and assuming you are a windows user, this may be your issue.
Before you install ASK-CLI on Windows, you must install the Node.js windows-build-tools package. Before you install windows-build-tools, make sure you have the version of Node.js that the package requires. If you have already installed ASK-CLI you need to uninstall it. Then install it again after you have installed windows-build-tools.
To install windows-build-tools, first open PowerShell with the Run as Administrator option, then type npm install -g --production windows-build-tools.
After I did this, I had to delete and recreate my ASK project, then my ASK deployments started working.
Reference: https://developer.amazon.com/en-US/docs/alexa/smapi/quick-start-alexa-skills-kit-command-line-interface.html
I have a step by step to setup a new environment:
npm install -g --production windows-build-tools
npm install -g ask-cli
ask configure
npm install -g lambda-local
Please assure that you are running the command as Administrator or using sudo on Linux.
I installed grunt globally by running the following commands
npm install grunt grunt-cli -g
And I also installed grunt and other project dependencies locally to my project by running
npm install
npm install grunt --save-dev
But grunt keeps telling me "Unable to find local grunt"
I'm Using ubuntu 16.04 on DigitalOcean and I have nodejs and npm installed
what is the problem?
I'm trying to connect my Electron project with SQLite3 but I'm encountering an error that say's
An unhandled error occurred inside electron-rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [E:\Personal_Projects\myquiz\node_modules\sqlite3\build\deps\action_before_build.vcxproj]
I've followed these steps:
1. install electron-rebuild (npm install --save-dev electron-rebuild)
2. install sqlite3 using npm (npm install --save sqlite3)
I've already found the solution just download and install the SDK 8.1 version.
I have installed ERPNext on Ubuntu, now I have a specific requirement where I want to install it on Windows OS.
I have download the following Pre requisites.
1. Python 2.7
2. MariaDB
What is the correct procedure to install erpnext on windows. ?
ERPNext isn't compatible with Windows.
How ever you can install it in Windows using Virtual Machine
So
VM:
Install a Virtual Machine on Microsoft Windows
By following these instruction
After that follow these steps
Installation Steps:
Install WAMPserver from here
Install Python from here
Install Setup tools from here
Configure httpd.conf
Replace shebang lines to your python directory.
Run install.py
Good Luck
ERPNext isn't compatible with windows yet, as it uses some unix utilities.
You can do it using windows subsystem for linux and carry the steps of installing on linux in commandline of linux.
I'm on Windows and installed the new grunt using:
npm install -g grunt-cli
npm install -g grunt-init
grunt-init is the issue here.
If I try to run "grunt-init" in the command console, it is not recognised. Also after restarting the PC it's a nogo.
I checked the environment settings and grunt-init is indeed not included. In fact, when checking the node_modules directory (in "C:\Users\\AppData\Roaming\npm\node_modules") I see a directory "grunt-init", but there is no .cmd or other executable whatsoever.
Before I file a bug I wanted to ask here, because it seems that other Windows users have no issues with this..
Apparently version 0.1.0, the version that will be installed by a regular npm install -g grunt-init is not added to the PATH, because it has no bin directory. If you install the lates version (currently 0.2.0rc3) it should work as expected. Therefor run:
npm install -g grunt-init#0.2.0rc3
At least on Mac it works, but I think it works out on Windows too
FIRST make sure that you do:
npm uninstall -g grunt-init
Double check the following folders to ensure that grunt-init is gone:
[%USERNAME%]\AppData\Roaming\npm
[%USERNAME%]\AppData\Roaming\npm\node_modules
[%USERNAME%]\AppData\Roaming\npm-cache
After this is done, then as #marcello mentioned you should install current version of grunt-init (as of this writing):
npm install -g grunt-init#0.2.0rc3