Oro CRM - 无法安装节点-sass 版本

Oro CRM - Cann't istall node-sass Version

我收到以下错误:

 Cannot download "https://github.com/sass/node-sass/releases/download/v4.12.0/linux-x64-83_binding.node":
  HTTP error 404 Not Found
  Hint: If github.com is not accessible in your location
        try setting a proxy via HTTP_PROXY, e.g.
        export HTTP_PROXY=http://example.com:1234

  or configure npm proxy via
        npm config set proxy http://example.com:8080

不,我不使用代理。 安装了以下依赖项:

  gyp info using node-gyp@3.8.0
  gyp info using node@14.6.0 | linux | x64

这是我从作曲家信息中得到的信息 | grep oro/:

oro/calendar-bundle                  4.1.5      Calendar bundle for OroPlatform-based applications.
oro/commerce                         4.1.6      OroCommerce - an open-source Business to Business Commerce ap...
oro/commerce-crm                     4.1.3      OroCRM integration for OroCommerce
oro/crm                              4.1.6      OroCRM
oro/crm-call-bundle                  4.1.5      Oro Call Bundle
oro/crm-dotmailer                    4.1.5      Oro Dotmailer integration
oro/crm-hangouts-call-bundle         4.1.1      Oro Google Hangouts integration
oro/crm-magento-embedded-contact-us  4.1.2      OroCRM Magento Embedded Contact Us package
oro/crm-task-bundle                  4.1.4      Oro Task Bundle
oro/crm-zendesk                      4.1.3      OroCRM Zendesk Integration
oro/customer-portal                  4.1.6
oro/doctrine-extensions              1.2.2      Doctrine Extensions for MySQL and PostgreSQL.
oro/marketing                        4.1.4      Oro Marketing Bundles
oro/oauth2-server                    4.1.4      Oro OAuth 2.0 authorization and resource server for BAP
oro/platform                         4.1.6      Business Application Platform (BAP)
oro/platform-serialised-fields       4.1.2      OroPlatform Serialized Fields
oro/redis-config                     4.1.2      OroRedisConfigBundle

我试图在我的浏览器中打开上面的 link 并收到 404 错误。但是,如果我尝试安装最新版本,则此方法有效。 回到我的问题,我可以升级这个包的版本吗?或者有没有其他方法可以解决这个问题?

提前谢谢你:)

是的,你可以升级,但目前,在 OroCRM 项目中升级node-sass并不那么容易。

您必须修补 vendor/oro/platform/build/package.json 文件。该团队将在进一步的 4.1 版本中对此进行简化。