You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this package in a project, but I cannot get it to work. I cloned the Expo example from the repository and followed the setup instructions. However, when I try to run the project, I encounter the following error:
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.
Steps to Reproduce
Clone the repository and navigate to the Expo example:
I am trying to use this package in a project, but I cannot get it to work. I cloned the Expo example from the repository and followed the setup instructions. However, when I try to run the project, I encounter the following error:
Steps to Reproduce
Clone the repository and navigate to the Expo example:
git clone https://github.com/teovillanueva/react-native-web-maps.git
cd example
npm install
expo start --web
Expected Behavior
The Expo example should start without errors and display the expected output.
Actual Behavior
The build fails with the ValidationError related to an invalid Webpack configuration.
Environment
Expo Version: 48.0.0
Node.js Version: v22.9.0
npm Version: 10.8.3
Operating System: Linux
Additional Notes
I suspect it may be related to the Webpack configuration for Node compatibility in the Expo example. Any help would be appreciated!
The text was updated successfully, but these errors were encountered: