Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-sass deprecated #137

Open
abhinavkshitij opened this issue Nov 10, 2021 · 2 comments
Open

node-sass deprecated #137

abhinavkshitij opened this issue Nov 10, 2021 · 2 comments

Comments

@abhinavkshitij
Copy link

abhinavkshitij commented Nov 10, 2021

Description

node-sass package is no longer supported and therefore npm install fails to complete with build:css with sass.

Steps to reproduce

Explain in detail the exact steps necessary to reproduce the issue.

git clone https://github.com/brightcove/videojs-playlist-ui.git
cd videojs-playlist-ui
npm install

Results

Error output

npm ERR! path /home/abhinav/videojs-playlist-ui/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node scripts/build.js
npm ERR! Building: /home/abhinav/.nvm/versions/node/v16.13.0/bin/node /home/abhinav/videojs-playlist-ui/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! make: Entering directory '/home/abhinav/videojs-playlist-ui/node_modules/node-sass/build'

versions

videojs

latest

browsers

Chrome

OSes

Ubuntu 18.04 WSL

@gkatsev
Copy link
Member

gkatsev commented Nov 10, 2021

Unfortunately, we haven't updated dependencies for building and currently it's only known to be working with lts/erbium which is node 12 (https://github.com/brightcove/videojs-playlist-ui/blob/master/.nvmrc).
If you need to build this manually, I would recommend switching to node 12 for now for this repo.

@abhinavkshitij
Copy link
Author

abhinavkshitij commented Nov 10, 2021

No luck with node v12.22.7

Error output (abridged, showing only the first ENOENT message):

npm WARN tar ENOENT: no such file or directory, open '/home/abhinav/node12/videojs-playlist-ui/node_modules/.staging/es-abstract-4c1b3ae3/2019/ToDateString.js'
...

I can see 2016/ 2017/ 2018/ 2020/ 2021/ but no 2019/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants