【发布时间】:2019-12-12 07:46:46
【问题描述】:
我一直看到这个错误:
Error: Cannot find module 'E:\LARRY\FDC\stesh\backend\routes/core/util'
我不明白的是正斜杠和反斜杠。
我的代码如下所示。
const appRoot = __dirname + '/../../';
var util = require(__dirname + '/../../core/util');
什么是正斜杠反向威胁的解决方案?
【问题讨论】:
标签: node.js