我正在使用grunt-loop-mocha節點模塊。當我執行咕嚕測試,我得到以下錯誤: Warning: Task "loopmocha" not found. Use --force to continue.
Aborted due to warnings.
這裏是我的代碼: module.exports = function(grunt) {
require("grunt-
我想創建國際化模塊的兩個實例,但它不起作用。你知道怎麼做到的嗎? var i18n = require('i18n')
var i18nInstance1 = new i18n()
var i18nInstance2 = new i18n()
錯誤: var i18nInstance = new i18n();
^
TypeError: i18n is not a con