我正在尝试从文件 userManager.js index.js 中获取文件,如照片中所示。但这给了我错误:
[ERROR] Script Error Could not find module: app / cloud / UserManager
我试图改变:
var user = require('userManager');
var user = require('/userManager');
var user = require('cloud/userManager');
var user = require('./cloud/userManager');