Upon cloning repo and performing yarn, then yarn example start, lastly pressing the "W" key. I get the following:
ValidationError: Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- 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 'module'. These properties are valid:
object { __dirname?, __filename?, global? }
-> Options object for node compatibility features.
* 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 'dns'. 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 'http2'. 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.
at validate (/Users/sunnigen/react-native-web-maps/node_modules/webpack/node_modules/schema-utils/dist/validate.js:191:11)
at validateSchema (/Users/sunnigen/react-native-web-maps/node_modules/webpack/lib/validateSchema.js:78:2)
at create (/Users/sunnigen/react-native-web-maps/node_modules/webpack/lib/webpack.js:119:24)
at webpack (/Users/sunnigen/react-native-web-maps/node_modules/webpack/lib/webpack.js:167:32)
at f (/Users/sunnigen/react-native-web-maps/node_modules/webpack/lib/index.js:73:16)
at WebpackBundlerDevServer.startImplementationAsync (/Users/sunnigen/react-native-web-maps/node_modules/@expo/cli/build/src/start/server/webpack/WebpackBundlerDevServer.js:208:27)
at async WebpackBundlerDevServer.startAsync (/Users/sunnigen/react-native-web-maps/node_modules/@expo/cli/build/src/start/server/BundlerDevServer.js:89:24)
at async DevServerManager.startAsync (/Users/sunnigen/react-native-web-maps/node_modules/@expo/cli/build/src/start/server/DevServerManager.js:136:13)
at async KeyPressHandler.onPressAsync [as onPress] (/Users/sunnigen/react-native-web-maps/node_modules/@expo/cli/build/src/start/interface/startInterface.js:183:25)
at async KeyPressHandler.handleKeypress (/Users/sunnigen/react-native-web-maps/node_modules/@expo/cli/build/src/start/interface/KeyPressHandler.js:43:17)
I suspect that this is an incorrect version for webpack problem(Currently using @expo/webpack-config@18.1.4).
Upon cloning repo and performing
yarn
, thenyarn example start
, lastly pressing the "W" key. I get the following:I suspect that this is an incorrect version for webpack problem(Currently using
@expo/webpack-config@18.1.4
).Currently using:
When checking global packages: