nextron icon indicating copy to clipboard operation
nextron copied to clipboard

build error when I install firebase

Open obscure12 opened this issue 5 years ago • 8 comments

I created project by this command.

npx create-nextron-app <MY-APP> --example with-typescript-material-ui

and run npm run build This time I finished this command successfully.

But after I installed firebase by this command.

npm install --save firebase

and I run npm run build again

there are these error

rebuilding native dependencies  [email protected] platform=darwin arch=x64
Failed at the [email protected] install script.

Please kindly check. Thank you

obscure12 avatar Nov 26 '19 21:11 obscure12

Hi @obscure12, what version of NodeJS are you running?

lacymorrow avatar Nov 26 '19 23:11 lacymorrow

Hi @lacymorrow

this is my environment

node 
v12.13.1

npm
6.12.1

obscure12 avatar Nov 26 '19 23:11 obscure12

@obscure12

Sorry I can't reproduce the error:

(Building is successful)

スクリーンショット 2019-12-10 20 16 54

But it takes about 10 minutes.

It may be the network or out of memory error, I wonder.

saltyshiomix avatar Dec 10 '19 11:12 saltyshiomix

@saltyshiomix Thank you so much for your response. Could you tell me your environment and process of creating project

What are your node , npm and nextron version ?

and is this same process with you ?

npx create-nextron-app example-project --example with-typescript-material-ui

npm install --save firebase

npm run build

Please kindly check. Thank you

obscure12 avatar Dec 10 '19 11:12 obscure12

@obscure12

Here is my env:

  • Node.js v12.13.1
  • npm v6.12.1
  • nextron v5.14.1

And surely I tracked the same instructions 👍

saltyshiomix avatar Dec 10 '19 12:12 saltyshiomix

https://github.com/grpc/grpc-node/issues/888

saltyshiomix avatar Dec 10 '19 12:12 saltyshiomix

@obscure12

Do you use nvm for Node.js version management?

I use Node.js from homebrew:

$ brew install node@12

saltyshiomix avatar Dec 10 '19 12:12 saltyshiomix

@saltyshiomix I'm using nodebrew

obscure12 avatar Dec 11 '19 00:12 obscure12

This is pretty old, and have been abandoned for a while, closing it now to tidy up a bit 😄

Psycokwet avatar May 07 '23 13:05 Psycokwet