1

我收到以下错误:

 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

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

先感谢您 :)

4

1 回答 1

2

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

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

于 2020-08-17T14:37:31.110 回答