0

We are trying to get a simple noflo example running inside a browser as described the noflojs.org/documentation/fbp/ [Language for Flow-Based Programming]

We tried to refer to some examples available on GitHub

  1. github.com/noflo/noflo-browser-app
  2. github.com/noflo/noflo-websocket
  3. github.com/bergie/flowcopter

We tried npm install; grunt build. We get the below error and are not able to proceed beyond this:

Running "noflo_browser:build" (noflo_browser) task install noflo/noflo@master Warning: dns lookup failed Use --force to continue.

Any idea what are we missing ?

CinCout
  • 9,486
  • 12
  • 49
  • 67
Byre BG
  • 1
  • 1

1 Answers1

0

At the time of the question the build setup for the projects mentioned was still based on Component.js which had become unmaintained.

Nowadays we're using NPM for installing dependencies and WebPack for browser builds.

Suggested fix would be to fetch the latest versions of these repos, do npm install and build again. This will bring the build up to spec.

If you're using the old build setup in your own projects, this PR is a handy example on what to change to go from Component.js to WebPack.

bergie
  • 930
  • 7
  • 8