Jump to content

Documentation Grunt Serve Issue


JohnK
 Share

Recommended Posts

Whenever I try to run a local copy of the documentation I always begin with some error or other before I can get it to work.

Grunt Build was successful

Done, without errors.


Execution Time (2017-06-27 20:45:06 UTC+1)
execute:compileTagsClasses      1.5s  █ 1%
execute:compileIndex              2s  █ 2%
execute:compileHtmlClasses  1m 31.6s  █████████████████████████ 72%
execute:compileHtmlStatics     20.3s  ██████ 16%
execute:forwarder               8.5s  ███ 7%
Total 2m 6.4s


Grunt Serve produces an error

$ grunt serve
Running "express:dev" (express) task
Starting background Express server
fs.js:951
  return binding.readdir(pathModule._makeLong(path), options.encoding);
                 ^

Error: ENOENT: no such file or directory, scandir 'C:\Users\User\Documents\GitHub\Documentation\data\search'
    at Error (native)
    at Object.fs.readdirSync (fs.js:951:18)
    at module.exports (C:\Users\User\Documents\GitHub\Documentation\scripts\loadIndexes.js:18:18)
    at Object.<anonymous> (C:\Users\User\Documents\GitHub\Documentation\app.js:29:54)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)

Running "open:local" (open) task

Running "watch" task
Waiting...

Firefox can’t establish a connection to the server at localhost:3000.

Similar message for Chrome.

Any suggestions please

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...