Hi.
I was trying to use the grunt plugin to copy KVM from one env to another as mentioned in the help
But I always get grunt-apigee-kvm@0.1.0 requires a peer of grunt@~0.4.5 but none was installed error.
I am following the exact steps as mentioned in
https://gruntjs.com/getting-started
Kindly help.
@SnehaNiyogi are you trying to use this within the same org or are your trying to move from one org to another ? This plugin currently is for same org but different env, not different org's?
Same org, different env
@SnehaNiyogi can you try running on your local environment npm update -g then install this plugin and let me know how it goes.
I did try the update command yesterday and again today along with an extra
npm install -g grunt
I am running npm from DOS command prompt. Following is what i get**********\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugi
n-master>npm update -g npm
**********\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugi
n-master>npm install -g grunt-cli
C:\Users\******\AppData\Roaming\npm\grunt -> C:\Users\******\AppData\Roaming\n
pm\node_modules\grunt-cli\bin\grunt
C:\Users\******\AppData\Roaming\npm
`-- grunt-cli@1.2.0
**********\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugi
n-master>npm install -g grunt
npm WARN gentlyRm not removing C:\Users\******\AppData\Roaming\npm\grunt.cmd as
it wasn't installed by C:\Users\******\AppData\Roaming\npm\node_modules\grunt
npm WARN gentlyRm not removing C:\Users\******\AppData\Roaming\npm\grunt as it
wasn't installed by C:\Users\******\AppData\Roaming\npm\node_modules\grunt
C:\Users\******\AppData\Roaming\npm\grunt -> C:\Users\******\AppData\Roaming\n
pm\node_modules\grunt\bin\grunt
C:\Users\******\AppData\Roaming\npm
`-- grunt@1.0.1
**********\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugi
n-master>npm install
npm WARN URI malformed
npm WARN grunt-apigee-kvm-export@0.1.1 requires a peer of grunt@~0.4.5 but none
was installed.
npm WARN apigee-deploy-grunt-plugin-master No description
npm WARN apigee-deploy-grunt-plugin-master No repository field.
npm WARN apigee-deploy-grunt-plugin-master No README data
npm WARN apigee-deploy-grunt-plugin-master No license field.
hmmm this seems like a local environment issue as I just tried it and installed with no issues; did you try removing npm/grunt/node and reinstalling - side note I am using brew so not sure if you are running something different
Hi, I did try deleting the node and reinstalling. PFB. I am working on Windows 7 Enterprise DOS prompt. Still stuck with the issue. Kindly suggest an alternate way or proper steps for acheiving "Copying KVM values from one environment to another"
================================================================
*******\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugin-master>node -v
v7.10.0
*******\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugin-master>npm -v
4.2.0
*******\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugin-master>npm install grunt@~0.4.5 --save-dev
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher
to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher
to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail o
n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible
. Use 'npm ls graceful-fs' to find it in the tree.
*******\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugi
n-master
`-- grunt@0.4.5
npm WARN URI malformed
npm WARN apigee-deploy-grunt-plugin-master No description
npm WARN apigee-deploy-grunt-plugin-master No repository field.
npm WARN apigee-deploy-grunt-plugin-master No README data
npm WARN apigee-deploy-grunt-plugin-master No license field.
*******\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugin-master>npm install -g grunt-cli
**************\AppData\Roaming\npm\grunt -> **********\AppData\Roaming\n
pm\node_modules\grunt-cli\bin\grunt
C:\Users\sniyogi\AppData\Roaming\npm
`-- grunt-cli@1.2.0
*******\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugin-master>npm install
npm WARN URI malformed
npm WARN apigee-deploy-grunt-plugin-master No description
npm WARN apigee-deploy-grunt-plugin-master No repository field.
npm WARN apigee-deploy-grunt-plugin-master No README data
npm WARN apigee-deploy-grunt-plugin-master No license field.
*******\apigee-deploy-grunt-plugin-master\apigee-deploy-grunt-plugi
n-master>grunt --env=uat --username=********** --password=****** --debug
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'time-grunt'
Warning: Task "default" not found. Use --force to continue.
Aborted due to warnings.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |