使用node-webcrypto-ossl时出现意外的字符

时间:2017-07-29 07:42:14

标签: node.js angular node-modules

我在角度4中使用node-webcrypto-ossl,但是当我尝试执行某些功能时,我会继续这样做,

Module parse failed: /Users/---/---/webapp/node_modules/node-webcrypto-ossl/build/Release/nodessl.node Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)

1 个答案:

答案 0 :(得分:0)

这可能是环保的。该软件包在Windows上工作正常,我首先要确保我使用的是最新的稳定npm和节点。