Why does helium give 'Unexpected token' error in Apache Zeppelin?

微笑、不失礼 提交于 2019-12-11 05:49:33

问题


I am trying to add volume-leaflet via helium to Apache zeppelin (0.7) as per these instructions. I get this error when trying to enable it:

./~/leaflet/dist/leaflet.css
Module parse failed: /usr/hdp/2.6.0.3-8/zeppelin/local-repo/vis/node_modules/leaflet/dist/leaflet.css Unexpected token (3:0)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (3:0)
at Parser.pp$4.raise (/usr/hdp/2.6.0.3-8/zeppelin/local-repo/vis/node_modules/acorn/dist/acorn.js:2221:15)
at Parser.pp.unexpected (/usr/hdp/2.6.0.3-8/zeppelin/local-repo/vis/node_modules/acorn/dist/acorn.js:603:10)
at Parser.pp$3.parseExprAtom (/usr/hdp/2.6.0.3-8/zeppelin/local-    ... [some removed]... core/lib/NormalModuleMixin.js:259:5
at Storage.finished (/usr/hdp/2.6.0.3-8/zeppelin/local-repo/vis/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
at /usr/hdp/2.6.0.3-8/zeppelin/local-repo/vis/node_modules/graceful-fs/graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:445:3)
@ ./~/volume-leaflet/index.js 23:0-35

Can anyone please point me in the right direction?

来源:https://stackoverflow.com/questions/46742740/why-does-helium-give-unexpected-token-error-in-apache-zeppelin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!