I tried everything to fix it, upgraded/downgraded node versions and nvm, uninstalled/re-installed etc… nothing is working and i keep getting an error relating to node-sass etc… heres a snip of the error:
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.1.7: Glob versions prior to v9 are no longer supported
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated node-sass@8.0.0: Node Sass is no longer supported. Please use sass
or sass-embedded
instead.
npm error code 1
npm error path /Users/mahdi/pdf-save-button/node_modules/node-sass
npm error command failed
npm error command sh -c node scripts/build.js
npm error Binary found at /Users/mahdi/pdf-save-button/node_modules/node-sass/vendor/darwin-arm64-115/binding.node
I saw online that you might need to get rid of node-sass and install sass instead, but I cant even do that because I get the same error. It looks like the @weweb/cli dependency is using node-sass and node might not support it anymore or something, I really dont know. I need to create new custom coded components and I am unable to because of that.
Is anyone else able to create a custom code component recently? Can anyone test creating a component and running npm install to check if its just me or does this need to fixed from weweb’s side??