Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T t3olayout
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 4
    • Merge requests 4
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • servicesservices
  • t3o sites
  • common
  • t3olayout
  • Issues
  • #637
Closed
Open
Issue created Apr 04, 2020 by Alexander Nostadt@ano🇩🇪0 of 1 checklist item completed0/1 checklist item

t3olayout // node-sass@4.9.4 cannot be installed

Summary

When installing npm packages in t3olayout, sass is not being installed because the binary is not available.

user@ter-web:/var/www/html/private/typo3conf/ext/t3olayout/Build$ npm install

> node-sass@4.9.4 install /var/www/html/private/typo3conf/ext/t3olayout/Build/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.4/linux-x64-72_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.9.4/linux-x64-72_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

Steps to reproduce

Setup project as described here, then, if you don't see the error upon ddev start already, navigate to /var/www/html/private/typo3conf/ext/t3olayout/Build and execute npm install.

What is the current bug behavior?

node-sass@4.9.4 is not available at GitHub anymore, which is: https://github.com/sass/node-sass/releases/download/v4.9.4/linux-x64-72_binding.node

What is the expected correct behavior?

Node-sass is installed properly. In addition I noticed gulp-sass installed either, so we probably have some duplicates here.

Acceptence Criterias

  • node-sass is installed accordingly. Not necessarily v4.9.4

Possible fixes

In the locked package file, node-sass v4.9.4 is locked. So, I assume it just needs to be updated.

private/typo3conf/ext/t3olayout/Build/package-lock.json

    "node-sass": {
      "version": "4.9.4",
      "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.9.4.tgz",
      "integrity": "sha512-MXyurANsUoE4/6KmfMkwGcBzAnJQ5xJBGW7Ei6ea8KnUKuzHr/SguVBIi3uaUAHtZCPUYkvlJ3Ef5T5VAwVpaA==",
      "dev": true,
      "requires": {
        "async-foreach": "^0.1.3",
        // ...
      },
Assignee
Assign to
Time tracking