Giter Club home page Giter Club logo

Comments (5)

choptastic avatar choptastic commented on May 24, 2024 1

from nitrogen.

choptastic avatar choptastic commented on May 24, 2024

Hi @lgmfred,

Given that proplists:to_map was introduced in OTP24, but you're running OTP25, this looks like there's some kind of inconsistency in your system.

I would try to completely delete the _build directory, then re-run make and see what kicks out.

from nitrogen.

choptastic avatar choptastic commented on May 24, 2024

Or wait, is this with nitrogen 2.x still, rather than Nitrogen 3 (a.k.a the rebar3 branch?)

If that's the case, is this a full release or a slim release?

In either case, I would try this:

make fix-slim-release (if this is a full release, it will convert it to a slim release)

Then run make

If, after that is run, it continues to do that, I would then delete the lib directory and run make again and see what happens.

from nitrogen.

lgmfred avatar lgmfred commented on May 24, 2024

Yeah, there's some inconsistency. I'm running Nitrogen 2.4.0 on Ubuntu 22.04 LTS, and I've tried the above, but it didn't work either. I was using ASDF, but I even tried directly installing esl-erlang package. However, the same error still pops up.

From the Nitrogen shell, the proplists:to_map/2 is undefined. But, starting a normal Erlang shell from the same Nitrogen directory, the function proplists:to_map/2 is defined and compiling works fine.

I just decided to revert my dev environment to use OTP24 instead.

from nitrogen.

lgmfred avatar lgmfred commented on May 24, 2024

My bad! My bad!

It turns out one of my predecessors copied the proplists.erl module file from an older Erlang release to the ./site/src/ directory and it was overwriting the standard file. Sorry about that.

from nitrogen.

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.