标签: javascript node.js require
我在node.js web应用程序上工作,我使用javascript服务器端。我每次使用“require”时都会遇到错误阻止我:
var documentClient = require ("documentdb"). DocumentClient;
错误是:require is not defined.
require is not defined.