Module not found: Error: Can't resolve 'datatables.net-buttons'
Module not found: Error: Can't resolve 'datatables.net-buttons'

While using buttons.colVis.min.js in python Module not found: Error: Can't resolve 'datatables.net-buttons' error is showing while building webpack
import order is given below
import d3 from 'd3';
import dt from 'datatables.net-bs';
import 'datatables.net-bs/css/dataTables.bootstrap.css';
import './fixedHeader.dataTables.min.css';
import './colReorder.dataTables.min.css';
import './buttons.dataTables.css';
import { fixDataTableBodyHeight, d3TimeFormatPreset } from '../javascripts/modules/utils';
import './report.css';
import './dataTables.rowGroup.min.js';
import './dataTables.select.js';
import './dataTables.buttons.js';
import './buttons.colVis.min.js';
import './dataTables.fixedHeader.min.js';
import './dataTables.colReorder.min.js';
import bootbox from './bootbox.min.js';
import toastr from './toastr.js';
import './toastr.css';
//import './dataTables.rowGroup.js';
import { sectionsToRender } from '../javascripts/explore/stores/visTypes';
What is am doing wrong here?.Please help.
Answers
Hi @sudeep60 ,
You've got relative paths there, '.', so do the Buttons files exist in that directory?
Cheers,
Colin
i have facing the this issue --> Module not found: Can't resolve 'datatables.net'.
can i know hoe to resolve it.?
That means the path can't be found. Are they in the directory specified? Please post your code so we can see.
Colin