Git Product home page Git Product logo

Comments (6)

cedeerwe avatar cedeerwe commented on August 29, 2024 1

I have managed to build it by downgrading to 4.0.7000, thanks for the workaround tip!

from reprocessing-example.

cedeerwe avatar cedeerwe commented on August 29, 2024

I have tried installing bs-platform also locally in the package

$ npm install bs-platform
$ npm run build

> reprocessing-example@ build /home/cd/Scripts/Tutorials/ReasonReprocessing/reprocessing-example
> bsb -make-world

ninja: no work to do.
ninja: no work to do.
ninja: no work to do.
ninja: no work to do.
[3/15] Building src/bytecode/Reprocessing_Hotreload_Bytecode.cmj

  We've found a bug for you!
  /home/cd/Scripts/Tutorials/ReasonReprocessing/reprocessing-example/node_modules/reprocessing/src/bytecode/Reprocessing_Hotreload_Bytecode.re 2:15-36
  
  1 │ let load_plug = fname => {
  2 │   let fname = Dynlink.adapt_filename(fname);
  3 │   if (Sys.file_exists(fname)) {
  4 │     try (Dynlink.loadfile(fname)) {
  
  The module or file Dynlink can't be found.
  - If it's a third-party dependency:
    - Did you list it in bsconfig.json?
    - Did you run `bsb` instead of `bsb -make-world`
      (latter builds third-parties)?
  - Did you include the file's directory in bsconfig.json?
  
[4/15] Building src/Reprocessing_Constants.cmj
Failure: /home/cd/Scripts/Tutorials/ReasonReprocessing/reprocessing-example/node_modules/bs-platform/lib/ninja.exe 
 Location: /home/cd/Scripts/Tutorials/ReasonReprocessing/reprocessing-example/node_modules/reprocessing/lib/bs
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! reprocessing-example@ build: `bsb -make-world`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the reprocessing-example@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/cd/.npm/_logs/2019-09-10T20_10_11_419Z-debug.log

I have no luck googling up what is Dynlink and how can I fix this.

from reprocessing-example.

Schmavery avatar Schmavery commented on August 29, 2024

Sorry about this rabbit hole you found yourself in. Unfortunately the first error message you got was very misleading.

This project actually relies on bsb-native rather than bs-platform but it seems that due to some error in a new version of the former, something on linux is breaking -- Usually bsb-native attempts to release linux and windows builds along with the mac one, which seems to have been missed this time. We still need to try and find the time to automate some of that stuff to make the updates smoother.

The takeaway is.. you don't need to install bs-platform, but it appears there's some bug in bsb-native that's causing an issue in install (I'm not 100% what it is).

from reprocessing-example.

cedeerwe avatar cedeerwe commented on August 29, 2024

Thanks for the explanation. Is there any potential work-around? I do not need the newest version, I just want to try out Reprocessing.

from reprocessing-example.

Schmavery avatar Schmavery commented on August 29, 2024

You might have some luck downgrading bsb-native in the package.json to 4.0.7000?

from reprocessing-example.

Schmavery avatar Schmavery commented on August 29, 2024

Good to hear, we'll try to get the 4.0.1100 situation sorted out soon :)

from reprocessing-example.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.