mistic100 / jQuery-QueryBuilder

jQuery plugin offering an interface to create complex queries

Home Page:https://querybuilder.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build instructions needed

robstant opened this issue · comments

Hi,

I would like to modify this for my purposes. Namely to allow expressions built from math functions and field names. I have followed the following instructions as well as several variations.

  1. npm install jQuery-QueryBuilder
  2. npm install
  3. npm run build

after 3. I get the following error
(function (exports, require, module, __filename, __dirname) { import fs from 'fs';
Unexpected token import

I would be grateful if you could post a set of instructions which would produce a build. The default query-builder.standalone.min.js is working on my system.
Regards
Rob

what is your nodejs version ? you need at least node 16


note : your step 1 is useless

Thanks a lot for your help. The version of node was too low. I now seem to have built some working output.

Regards
Rob