react-native-electron icon indicating copy to clipboard operation
react-native-electron copied to clipboard

webpack configuration error

Open Victor0814gui opened this issue 2 years ago • 0 comments

following all the configuration steps in the documentation and using expo 48, I still didn't get success.


┏ Renderer -------------------

  AttachConsole failed with error 6: Identificador inv�lido.

┗ ----------------------------
┏ Main -----------------------

  Hash: e3d4ceea5d74c8613e4d
  Version: webpack 4.43.0
  Time: 1273ms
  Built at: 14/04/2023 15:54:38
    Asset      Size  Chunks             Chunk Names
  main.js  43.7 KiB    main  [emitted]  main
  Entrypoint main = main.js
  [0] multi ./node_modules/electron-webpack/out/electron-main-hmr/main-hmr ./electron/main/index.js 40 bytes {main} [built]
  [./electron/main/index.js] 1000 bytes {main} [built]
  [./node_modules/electron-webpack/out/electron-main-hmr/main-hmr.js] 582 bytes {main} [built]
  [electron] external "electron" 42 bytes {main} [built]
  [electron-webpack/out/electron-main-hmr/HmrClient] external "electron-webpack/out/electron-main-hmr/HmrClient" 42 bytes {main} [built]
  [path] external "path" 42 bytes {main} [built]
  [source-map-support/source-map-support.js] external "source-map-support/source-map-support.js" 42 bytes {main} [built]
  [url] external "url" 42 bytes {main} [built]

┗ ----------------------------
┏ Renderer -------------------

  × 「wds」: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
   - configuration.module.rules[0].resolve has an unknown property 'fullySpecified'. These properties are valid:
     object { alias?, aliasFields?, cachePredicate?, cacheWithContext?, concord?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, resolver?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }
     -> Options for the resolver

┗ ----------------------------
Renderer WDS exited with code 1
Error: Renderer WDS exited with code 1
    at ChildProcess.<anonymous> (C:\Users\familia\www\frontend-native\heat-react-native\node_modules\electron-webpack\src\dev\ChildProcessManager.ts:62:32)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

Victor0814gui avatar Apr 14 '23 21:04 Victor0814gui