CleverStack / angular-seed

The AngularJS based Modular Frontend for CleverStack, MEAN and so much more
http://youtube.com/watch?v=-4ArURHExhQ
MIT License
118 stars 36 forks source link

Cannot find module 'utils' and "grunt-jsdoc-to-markdown" #88

Closed julkue closed 8 years ago

julkue commented 9 years ago

Hello,

I've just installed the angular-seed like it's described in the documentation. Unfortunately I get two error messages: cleverstack What is the correct way to solve this problem? Notice: I didn't installed a customized version of NodeJS. If the installation documentation doesn't work in a raw NodeJS-installation, maybe it should be documented what kind of modules are required to install this boilerplate.

pilsy commented 9 years ago

Hi @julmot

To me this looks like you have not run clever setup - if you type npm ls what is the output? also any of the clever commands have the -v or --verbose option ... ie clever setup -v

The utils part could be related to not having your NODE_PATH set, but i'm not 100% sure with seeing only the output you posted (can you please use the -v option?)

In general to set your NODE_PATH:

On Mac/Linux:

export NODE_PATH=./lib/:./modules/

On Windows:

set NODE_PATH=./lib/;./modules/

pilsy commented 8 years ago

Confirmed fixed via https://github.com/CleverStack/cleverstack-cli/issues/76#issuecomment-121777570 and others