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

using with angular 6 #243

Open
hesampour opened this issue Jul 14, 2018 · 1 comment
Open

using with angular 6 #243

hesampour opened this issue Jul 14, 2018 · 1 comment

Comments

@hesampour
Copy link

Hi
I want to use this package with angular 6
I added the types and also sql
npm install --save @types/sql.js
npm install --save sql.js
but i get the following error:
[ng] Module not found: Error: Can't resolve 'crypto' in 'D:\current_projects\android Quran 2\ionic\Quran\node_modules\sql.js\js'
[ng] ERROR in ./node_modules/sql.js/js/sql.js
[ng] Module not found: Error: Can't resolve 'fs' in 'D:\current_projects\android Quran 2\ionic\Quran\node_modules\sql.js\js'
[ng] ERROR in ./node_modules/sql.js/js/sql.js
[ng] Module not found: Error: Can't resolve 'path' in 'D:\current_projects\android Quran 2\ionic\Quran\node_modules\sql.js\js'

@wexstorm
Copy link

wexstorm commented Aug 3, 2018

marcorinck/typeorm-ionic4-test#1 (comment)
This could help (Steps 1 and 2).

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