I have build a tree-sitter parser and created a new package with ATOM package generated following the steps in the ATOM flight manual. But I am facing some issues:
– Published the tree-sitter parser to NPM
– In the grammars/package-name.cson, declared the NPM package name like so: parser: ‘my-npm-package-name’
In this way I am getting the error that this module can not be found.
– In the grammars/package-name.cson, declared the NPM package name like so: parser: ‘D:\path\to-local-package’
In this way I am getting error:
The module "Path-to-my-tree-sitter-package" was compiled against a different Node.js version using NODE_MODULE_VERSION 72. This version of Node.js requires NODE_MODULE_VERSION 73. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`).
How can I use the npm module I have published from my ATOM package?
How can I package my tree-sitter module to be always matching the required version from ATOM?
Help appreciated, thanks!