This forum has moved, please join us on github discussions. We will keep these old posts available for reference. Thank you!

Installing multisite

I am trying to install the current WIP multisite (pre-NPM publish) of apostrophe-multisite, and running in to an issue.

Here is the relevant snippet from my updated package.json:

"dependencies": {
  "apostrophe": "^2.47.0",
  "apostrophe-headless": "^2.2.0",
  "apostrophe-multisite": "git://github.com/apostrophecms/apostrophe-multisite.git"
}

Then (for good measure):

rm -rf node_modules

Then:

npm install

I receive:

[fsevents] Success: "/thisapp/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
added 544 packages from 471 contributors in 8.516s
[!] 16 vulnerabilities found [1396 packages audited]
    Severity: 8 low | 8 moderate
    Run `npm audit` for more detail

Try running node app.js anyway…

Capping concurrency at the number of server processes: 1
Spinning up dashboard site...
running...
/thisapp/node_modules/apostrophe/index.js:50
        throw err;
        ^

Error: The type apostrophe-tags encounters an infinite loop, "extend" probably points back to itself or its subclass.
    at Object.self.create (/thisapp/node_modules/moog/index.js:145:23)
    at /thisapp/node_modules/apostrophe/index.js:387:25
    at /thisapp/node_modules/async/lib/async.js:181:20
    at iterate (/thisapp/node_modules/async/lib/async.js:262:13)
    at /thisapp/node_modules/async/lib/async.js:274:29
    at /thisapp/node_modules/async/lib/async.js:44:16
    at /thisapp/node_modules/apostrophe/index.js:391:16
    at /thisapp/node_modules/moog/index.js:307:18
    at /thisapp/node_modules/moog/node_modules/async/lib/async.js:629:17
    at /thisapp/node_modules/moog/node_modules/async/lib/async.js:154:25
    at /thisapp/node_modules/moog/node_modules/async/lib/async.js:626:21
    at Immediate._onImmediate (/thisapp/node_modules/moog/node_modules/async/lib/async.js:154:25)
    at runCallback (timers.js:781:20)
    at tryOnImmediate (timers.js:743:5)
    at processImmediate [as _immediateCallback] (timers.js:714:5)

What am I doing wrong?

Would love to give this a solid go. Anything stand out that I’m missing for the install here?

Got it working using the multisite demo. Looking good so far.