相关文章推荐

Getting an error after doing some refactoring of my repository (my expo web app is a workspace withing my monorepo).

$ npx expo export:web
Exporting with Webpack...
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.entry['app'] should be an non-empty array.
   -> A non-empty array of non-empty strings
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.entry['app'] should be an non-empty array.
   -> A non-empty array of non-empty strings
    at webpack (/Users/jim/development/domo/hub/node_modules/webpack/lib/webpack.js:31:9)
    at WebpackBundlerDevServer.bundleAsync (/Users/jim/development/domo/hub/node_modules/@expo/cli/build/src/start/server/webpack/WebpackBundlerDevServer.js:174:26)
    at async exportWebAsync (/Users/jim/development/domo/hub/node_modules/@expo/cli/build/src/export/web/exportWebAsync.js:31:5)
error Command failed with exit code 1.

Any ideas?

Please provide the following:

  • SDK Version: 46.0.7
  • Platforms(Android/iOS/web/all): web
  • Add the appropriate “Tag” based on what Expo library you have a question on.
  •  
    推荐文章