Giter Site home page Giter Site logo

Error during npm run build about rxmarbles HOT 3 OPEN

staltz avatar staltz commented on May 23, 2024
Error during npm run build

from rxmarbles.

Comments (3)

desnor avatar desnor commented on May 23, 2024

I encountered a similar issue when trying to start up the app:

> [email protected] preinstall .../side-projects/rxmarbles
> rm -rf build && rm -rf node_modules && mkdir -p ignore/es5src

> [email protected] postinstall .../side-projects/rxmarbles
> ln -s ../ignore/es5src node_modules/rxmarbles && ln -s ../package.json node_modules/package.json

ln: node_modules/rxmarbles: No such file or directory

So I tried it after removing the rm -rf build && rm -rf node_modules part of the preinstall script because it wasn't saving the node_modules folder. This then installed fine. But after running npm run build I then got this error:

> browserify -e ignore/es5src/app.js --outfile dist/js/app.js

Error: Cannot find module '@cycle/core/node_modules/rx/package.json' from '.../side-projects/rxmarbles/node_modules/rxmarbles'

Is that an issue with the symbolic linking? I'm not familiar with how that is supposed to work so while I'd like to try and resolve it (I'm really keen to find a way to contribute to the project) I might need a few pointers for how to approach this. Maybe it's something else beyong my knowledge that's causing the issue however.

Anyway if anyone has a suggestion for how I could approach getting this going I would appreciate any tips. I found playing with the marbles really helpful for learning about observable streams so I really want to help out.

from rxmarbles.

pbadenski avatar pbadenski commented on May 23, 2024

Not sure what a "correct" solution for this is, but you can brute-force it by running "npm install" from within 'node_modules/@cycle' directory.

from rxmarbles.

desnor avatar desnor commented on May 23, 2024

Thanks for that @pbadenski - I had to also run npm install from within the node_modules/@cycle/core directory too - but it's all going now. I also updated my node version but I don't think that would have made a difference.

from rxmarbles.

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.