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
Hi there, ive a little problem and may you have an idea to fix that.
I want to use mariasql, so i installed it (--save) and in one of my Sites (src/app/pages/settings/components/commands/commands.component.ts) i tried to require it with: var Client = require('mariasql');
If i reload the site i cant open the page and get errors like that in the console-log:
Module not found: Error: Can't resolve '../build/Debug/sqlclient' in
Module not found: Error: Can't resolve 'fs' in 'D:\Entwickl\ng2-admin\node_modules\native-dns\lib'
Module not found: Error: Can't resolve 'dgram' in 'D:\Entwickl\ng2-admin\node_modules\native-dns\lib'
Here one long version:
client:99 ./~/native-dns/lib/platform.js
Module not found: Error: Can't resolve 'fs' in 'D:\Entwickl\ng2-admin\node_modules\native-dns\lib'
@ ./~/native-dns/lib/platform.js 23:9-22
@ ./~/native-dns/dns.js
@ ./~/dns/lib/dns.js
@ ./~/mariasql/lib/Client.js
@ ./src/app/pages/settings/components/commands/commands.component.ts
@ ./src/app/pages/settings/settings.module.ts
@ ./src/app/pages/pages.routing.ts
@ ./src/app/pages/pages.module.ts
@ ./src/app/app.module.ts
@ ./src/app/index.ts
@ ./src/main.browser.ts
@ multi main
Angular version: 2.2.3
Browser: Chrome 54
Windows 10 x64
NodeJS v6.9.1
Do you have any ideas to fix this? :/
Friendly greets and thanks in advance,
Ystro
The text was updated successfully, but these errors were encountered:
[x] bug report
Hi there, ive a little problem and may you have an idea to fix that.
I want to use mariasql, so i installed it (--save) and in one of my Sites (src/app/pages/settings/components/commands/commands.component.ts) i tried to require it with:
var Client = require('mariasql');
If i reload the site i cant open the page and get errors like that in the console-log:
Here one long version:
Do you have any ideas to fix this? :/
Friendly greets and thanks in advance,
Ystro
The text was updated successfully, but these errors were encountered: