Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
`λ npm run-script build
[email protected] build D:\workplace\podium\web-portal cross-env PUBLIC_URL='./' node scripts/build.js
(node:13432) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin Creating an optimized production build... Failed to compile.
Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.module.rules[2] should be one of these:
["..." | object { compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFragment?, resourceQuery?, rules?, sideEffects?, test?, type?, use? }, ...]
-> A rule.
Details:
- configuration.module.rules[2].oneOf[6].loader should be a non-empty string. -> A loader request.
- configuration.node should be one of these:
false | object { __dirname?, __filename?, global? }
-> Include polyfills or mocks for various node stuff.
Details:
- configuration.node has an unknown property 'dgram'. These properties are valid: object { __dirname?, __filename?, global? } -> Options object for node compatibility features.
- configuration.node has an unknown property 'fs'. These properties are valid: object { __dirname?, __filename?, global? } -> Options object for node compatibility features.
- configuration.node has an unknown property 'net'. These properties are valid: object { __dirname?, __filename?, global? } -> Options object for node compatibility features.
- configuration.node has an unknown property 'tls'. These properties are valid: object { __dirname?, __filename?, global? } -> Options object for node compatibility features.
- configuration.node has an unknown property 'child_process'. These properties are valid: object { __dirname?, __filename?, global? } -> Options object for node compatibility features.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: cross-env PUBLIC_URL='./' node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! C:\Users\bhara\AppData\Roaming\npm-cache_logs\2020-10-14T14_49_39_006Z-debug.log`
@Blari problem still not fixed... could you please tell me solution if you can
@Blari problem still not fixed... could you please tell me solution if you can
Excuse me. Have you tried updating the project and installing it from scratch? We've made a lot of edits and corrections in the meantime.
@Blari could i have updated project link to download ?
@Blari problem still not fixed... could you please tell me solution if you can
Excuse me. Have you tried updating the project and installing it from scratch? We've made a lot of edits and corrections in the meantime.
https://github.com/flatlogic/light-blue-react-template/releases/tag/v.1.2.8