Node.js 错误:无法读取配置文件newrelic.js
我得到了这个错误:Node.js 错误:无法读取配置文件newrelic.js,node.js,webpack,newrelic,angular-universal,Node.js,Webpack,Newrelic,Angular Universal,我得到了这个错误: Error: Unable to read configuration file newrelic.js. A base configuration file can be copied from 536 and renamed to in the directory from which you will start your application. 该项目是带有SSR的Angular 7 SPA。有两种解决方案: 第一个是由bj97301于 在我的网页包配置文件中
Error: Unable to read configuration file newrelic.js.
A base configuration file can be copied from 536 and renamed to in the
directory from which you will start your application.
该项目是带有SSR的Angular 7 SPA。有两种解决方案:
第一个是由bj97301于
'use strict';
exports.config = {
app_name: [],
license_key: '',
logging: {
level: 'warning'
},
allow_all_headers: true
}
不要忘记在服务器上要求。ts,只需添加:
require('./newrelic');
我希望这能节省一些时间。有两种解决方案:
第一个是由bj97301于
'use strict';
exports.config = {
app_name: [],
license_key: '',
logging: {
level: 'warning'
},
allow_all_headers: true
}
不要忘记在服务器上要求。ts,只需添加:
require('./newrelic');
我希望这能节省一些时间