Closed kaby76 closed 3 months ago
I assume you have installed the dependencies. I see these errors when I have no node_modules folder.
I assume you have installed the dependencies.
What dependencies? Can you add to the project.json dependency tests or requirements so that the build can output what I need to install? Otherwise I have no clue. (Commenting out above source to get past compilation errors, I now get this.)
$ !npm
npm run build
> antlr4ng@3.0.3 build
> tsc && npm run build-cjs && npm run build-mjs
> antlr4ng@3.0.3 build-cjs
> npm run build-bundle -- --outfile=dist/index.cjs --format=cjs
> antlr4ng@3.0.3 build-bundle
> esbuild ./src/index.js --main-fields=module,main --bundle --target=esnext --keep-names --outfile=dist/index.cjs --format=cjs
'esbuild' is not recognized as an internal or external command,
operable program or batch file.
03/15-09:11:14 ~/temp/antlr4ng
Right after cloning the repo run npm i
in its root folder to install the dev dependencies. It's so common in TypeScript projects, I haven't documented that š
I have now added a chapter with the build instructions to the readme file.
Fixed with instructions in readme.
Just did a clone and trying to build antlr4ng. I'm getting a compilation error.
I have the latest of node and tsc for Windows 11.