Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run project #1

Open
devzar5 opened this issue Mar 27, 2017 · 2 comments
Open

Unable to run project #1

devzar5 opened this issue Mar 27, 2017 · 2 comments

Comments

@devzar5
Copy link

devzar5 commented Mar 27, 2017

Hi,

I follow all the step which is given , still i unable to run project also unable to build project.
following error is showing while i hit the command npm run test or npm run build .

D:\LiveAngularProject\grunt-angular-demo>npm run build

[email protected] build D:\LiveAngularProject\grunt-angular-demo
grunt build

grunt-cli: The grunt command line interface. (v0.1.13)

Fatal error: Unable to find local grunt.

If you're seeing this message, either a Gruntfile wasn't found or grunt
hasn't been installed locally to your project. For more information about
installing and configuring grunt, please see the Getting Started guide:

http://gruntjs.com/getting-started

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "run" "build"
npm ERR! node v7.1.0
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: grunt build
npm ERR! Exit status 99
npm ERR!
npm ERR! Failed at the [email protected] build script 'grunt build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the login package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! grunt build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs login
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls login
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\LiveAngularProject\grunt-angular-demo\npm-debug.log

Please help me on this how i will fix above error .

Thanks,
Dev

@seoj
Copy link
Owner

seoj commented Mar 28, 2017

Hi devzar5,
Thanks for reporting this issue!
Unfortunately I have not been actively maintaining this repo recently and thus I cannot guarantee everything will work the way it is stated. I'll do a best effort to verify that the demo works with the current versions of the tool.

Meanwhile, looking at your error, you may be able to get around it by installing grunt-cli manually.
npm install -g grunt-cli
I purposely configured the demo so that you would not be required to do this, but as I mentioned, I cannot be certain with the latest version of the tools.

Could you give that a try?

Thanks again!

@devzar5
Copy link
Author

devzar5 commented Mar 29, 2017

Hi,

I have fixed issue grunt build now all the file is minified.

but still i am unable to run project in browser before minifie or after minifie. please send information or require to add any additional script and command in grunt file.

Thanks,
Ankur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants