GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Can't use this package with electron · Issue #1621 · googleapis/google-cloud-node

Can't use this package with electron #1621

New issue
Copy link
New issue
Copy link
Closed
Closed
Can't use this package with electron#1621
Copy link
Assignees
stephenplusplus
Labels
coreelectronweb

Description

@clementai
clementai
opened on Sep 25, 2016
Issue body actions

Hello,

I'm trying to make a simple file upload for one of my electron project but I have an error at the start that come from google-cloud package.

It looks like the problem come from grpc but as it arrive after installing google-cloud I opened the issue here. If you prefer I can open an other one on grpc github project.

Environment details

  • OS: Elementary OS Loki (Based on Ubuntu 16.04)
  • Node.js version: Electron 1.3.3 (So Node 6.3)
  • npm version: 3.10.3
  • google-cloud-node version: 0.40.0

Steps to reproduce

const gcloud = require('google-cloud')
const config = require('../../config')

const storage = gcloud.storage({
  credentials: config.credentials,
  projectId: config.projectId
})

const bucket = storage.bucket(config.storageBucket)

async function saveFile(filePath, data) {
  const file = bucket.file(filePath)

  await new Promise((resolve, reject) =>
    file.save(data, err => err ? reject(err) : resolve())
  )
}
exports.saveFile = saveFile

Result:

App threw an error during load
Error: .../node_modules/grpc/src/node/extension_binary/grpc_node.node: undefined symbol: GENERAL_NAME_free
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:168:20)
    at Object.Module._extensions..node (module.js:583:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:168:20)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (.../node_modules/grpc/src/node/src/grpc_extension.js:38:15)

I tried to install the package following this http://electron.atom.io/docs/tutorial/using-native-node-modules/ but it don't help.

Thanks for your help.

Reacted by ariesshrimp and Leandro Lugaresi

Activity

  1. stephenplusplus commented on Sep 25, 2016

    @stephenplusplus
    stephenplusplus
    on Sep 25, 2016
    Contributor
    More actions

    This issue was moved to grpc/grpc#8199

  2. stephenplusplus
    closed this as completedon Sep 25, 2016
  3. stephenplusplus commented on Sep 25, 2016

    @stephenplusplus
    stephenplusplus
    on Sep 25, 2016
    Contributor
    More actions

    Thanks for reporting. I've moved the issue to gRPC's repo, so they can dig into it. I'm subscribed to the new issue as well, so I'll still be around if anything is needed from us.

    Reacted by Pietro
  4. stephenplusplus
    added
    core
    on Sep 25, 2016
  5. clementai commented on Sep 25, 2016

    @clementai
    clementai
    on Sep 25, 2016
    Author
    More actions

    Thanks a lot for your time !

  6. JustinBeckwith
    added
    electron
    web
    on Jun 25, 2020
  7. JustinBeckwith
    assigned
    stephenplusplus
    on Feb 1, 2021
  8. sofisl
    added 2 commits that reference this issue on Feb 25, 2026

    chore: release 5.14.4 (#1621)

    76336bd

    feat: Adding IT for date and commit timestamp (#1621)

    b3b29c8
  9. sofisl
    added a commit that references this issue on Mar 17, 2026

    fix: expectedParams in tests should not print out null string, instea…

    e2e466d
  10. thiyaguk09
    added a commit that references this issue on Mar 18, 2026

    chore: release 5.14.4 (googleapis#1621)

    8fd48e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

Labels

coreelectronweb

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.