尝试使用聚合物火进行构建时,出现此错误,以前有人见过吗?
“未找到解析器”是什么意思?
error: Promise rejection: Error: no resolver found for ../../../../bower_components/firebase/firebase.js
我的进口是
<link rel="import" href="../../bower_components/polymerfire/polymerfire.html">
我使用的polymerfire版本是
"polymerfire": "firebase/polymerfire#^0.9.3",
完整的错误日志:
error: Promise rejection: Error: no resolver found for ../../../../bower_components/firebase/firebase.js
error: Error: no resolver found for ../../../../bower_components/firebase/firebase.js
at FileLoader.request (/usr/local/lib/node_modules/polymer-cli/node_modules/hydrolysis/lib/loader/file-loader.js:70:37)
at Object.<anonymous> (/usr/local/lib/node_modules/polymer-cli/node_modules/vulcanize/lib/vulcan.js:318:26)
at Array.map (native)
at Object.inlineScripts (/usr/local/lib/node_modules/polymer-cli/node_modules/vulcanize/lib/vulcan.js:311:34)
at Object.<anonymous> (/usr/local/lib/node_modules/polymer-cli/node_modules/vulcanize/lib/vulcan.js:458:21)
at run (/usr/local/lib/node_modules/polymer-cli/node_modules/core-js/modules/es6.promise.js:89:22)
at /usr/local/lib/node_modules/polymer-cli/node_modules/core-js/modules/es6.promise.js:102:28
at flush (/usr/local/lib/node_modules/polymer-cli/node_modules/core-js/modules/_microtask.js:18:9)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
error: Promise rejection: Error: no resolver found for ../../../../bower_components/firebase/firebase.js
error: Error: no resolver found for ../../../../bower_components/firebase/firebase.js
at FileLoader.request (/usr/local/lib/node_modules/polymer-cli/node_modules/hydrolysis/lib/loader/file-loader.js:70:37)
at Object.<anonymous> (/usr/local/lib/node_modules/polymer-cli/node_modules/vulcanize/lib/vulcan.js:318:26)
at Array.map (native)
at Object.inlineScripts (/usr/local/lib/node_modules/polymer-cli/node_modules/vulcanize/lib/vulcan.js:311:34)
at Object.<anonymous> (/usr/local/lib/node_modules/polymer-cli/node_modules/vulcanize/lib/vulcan.js:458:21)
at run (/usr/local/lib/node_modules/polymer-cli/node_modules/core-js/modules/es6.promise.js:89:22)
at /usr/local/lib/node_modules/polymer-cli/node_modules/core-js/modules/es6.promise.js:102:28
at flush (/usr/local/lib/node_modules/polymer-cli/node_modules/core-js/modules/_microtask.js:18:9)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
在 bower_components/firebase/firebase.js 中有一个 firebase.js