question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build localized widget

See original GitHub issue

I am trying to build my localized widget via npm in spanish, but the problem is before

The problem is that the npm install command does not work.

I’m using:

git clone https://github.com/firebase/firebaseui-web.git cd firebaseui-web npm install

and it’s dont work. I receive this:

$ npm i

grpc@1.10.1 install C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc node-pre-gyp install --fallback-to-build --library=static_library ` node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node-v64-win32-ia32-unknown.tar.gz node-pre-gyp ERR! Pre-built binaries not found for grpc@1.10.1 and node@10.13.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp ERR! Pre-built binaries not installable for grpc@1.10.1 and node@10.13.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp ERR! Hit error Connection closed while downloading tarball file gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Python34\python.EXE -c import sys; print “%s.%s.%s” % sys.version_info[:3]; gyp ERR! stack File “<string>”, line 1 gyp ERR! stack import sys; print “%s.%s.%s” % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:289:12) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at maybeClose (internal/child_process.js:962:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Users\Win 7\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “configure” “–fallback-to-build”“–library=static_library” “–module=C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc\src\node\extension_binary\node-v64-win32-ia32-unknown\grpc_node.node” “–module_name=grpc_node” “–module_path=C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc\src\node\extension_binary\node-v64-win32-ia32-unknown” gyp ERR! cwd C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute ‘C:\Program Files\nodejs\node.exe C:\Users\Win 7\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --library=static_library --module=C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc\src\node\extension_binary\node-v64-win32-ia32-unknown\grpc_node.node --module_name=grpc_node --module_path=C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc\src\node\extension_binary\node-v64-win32-ia32-unknown’ (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:962:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) node-pre-gyp ERR! System Windows_NT 6.1.7601 node-pre-gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc\node_modules\node-pre-gyp\bin\node-pre-gyp” “install” “–fallback-to-build” “–library=static_library” node-pre-gyp ERR! cwd C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc node-pre-gyp ERR! node -v v10.13.0 node-pre-gyp ERR! node-pre-gyp -v v0.7.0 node-pre-gyp ERR! not ok Failed to execute ‘C:\Program Files\nodejs\node.exe C:\Users\Win 7\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --library=static_library --module=C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc\src\node\extension_binary\node-v64-win32-ia32-unknown\grpc_node.node --module_name=grpc_node --module_path=C:\Users\Win 7\Documents\Alexander\Desarrollo-Web\Proyectos\firebaseui-web\node_modules\firebase\node_modules\grpc\src\node\extension_binary\node-v64-win32-ia32-unknown’ (1) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“ia32”})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! grpc@1.10.1 install: node-pre-gyp install --fallback-to-build --library=static_library npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the grpc@1.10.1 install 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! C:\Users\Win 7\AppData\Roaming\npm-cache_logs\2018-11-29T20_00_15_257Z-debug.log

I suspect that the problem is not related to firebaseui-web but to the dependencies that I have installed but really don’t get a solution.

I am using Windows 7 32bit, npm 6.4.1 , node v10.13.0. Python 2.7.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
suga0828commented, Mar 2, 2019

@lightsound i reinstall node-sass (last version) and its solved.

0reactions
suga0828commented, Mar 20, 2020

Yes, @imbilal1. In this moment I reinstall node-sass (delete node_module’s node-sass folder and install again, manually) and was solved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Widget Customization - Introduction to Localize
Navigate to the Widget page in your Project; Scroll down to the Languages panel; Click the Edit display names link; Click on the...
Read more >
Simplified Flutter Localization using a BuildContext extension
We've now created a simplified app template that allows us to more easily localize strings in our widgets by using a handy BuildContext ......
Read more >
how to localize today extensions widget? - ios - Stack Overflow
Check that your TodayWidget target has the Localizable.strings files in the target membership.
Read more >
Internationalizing Flutter apps
The WidgetsApp widget creates a Localizations widget and rebuilds it if the system's locale changes.
Read more >
Testing Localized Widget in Flutter | by Hyo | CodeChai
Note that my JSON files are located in ` res/langs/en.json `and ` res/langs/ko. · Then you will be able to use the localization...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found