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

sass and uncss error on build #1124

Open
eydolan opened this issue Aug 15, 2022 · 3 comments
Open

sass and uncss error on build #1124

eydolan opened this issue Aug 15, 2022 · 3 comments

Comments

@eydolan
Copy link

eydolan commented Aug 15, 2022

How can we reproduce this bug?
OS: Ubuntu 22.04.1 LTS x86_64
Node: NVM v10.24.1
Gulp: 4.0.2
Gulp CLI: 2.3.0
NPM: 7.20.5
Yarn: 1.22.15

watch works fine as in yarn or npm start

However yarn build or npm run build chuck the following errors.

Template is standard downloaded from github nothing changed.

I tried on 2 different computers with same spec same issues.

does not generate sass and inline build,

[14:33:06] Failed to load external module @babel/register
[14:33:06] Requiring external module babel-register
[14:33:07] Using gulpfile ****/project/gulpfile.babel.js
[14:33:07] Starting 'default'...
[14:33:07] Starting 'build'...
[14:33:07] Starting 'clean'...
[14:33:07] Finished 'clean' after 15 ms
[14:33:07] Starting 'pages'...
[14:33:07] Finished 'pages' after 449 ms
[14:33:07] Starting 'sass'...
Auto configuration failed
140021337831360:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libproviders.so): libproviders.so: cannot open shared object file: No such file or directory
140021337831360:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140021337831360:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=providers, path=providers
140021337831360:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=providers
[14:33:08] 'sass' errored after 729 ms
[14:33:08] Error in plugin 'gulp-uncss'
Message:
Auto configuration failed
140021337831360:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libproviders.so): libproviders.so: cannot open shared object file: No such file or directory
140021337831360:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140021337831360:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=providers, path=providers
140021337831360:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=providers

Details:
domainEmitter: [object Object]
domain: [object Object]
domainThrown: false
[14:33:08] 'build' errored after 1.19 s
[14:33:08] 'default' errored after 1.2 s

@rajithwijepura
Copy link

I'm also receiving the same error when running npm run build command

@PhMetzger
Copy link

quick and hacky work around on Ubuntu 22.04

Use in terminal before building

export OPENSSL_CONF=/dev/null

@webmaxx
Copy link

webmaxx commented Jan 26, 2023

quick and hacky work around on Ubuntu 22.04

Use in terminal before building

export OPENSSL_CONF=/dev/null

OS: Fedora 37
Node: NVM v10.24.1

It works. Thanks

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

4 participants