Question

Grunt project is not working

I like to run a grunt project in the server. I have purchased a theme for the project. This project is using grunt, angular, html node . I follow their instruction to run it in server.But “grunt bower-install-simple” this command is not working saying can not find module /array/collect .can not build the theme as well, using following command: “grunt build:standardversion” any idea how can i run this project continuously without any problem.I manage to run it temporary basis using npm start command. But If i close the ssh terminal it will stop. Folder location root-> assignment -> AngularJs-Admin


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Unfortunately without more information, it’s hard to answer the first part of you question. If you are able to provide the Gruntfile and the actual error messages, it would help with finding your solution.

For the second part, you’d need to use some sort of process manager to run you app as a system service. This can be done with via an you init system (e.g. Upstart or systemd). Another popular option is PM2, a process manager for node. This tutorial will walk you through setting up a node application for production using it: