1
對於我emberjs應用程序,我想從終端預編譯我的車把的模板,但運行的NodeJS燼,預編譯模塊:的NodeJS燼,預編譯拋出類型錯誤
ember-precompile src/templates/*.handlebars -f public/js/templates.js
拋出這個類型錯誤錯誤:
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object #<Object> has no method 'appendFileSync'
at write (/usr/local/lib/node_modules/ember-precompile/bin/ember-precompile:25:10)
at /usr/local/lib/node_modules/ember-precompile/bin/ember-precompile:32:5
at Array.forEach (native)
at main (/usr/local/lib/node_modules/ember-precompile/bin/ember-precompile:31:14)
at Object.<anonymous> (/usr/local/lib/node_modules/ember-precompile/bin/ember-precompile:36:1)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)
什麼可能導致:TypeError:Object#沒有方法'appendFileSync'?