You configure the server and app like the other Node.js based apps on IIS (like in this article) and install ImageMagic (required by Apostrophe CMS). After that, when you running apostrophe app, you may see an error "The configured bundle apostrophe was not found in npm.".
Asked
Active
Viewed 130 times
1 Answers
2
This is happening because the apostrophe automatically looking the root module of an app and found IISNode module that wraps the app for running on IIS. For avoiding this you must declare the root module explicitly in the Apostrophe options:
var apos = require('apostrophe')({
shortName: 'yourappname',
title: 'yourappname',
root: module,
modules: {
...
}
});

EddiG
- 172
- 2
- 4
-
This is a great answer EddieG. Just occurred to me to ask: how hard is it to sniff out the IISNode module and disregard that one when walking the chain of modules? That would make a great pull request. – Tom Boutell Mar 10 '17 at 13:19