Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why this example load 'react-native-sqlite-storage' when build? #9

Open
fuhaixiao opened this issue Jul 24, 2018 · 1 comment
Open

Comments

@fuhaixiao
Copy link

[email protected] build /Users/BMM/Workspace/browser-example
webpack

Hash: 4c1cfdf3da11a46bcb03
Version: webpack 4.16.2
Time: 4299ms
Built at: 2018/07/25 上午2:09:31
Asset Size Chunks Chunk Names
main.js 2.44 MiB main [emitted] main
main.js.map 2.49 MiB main [emitted] main
Entrypoint main = main.js main.js.map
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {main} [built]
[./src/entity/Author.ts] 1.58 KiB {main} [built]
[./src/entity/Category.ts] 1.23 KiB {main} [built]
[./src/entity/Post.ts] 1.87 KiB {main} [built]
[./src/index.ts] 4.15 KiB {main} [built]
+ 240 hidden modules

WARNING in ./node_modules/typeorm/browser/driver/react-native/ReactNativeDriver.js
Module not found: Error: Can't resolve 'react-native-sqlite-storage' in '/Users/BMM/Workspace/browser-example/node_modules/typeorm/browser/driver/react-native'
@ ./node_modules/typeorm/browser/driver/react-native/ReactNativeDriver.js
@ ./node_modules/typeorm/browser/driver/DriverFactory.js
@ ./node_modules/typeorm/browser/connection/Connection.js
@ ./node_modules/typeorm/browser/index.js
@ ./src/index.ts

@cdbattags
Copy link

I'm still having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants