firebase-admin-node icon indicating copy to clipboard operation
firebase-admin-node copied to clipboard

no such file or directory, open '...grpc/node_modules/dashdash/node_modules/assert-plus/package.json.3046197349'

Open jesperlandmer opened this issue 8 years ago • 6 comments

[REQUIRED] Step 2: Describe your environment

  • Environment: Vagrant 1.8.6
  • Platform: Node.js 8.9.4
  • Firebase SDK version: 5.8.1
  • Library version: NPM
  • Firebase Product: functions

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

Setted up the functions directory like this:

$ firebase init functions $ cd functions

Installed the dependencies (i.e. firebase-admin v5.8.1): $ sudo npm install

Gets this error:

npm ERR! path /vagrant/cloud/functions/node_modules/@google-cloud/common-grpc/node_modules/grpc/node_modules/dashdash/node_modules/assert-plus/package.json.3046197349
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/vagrant/cloud/functions/node_modules/@google-cloud/common-grpc/node_modules/grpc/node_modules/dashdash/node_modules/assert-plus/package.json.3046197349'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Using firebase-admin version 5.2.1 works.

jesperlandmer avatar Mar 02 '18 11:03 jesperlandmer

Hmmm this issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Mar 02 '18 11:03 google-oss-bot

Hey there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Mar 02 '18 11:03 google-oss-bot

@schmidt-sebastian can we run this by the grpc team as well?

hiranya911 avatar Jun 27 '18 23:06 hiranya911

@jesperlandmer Are you still facing this issue? We haven't had any reports of similar nature and would recommend that you completely remove your node_modules and try to install again. Sorry for the trouble!

schmidt-sebastian avatar Jun 28 '18 00:06 schmidt-sebastian

These 2 issues appear to be related: https://github.com/firebase/firebase-js-sdk/issues/1234 @jesperlandmer, what OS are you using for your Vagrant box? I'm trying to figure out if it's a Vagrant-related problem with grpc or an OS-related problem.

shawnsparks avatar Nov 20 '18 00:11 shawnsparks

I'm closing this since there hasn't been any reports of this recently. Lets keep an eye on the issue reported for grpc for any updates.

hiranya911 avatar Feb 27 '19 19:02 hiranya911