Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. #11

Open
bharathnallamothu opened this issue Oct 14, 2020 · 4 comments

Comments

@bharathnallamothu
Copy link

`λ npm run-script build

light-blue-react-template@1.0.0 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! light-blue-react-template@1.0.0 build: cross-env PUBLIC_URL='./' node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the light-blue-react-template@1.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! C:\Users\bhara\AppData\Roaming\npm-cache_logs\2020-10-14T14_49_39_006Z-debug.log`

@bharathnallamothu bharathnallamothu changed the title DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. Oct 14, 2020
@Blari Blari closed this as completed Jun 5, 2021
@bharathnallamothu
Copy link
Author

@Blari problem still not fixed... could you please tell me solution if you can

@Blari Blari reopened this Jun 5, 2021
@Blari
Copy link
Contributor

Blari commented Jun 5, 2021

@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.

@bharaththinkinglab
Copy link

@Blari could i have updated project link to download ?

@Blari
Copy link
Contributor

Blari commented Jul 9, 2021

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants