marklogic-community / marklogic-samplestack

A sample implementation of the MarkLogic Reference Architecture
Apache License 2.0
82 stars 56 forks source link

Gulp Run returns Error: The specified procedure could not be found. #671

Closed lawrenceong001 closed 9 years ago

lawrenceong001 commented 9 years ago

it looks like I'm not able to run the AngularJS application, as I get the above error when I executed 'gulp run'.

the detailed message is: [22:55:41] Warning: gulp version mismatch: [22:55:41] Global gulp is 3.8.11 [22:55:41] Local gulp is 3.8.10 [22:55:42] Starting 'clean'... [22:55:42] Finished 'clean' after 85 ms [22:55:42] Starting 'bower-files'... [22:55:42] Finished 'bower-files' after 190 ms [22:55:42] Starting 'build'... [22:55:43] 'build' errored after 435 ms [22:55:43] Error: The specified procedure could not be found. G:\app\marklogic\marklogic-samplestack-master\browser\node_modules\gulp-sass\nod e_modules\node-sass\vendor\win32-x64\binding.node at Error (native) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (G:\app\marklogic\marklogic-samplestack-master\browser \node_modules\gulp-sass\node_modules\node-sass\lib\index.js:211:15) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) [22:55:43] processing files [22:55:44] saw 217 files

lawrenceong001 commented 9 years ago

I forgot to mention that I'm using Node 0.12.2

laurelnaiad commented 9 years ago

I'm using Node 0.12.2

Hi @lawrenceong001 , that is almost certainly the problem -- a number of the Samplestack dependencies seem to have problems under Node 0.11 and 0.12. We'll be looking to correct this in the near future, but for now your best bet is to install Node 0.10 (http://nodejs.org/dist/v0.10.38/ is a good bet).

(The complaint from gulp is probably not a showstopper, but the Node.js version seems to be for the time being.)

lawrenceong001 commented 9 years ago

Thanks for your reply @laurelnaiad -- Node v.0.10.38 did solve the problem. I have some other "newbie"-ish questions I will post as another issue so this can be closed.

lawrenceong001 commented 9 years ago

it appears that Node 0.10.38 solves the issue.