因为项目结构是这样的:
-- folder 1 with node modules that has Sentry angular
-- folder 2 (a servicelib) with node modules that doesn't have Sentry (I need to use Sentry here)
有人告诉我在文件夹 1 中创建一个 Sentry 对象并将其传递到文件夹 2...我不确定我该怎么做。有任何想法吗?我已经坚持了几个星期,我可以使用一些帮助...
我尝试在文件夹 2 中安装 sentry/node,但错误不断弹出,我不知道那有什么问题。