Closed justinbaltazar closed 3 years ago
For help with debugging, compiling https://github.com/haraka/node-address-rfc2821 separately successfully generates the grammar.js
file with the postinstall hook.
Manually removing all the contents of the folder /usr/local/lib/node_modules/Haraka/node_modules/address-rfc2821/
and replacing it with all the contents of the manually compiled node-address-rfc2821
package fixes the issue.
Might be a problem with the package postinstall hook not placing grammar.js
in the proper directory? Hmmm
duplicate of #32
Was unsure where to put this. I opened another issue in the core Haraka plugin repo: https://github.com/haraka/node-address-rfc2821/issues/32
Describe the bug Import error with new grammar.js compiled file.
Expected behavior Haraka should run.
Observed behavior
Steps To Reproduce Install a fresh copy of Haraka via npm. Run
haraka -i test
and thenharaka -c test
System Info:
Additional context Looks to be related to this commit and the use of this new
grammar.js
library.