我在angular 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)发布于 2017-08-02 07:26:39
这可能与环境有关。这个包在Windows上运行得很好,我首先要确保我使用的是最新稳定的npm和node。
https://stackoverflow.com/questions/45386753
复制相似问题