Hello Simon,

I am successfully able to run the fims-web-app and I am using node v6.10.2 and npm 3.10.10

As, mentioned we need at least node version v6.10+ and for npm 3+

Thanks
Gaurav

On Thu, Nov 2, 2017 at 12:05 PM, Awasum Yannick <awasum.yannick@skylabase.com> wrote:
Hello Simon,

What version of Node and npm are you using?

Did you run ```npm i``` before ```npm run dev```.

For your memory requirements we are testing Fineract CN on a 32 GB VPS...

Maybe you follow that but we did succeed to run it with 16 GB RAM machine like 4 months ago. I dont know if that still holds.

Also you have to run demo server and it succeeds before you run the web app on a separate Terminal.

Thanks.

On Thu, Nov 2, 2017 at 4:57 AM, Simon Matthews <simon@dreamstartlabs.com> wrote:
When I run the command "npm run dev", I get the following errors:

ERROR in ./~/css-loader?{"sourceMap":false,"importLoaders":1}!./~/postcss-loader?{"ident":"postcss"}!./~/sass-loader/lib/loader.js?{"sourceMap":false,"precision":8,"includePaths":[]}!./src/styles.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/styles.scss 4:14-189
 @ multi ./src/styles.scss ./src/theme.scss ./~/@covalent/core/common/platform.css

ERROR in ./~/css-loader?{"sourceMap":false,"importLoaders":1}!./~/postcss-loader?{"ident":"postcss"}!./~/sass-loader/lib/loader.js?{"sourceMap":false,"precision":8,"includePaths":[]}!./src/theme.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/theme.scss 4:14-188
 @ multi ./src/styles.scss ./src/theme.scss ./~/@covalent/core/common/platform.css

ERROR in ./src/app/app.component.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/app/app.component.ts 63:17-48
 @ ./src/app/app.module.ts
 @ ./src/app/index.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

ERROR in ./src/app/main/main.component.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/app/main/main.component.ts 108:17-49
 @ ./src/app/main/main.module.ts
 @ ./src async
 @ ./~/@angular/core/@angular/core.es5.js
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

ERROR in ./src/app/customers/detail/customer.detail.component.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/app/customers/detail/customer.detail.component.ts 127:17-60
 @ ./src/app/customers/customer.module.ts
 @ ./src async
 @ ./~/@angular/core/@angular/core.es5.js
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

ERROR in ./src/app/offices/detail/office.detail.component.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/app/offices/detail/office.detail.component.ts 100:17-58
 @ ./src/app/offices/office.module.ts
 @ ./src async
 @ ./~/@angular/core/@angular/core.es5.js
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

ERROR in ./src/app/roles/form/form.component.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/app/roles/form/form.component.ts 132:17-49
 @ ./src/app/roles/role.module.ts
 @ ./src async
 @ ./~/@angular/core/@angular/core.es5.js
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

ERROR in ./src/app/roles/components/permission-list-item.component.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/app/roles/components/permission-list-item.component.ts 56:17-65
 @ ./src/app/roles/role.module.ts
 @ ./src async
 @ ./~/@angular/core/@angular/core.es5.js
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

ERROR in ./src/app/common/layout-card-over/layout-card-over.component.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/app/common/layout-card-over/layout-card-over.component.ts 81:17-61
 @ ./src/app/common/common.module.ts
 @ ./src/app/main/main.module.ts
 @ ./src async
 @ ./~/@angular/core/@angular/core.es5.js
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

ERROR in ./src/app/common/portrait/portrait.component.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/app/common/portrait/portrait.component.ts 86:17-53
 @ ./src/app/common/common.module.ts
 @ ./src/app/main/main.module.ts
 @ ./src async
 @ ./~/@angular/core/@angular/core.es5.js
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

ERROR in ./src/app/common/fab-button/fab-button.component.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:953:18)
    at Object.getInstalledBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/extensions.js:124:13)
    at foundBinariesList (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/node-sass/lib/index.js:14:35)
    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)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/simon/FineractCN/integration-tests/fims-web-app/node_modules/sass-loader/lib/loader.js:3:14)
 @ ./src/app/common/fab-button/fab-button.component.ts 54:17-55
 @ ./src/app/common/common.module.ts
 @ ./src/app/main/main.module.ts
 @ ./src async
 @ ./~/@angular/core/@angular/core.es5.js
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks  Chunk Names
    index.html  3.25 kB       0 
    chunk    {0} index.html 428 bytes [entry] [rendered]
webpack: Failed to compile.


Simon



--

Awasum Yannick
Chief Technology Officer
Skylabase
awasum.yannick@skylabase.com  |  Skype: awasum91 | Mobile: +237 676 683 945http://skylabase.com





--
Regards,
Gaurav Saini