当试图编译我的ghcjs
/jsaddle
基于 Haskell 网站时,我得到
Main.hs:20:1: error:
Failed to load interface for ‘GHCJS.DOM.Element’
It is a member of the hidden package ‘jsaddle-dom-0.9.2.0’.
Perhaps you need to add ‘jsaddle-dom’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
即使jsaddle-dom
已经在build-depends
我的阴谋集团文件中。
所以我不能做错误信息所暗示的事情。
这是怎么回事?