Localized Build doesn't work
See original GitHub issue[REQUIRED] Describe your environment
- Operating System version: macOS Sierra 10.12.6
- Firebase UI version: 4.4.0
[REQUIRED] Describe the problem
I try to build a localized version as described on your pages. But after npm install
I get this error
make: *** [Release/obj.target/binding/src/create_string.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/**/firebaseui-web/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/usr/local/Cellar/node/12.12.0/bin/node" "/Users/**/firebaseui-web/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/**/firebaseui-web/node_modules/node-sass
gyp ERR! node -v v12.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: google-closure-compiler-linux@20190415.0.0 (node_modules/google-closure-compiler-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for google-closure-compiler-linux@20190415.0.0: wanted {"os":"linux","arch":"x64,x86"} (current: {"os":"darwin","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.13.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.13.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/**/.npm/_logs/2020-03-06T20_20_25_233Z-debug.log
If I try to go on and run npm run build build-npm-de
I get this error:
throw err;
^
Error: Cannot find module 'gulp-sass'
Require stack:
- /Users/**/firebaseui-web/gulpfile.js
- /Users/**/firebaseui-web/node_modules/gulp/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js
- /Users/**/firebaseui-web/node_modules/gulp/node_modules/gulp-cli/index.js
- /Users/**/firebaseui-web/node_modules/gulp/bin/gulp.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/**/firebaseui-web/gulpfile.js:25:14)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:849:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/**/firebaseui-web/gulpfile.js',
'/Users/**/firebaseui-web/node_modules/gulp/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js',
'/Users/**/firebaseui-web/node_modules/gulp/node_modules/gulp-cli/index.js',
'/Users/**/firebaseui-web/node_modules/gulp/bin/gulp.js'
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! firebaseui@4.4.0 build: `gulp "build-npm-de"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the firebaseui@4.4.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/**/.npm/_logs/2020-03-06T20_26_49_848Z-debug.log
Steps to reproduce:
run the instructions on your page:
- git clone
- cd into the folder
- npm install
- npm run build build-npm-de
Help would be very much appreciated - and I need the German version so if anyone has a built one, that would be also very helpful. BR
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:7
Top Results From Across the Web
Resolved - Localization not working in build - Unity Forum
The localization tool has been working great in the editor, but will not work in any of my builds. My code test derived...
Read more >Addressables/Localization don't work after build #230 - GitHub
I used localization package in my test project. It has one scene and one button with localized string. It work fine in editor...
Read more >Angular 9 NG Build with Localize - Stack Overflow
I am having an issue with ng build --prod --localize . it says: ... When I load the first time both work fine...
Read more >Troubleshoot ASP.NET Core Localization | Microsoft Learn
When the root namespace of an assembly is different than the assembly name, localization doesn't work by default.
Read more >Localized Build Example — The Dojo Toolkit - Reference Guide
We do not directly employ any build system switches or capabilities via build.sh ... Our Foo.js implementation should try to load and use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For anyone just interested in building artifacts with localized text: I created a minimal fork which skips all CSS, SASS, tests etc. (like described by @dalibor-123 ). Tested on Mac/OSX.
https://github.com/netzwerg/firebaseui-web
Hope it helps!
great thank you @netzwerg ! A little bit disappointing though that we didn’t hear anything from Google. They want us to use the UI to push a more secure and their UI concept but no reaction what so ever in such an important issue…