Yes, dan. I am working on an existing app of ember version 2.3. and I have to upgrade it to the LTS 3.20 version.
So I have upgraded the node version, ember-cli, & node packages to their latest version and installed them.
ember-cli: 3.20.2
node: 14.15.3
I have fixed the build errors which came upon running ember serve.
This error comes when I try to open the landing page of the application i.e., localhost:4200
My ember-cli-build.js
app.import(‘bower_components/bootstrap-sass/assets/javascripts/bootstrap.min.js’);
app.import(‘bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css’);
app.import(‘bower_components/jquery-ui/ui/minified/core.min.js’);
app.import(‘bower_components/jquery-ui/ui/minified/widget.min.js’);
app.import(‘bower_components/jquery-ui/ui/minified/mouse.min.js’);
app.import(‘bower_components/jquery-ui/ui/minified/sortable.min.js’);
app.import(‘bower_components/jquery-ui/ui/minified/datepicker.min.js’);
app.import(‘bower_components/jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.min.css’);
app.import(‘bower_components/jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.min.js’);
app.import(‘bower_components/jquery-validation/dist/jquery.validate.min.js’);
app.import(‘bower_components/jquery-mask-plugin/dist/jquery.mask.min.js’);
app.import(‘bower_components/jquery-ui/ui/menu.js’);
app.import(‘bower_components/jquery-ui/ui/autocomplete.js’);
app.import(‘bower_components/jquery-ui/ui/position.js’);
app.import(‘bower_components/file-saver/FileSaver.js’);
app.import(‘bower_components/lodash/lodash.js’);
app.import(‘vendor/tabindex.js’, {
type: 'vendor'
});
app.import(‘bower_components/ember/ember-template-compiler.js’);
app.import(‘bower_components/bootstrap-timepicker/js/bootstrap-timepicker.js’);
app.import(‘vendor/tabindex.js’, { type: ‘vendor’ });
app.import(‘bower_components/jquery-validation/dist/additional-methods.min.js’);
app.import(‘vendor/oidc-client.min.js’, {
type: 'vendor'
});
app.import(‘vendor/js-cookies.js’, { type: ‘vendor’ });
How to migrate these bower dependencies to NPM?