pulyaevskiy / firebase-functions-interop

Firebase Functions Interop Library for Dart.
BSD 3-Clause "New" or "Revised" License
191 stars 52 forks source link

Can't import firebase_functions_interop.dart #42

Closed tumbling-dice closed 5 years ago

tumbling-dice commented 5 years ago

I created a project with reference to the README, but I can't import package:firebase_functions_interop/firebase_functions_interop.dart.

index.dart: screenshot

pubspec.yaml:

name: firebase_functions_test
description: test.
version: 0.0.1

environment:
  sdk: ">=2.0.0-dev <3.0.0"

dependencies:
  firebase_functions_interop: ^1.0.0-dev

dev_dependencies:
  build_runner: ^1.0.0
  build_node_compilers: ^0.2.0
tumbling-dice commented 5 years ago

I cloned firebase-functions-interop, but the same error still occurred in functions/node/index.dart.

screenshot

pulyaevskiy commented 5 years ago

Just to double check - did you run pub get after adding dependency to your pubspec.yaml?

tumbling-dice commented 5 years ago

Yes, I dit it.

But when I rebooted the PC I can import it. I'm sorry for confusing you.

pulyaevskiy commented 5 years ago

No worries, glad it works now. Closing this than.