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
~: yarn web:build
yarn run v1.22.10
$ yarn workspace @rnup/web build
$ craco build
Creating an optimized production build...
Failed to compile.
./node_modules/@react-native-async-storage/async-storage/lib/module/AsyncStorage.js
Attempted import error: 'merge-options' does not contain a default export (imported as 'mergeOptions').
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /usr/local/Cellar/node/16.4.2/bin/node
Arguments: /usr/local/Cellar/yarn/1.22.10/libexec/lib/cli.js build
Directory: /Users/***/react-native-universal-monorepo/packages/web
Output:
info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
~:
The text was updated successfully, but these errors were encountered:
Hey @ramyareye , thanks for reporting!
I'm able to reproduce the issue as well... looks weird, because it's happening only in the production bundle 🤔
I'm wondering if it's related to this recent release: react-native-async-storage/async-storage#657
Yeah, older versions of async-storage seem to work fine.
I'm a bit busy writing a blog post about this repo, but once I'm done I can investigate further 👍 (Unless someone else wanna tackle it first)
mmazzarolo
changed the title
yarn web:build failed!
Web-based build commands fail because of AsyncStorageSep 12, 2021
Any update on this? I'm currently experiencing this in a production build on yarn 1.22.18.
yarn run v1.22.18
$ node scripts/build.js
Creating an optimized production build...
Failed to compile.
./node_modules/@react-native-async-storage/async-storage/lib/module/AsyncStorage.js
Attempted import error: 'merge-options' does not contain a default export (imported as 'mergeOptions').
error Command failed with exit code 1.
Hello, thanks for you great work :)
I got this error on build web
The text was updated successfully, but these errors were encountered: