dzuluaga / generator-apigee-deploy-grunt-api

Yeoman generator for apigee-deploy-grunt-api
MIT License
10 stars 5 forks source link

created gruntfile creating incorrect directory on windows #1

Open barrytam20 opened 8 years ago

barrytam20 commented 8 years ago

after running 'yo apigee-deploy-grunt-api', the created Gruntfile.js has a shell task with the following code

apigee_npm_node_modules : { command: "npm install --prefix './node'", }

this is throwing the following warning when buildApiBundle is called on a windows machine

_Warning: Command failed: C:\windows\system32\cmd.exe /s /c "npm install --prefix './node'"_

this also creates a directory call '. in the root

dzuluaga commented 8 years ago

Thanks @barrytam20 for reporting this issue. I'll look into this issue and fix it. In the meantime, to unblock you, if you don't have a Linux box, I'd encourage you to leverage a Linux box cloud for on Cloud9 or a Vagrant Linux box. Hope it helps.