Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
T
t3olayout
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 5
    • Merge Requests 5
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • services
    • T
      t3o sites
  • common
  • t3olayout
  • Issues
  • #637

Closed
Open
Opened Apr 04, 2020 by Alex Nostadt@ano🇩🇪0 of 1 task completed0/1 task

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
Sprint 3 (2020) - t3o remote day July
Milestone
Sprint 3 (2020) - t3o remote day July (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: services/t3o-sites/common/t3olayout#637