mistic100 / jQuery-QueryBuilder

jQuery plugin offering an interface to create complex queries
https://querybuilder.js.org
MIT License
1.69k stars 552 forks source link

Build instructions needed #986

Closed robstant closed 1 year ago

robstant commented 1 year ago

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

mistic100 commented 1 year ago

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


note : your step 1 is useless

robstant commented 1 year ago

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

Regards Rob