我一直在兔子洞,看到了许多解释使用@handlebars/allow-prototype-access允许问题被绕过,但项目似乎没有使用一个标准的实现把手./source/pages/**/*.hbs');我不知道如何用这个设置实现原型访问.当我使用这一行运行项目时,我会得到以下错误:
Handlebars: Access has been d
/node_modules/handlebars/lib/index.js:23:38-45 -错误:未找到模块:错误:无法解析。在‘/节点_模块/车把/库’中
import * as handlebars from 'handlebars';
我试图按下面的方式向angular.json添加手柄,但似乎没有任何东西起作用"node_modules/handlebars/dist/