Closed SupposedlySam closed 3 years ago
This error ended up being with the build_node_compilers
package. I needed to update my build.yaml
file to use the dart2js compiler instead. (Note: the build.yaml file also needed to be inside of the functions
folder as well)
targets:
$default:
sources:
- node/**
- lib/**
builders:
build_node_compilers|entrypoint:
options:
compiler: dart2js
When generating the
index.dart.js
andindex.dart.bootstrap.js
files usingpub run build_runner build -o node:build
thedart_sdk
is specified as a module under the path "packages/$sdk/dev_compiler/common/dart_sdk".However, when attempting to run
firebase emulators:start --only functions
, I get the following error:Has the
dart_sdk
been removed or relocated?