-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
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).
Currently using:
@teovilla/react-native-web-maps-root@0.1.0 /Users/sunnigen/react-native-web-maps
├── @babel/eslint-parser@7.23.10
├── @commitlint/config-conventional@17.8.1
├── @react-native-community/eslint-config@3.2.0
├── @release-it/conventional-changelog@5.1.1
├─┬ @teovilla/react-native-web-maps@0.9.4 -> ./packages/react-native-web-maps
│ ├── @react-google-maps/api@2.19.2
│ ├── @testing-library/jest-dom@5.17.0
│ ├── @testing-library/react@12.1.5
│ ├── @types/geojson@7946.0.14
│ ├── @types/react-native@0.70.19
│ ├── @types/react@18.0.38
│ ├── @types/supercluster@7.1.3
│ ├── expo-location@15.1.1
│ ├── jest-environment-jsdom@28.1.3
│ ├── jest-expo@49.0.0
│ ├── jest@29.7.0
│ ├── nodemon@2.0.22
│ ├── react-dom@18.2.0
│ ├── react-native-builder-bob@0.18.3
│ ├── react-native-maps@1.3.2
│ ├── react-native@0.71.7
│ ├── react@18.2.0
│ ├── release-it@15.11.0
│ ├── supercluster@7.1.5
│ └── typescript@4.9.5 deduped
├── @types/jest@28.1.8
├── commitlint@17.8.1
├─┬ docs@0.0.0 -> ./docs
│ ├── @docusaurus/core@2.0.0-beta.21
│ ├── @docusaurus/module-type-aliases@2.0.0-beta.21
│ ├── @docusaurus/preset-classic@2.0.0-beta.21
│ ├── @mdx-js/react@1.6.22
│ ├── @tsconfig/docusaurus@1.0.7
│ ├── clsx@1.2.1
│ ├── prism-react-renderer@1.3.5
│ ├── react-dom@18.2.0 deduped
│ ├── react@18.2.0 deduped
│ └── typescript@4.9.5 deduped
├── eslint-config-prettier@8.10.0
├── eslint-plugin-prettier@4.2.1
├── eslint@8.56.0
├─┬ example@1.0.0 -> ./example
│ ├── @babel/core@7.23.9
│ ├── @expo/webpack-config@18.1.4
│ ├── @types/react-native@0.70.19 deduped
│ ├── @types/react@18.0.38 deduped
│ ├── babel-plugin-inline-dotenv@1.7.0
│ ├── expo-location@15.1.1 deduped
│ ├── expo-status-bar@1.4.4
│ ├── expo-yarn-workspaces@2.3.2
│ ├── expo@48.0.21 -> ./node_modules/expo
│ ├── react-dom@18.2.0 deduped
│ ├── react-native-maps@1.3.2 deduped
│ ├── react-native-web@0.18.12
│ ├── react-native@0.71.14 -> ./node_modules/react-native
│ ├── react@18.2.0 deduped
│ └── typescript@4.9.5 deduped
├── husky@8.0.3
├── lint-staged@13.3.0
├── prettier@2.8.8
├── react-native@0.71.14
├── turbo@1.12.2
└── typescript@4.9.5
When checking global packages:
/Users/sunnigen/.nvm/versions/node/v18.19.0/lib
├── corepack@0.22.0
└── npm@10.2.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels