Open derekmwright opened 5 years ago
Full Error:
~/workspace/puppetexplorer$ npm run build > puppetexplorer@3.0.0 build /Users/me/workspace/puppetexplorer > webpack --mode=production Hash: c0ba88ce34b24ef49e74 Version: webpack 4.39.3 Time: 7973ms Built at: 08/29/2019 10:07:35 AM 1 asset Entrypoint main = main.js [8] ./node_modules/reactstrap/dist/reactstrap.es.js + 5 modules 202 KiB {0} [built] | 6 modules [15] ./src/PuppetDB.ts 2.31 KiB {0} [built] [25] ./node_modules/react-router-dom/es/index.js + 29 modules 76.8 KiB {0} [built] | 30 modules [29] (webpack)/buildin/global.js 472 bytes {0} [built] [35] ./node_modules/react-icons/fa/index.esm.js + 4 modules 1.28 MiB {0} [built] | 5 modules [93] ./src/modules/reports/helpers.tsx 980 bytes {0} [built] [120] (webpack)/buildin/module.js 497 bytes {0} [built] [129] ./node_modules/recharts/es6/index.js + 260 modules 886 KiB {0} [built] | 261 modules [240] ./src/index.tsx 420 bytes {0} [built] [248] ./src/App.tsx 6.26 KiB {0} [built] [251] ./src/modules/dashboard/DashBoard.tsx 1.07 KiB {0} [built] [254] ./src/PuppetDB/FactPath.ts 3.43 KiB {0} [built] [367] ./src/modules/reports/index.ts 321 bytes {0} [built] [565] ./src/util.ts 710 bytes {0} [built] [575] ./src/Config.ts 1.35 KiB {0} [built] + 562 hidden modules ERROR in /Users/me/workspace/puppetexplorer/src/components/PaginatedList.tsx ./src/components/PaginatedList.tsx [tsl] ERROR in /Users/me/workspace/puppetexplorer/src/components/PaginatedList.tsx(102,14) TS2322: Type '{ total: number; serverUrl: string; }' is not assignable to type 'OriginalProps'. '{ total: number; serverUrl: string; }' is assignable to the constraint of type 'OriginalProps', but 'OriginalProps' could be instantiated with a different subtype of constraint '{}'. Child html-webpack-plugin for "index.html": 1 asset Entrypoint undefined = index.html [0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html 768 bytes {0} [built] [2] (webpack)/buildin/global.js 472 bytes {0} [built] [3] (webpack)/buildin/module.js 497 bytes {0} [built] + 1 hidden module npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! puppetexplorer@3.0.0 build: `webpack --mode=production` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the puppetexplorer@3.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /Users/me/.npm/_logs/2019-08-29T14_07_35_252Z-debug.log
Looks like this has something to do with: https://github.com/Microsoft/TypeScript/issues/29049
I'm not familiar with TypeScript enough to figure out how to resolve this. I'll continue poking around and see if I can but perhaps if a dev see's this they can get a quicker fix
Full Error:
Looks like this has something to do with: https://github.com/Microsoft/TypeScript/issues/29049
I'm not familiar with TypeScript enough to figure out how to resolve this. I'll continue poking around and see if I can but perhaps if a dev see's this they can get a quicker fix