DataTables / DataTables/Dist-DataTables-SearchBuilder-Bootstrap4

Can't resolve 'datatables.net-searchbuilder'

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When trying to build with webpack, error thrown:

ERROR in ./node_modules/datatables.net-searchbuilder-bs4/js/searchBuilder.bootstrap4.js
Module not found: Error: Can't resolve 'datatables.net-searchbuilder'

Probably because of invalid main property in datatables.net-searchbuilder package.json.

https://github.com/DataTables/Dist-DataTables-SearchBuilder/issues/1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the referenced datatables.net-searchbuilder package.json, especially its main property, and trace how searchBuilder.bootstrap4.js resolves that dependency during the webpack build. Done means the package import resolves and the reported webpack build completes without the module-not-found error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.