0
votes

I'm trying to use Electron to make a simple application using Angular 4 and Bootstrap. The project can be found here.

When a run electron through

electron src/main.js

in folder electron, I got the error

Uncaught Error: Bootstrap's JavaScript requires jQuery

I tried force jQuery on main.ts, also tried to create vendor.ts and put it on .angular-cli.json like some workarounds I found. But didn't work at all.

I don't know what I should do to Bootstrap detect jQuery.

1

1 Answers

-1
votes

I removed "bootstrap.min.js" and my error was solved.