kmkatsma / aurelia-gentelella

An Aurelia implementation of the Gentelella dashboard
17 stars 5 forks source link

cannot build cloned rep #1

Open milindparikh opened 7 years ago

milindparikh commented 7 years ago

@ npm start

I get

/home/milind/Downloads/aurelia-gentlelella/aurelia-gentelella/node_modules/extract-text-webpack-plugin/schema/validator.js:11 throw new Error(ajv.errorsText()); ^ Error: data['sourceMap'] should NOT have additional properties at validate (/home/milind/Downloads/aurelia-gentlelella/aurelia-gentelella/node_modules/extract-text-webpack-plugin/schema/validator.js:11:9) at new ExtractTextPlugin (/home/milind/Downloads/aurelia-gentlelella/aurelia-gentelella/node_modules/extract-text-webpack-plugin/index.js:125:3) at Object.css (/home/milind/Downloads/aurelia-gentlelella/aurelia-gentelella/node_modules/@easy-webpack/config-css/src/index.ts:33:25) at generateConfig (/home/milind/Downloads/aurelia-gentlelella/aurelia-gentelella/node_modules/@easy-webpack/core/src/index.ts:26:40) at Object. (/home/milind/Downloads/aurelia-gentlelella/aurelia-gentelella/webpack.config.js:139:14) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Module.require (module.js:354:17) at require (internal/module.js:12:17) at module.exports (/home/milind/Downloads/aurelia-gentlelella/aurelia-gentelella/node_modules/webpack/bin/convert-argv.js:93:13) at Object. (/home/milind/Downloads/aurelia-gentlelella/aurelia-gentelella/node_modules/webpack/bin/webpack.js:135:40) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Function.Module.runMain (module.js:442:10) at startup (node.js:136:18) at node.js:966:3

dballardgh commented 7 years ago

Looks like this initial version of aurelia-gentelella depends upon older versions of typescript and webpack. There is probably a better solution, but I was able to get this working by locking down the versions of a couple of modules.

Note that the author converted the dashboard and the inbox pages to use the aurelia router. The remaining pages are not functioning.

git clone https://github.com/kmkatsma/aurelia-gentelella.git
cd aurelia-gentelella
npm install
npm install webpack@v2.1.0-beta.22
npm install webpack-dev-server@v2.1.0-beta.0
npm install extract-text-webpack-plugin@v2.0.0-beta.4
npm install typescript@v2.0.10
npm install protractor@v4.0.0
npm install @types/lodash@ts2.0 --save-dev --save-exact
npm install @types/jasmine@ts2.0
npm start