Skip to content

t2 run ends with ENOENT: no such file or directory, open 'http2' #1678

@remotevision

Description

@remotevision

When using "@google-cloud/iot": "^1.1.3" I get this error message:

ERR! Error: ENOENT: no such file or directory, open 'http2'

To repeat this, simply add "@google-cloud/iot": "^1.1.3" as a dependency, and insert
const iot = require("@google-cloud/iot"); at the top of your index file.

$ t2 run index.js
INFO Looking for your Tessel...
INFO Connected to terrarium.
INFO Building project.
ERR! Error: ENOENT: no such file or directory, open 'http2'

I tried adding http2 to the list of built-ins based on the resolution for #757 but that caused other errors so I backed off.

Other Info:

INFO Tessel Environment Versions:
INFO t2-cli: 0.1.22
INFO t2-firmware: 0.2.0
INFO Node.js: 8.11.3

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions