GithubHelp home page GithubHelp logo

Comments (10)

thlorenz avatar thlorenz commented on June 22, 2024

If you need a test case:

git clone https://github.com/thlorenz/level-json-edit
npm install

# that will work
node example/build

npm rm -S browserify && npm -S i browserify

# that will break since now we use the latest browserify version with latest browser builtins
node example/build

from node-browser-builtins.

alexgorbatchev avatar alexgorbatchev commented on June 22, 2024

@AndreasMadsen this might be related to the update you made. Would you happen to have some time to check this out?

from node-browser-builtins.

AndreasMadsen avatar AndreasMadsen commented on June 22, 2024

I'm doing it right now.

from node-browser-builtins.

thlorenz avatar thlorenz commented on June 22, 2024

@AndreasMadsen, @alexgorbatchev, @substack I created a more isolated test case

from node-browser-builtins.

AndreasMadsen avatar AndreasMadsen commented on June 22, 2024

@thlorenz So I tried running your code and what I get is:

Error: Cannot find module 'jsoneditor'

and this was running with your fork of browserify, so it can't the same issue you are mentioning.

If I comment out var JSONEditor = require('jsoneditor').JSONEditor; then it compiles fine both on your and the latest version of browserify.

from node-browser-builtins.

AndreasMadsen avatar AndreasMadsen commented on June 22, 2024

@thlorenz Oh, okay I will try that version then.

from node-browser-builtins.

AndreasMadsen avatar AndreasMadsen commented on June 22, 2024

@thlorenz I'm sorry your isolated test works fine too.

from node-browser-builtins.

thlorenz avatar thlorenz commented on June 22, 2024

@AndreasMadsen you probably had an older browserify installed globally and npm start picked that up.
I changed the repro to pick up the local version.

However @substack discovered in the meantime that this was a browserify problem and fixed this.

So I'm closing this issue. It appears that [email protected] just happened to cause this issue to surface.

Thanks for your help.

from node-browser-builtins.

 avatar commented on June 22, 2024

This was an issue in browserify core related to cycles not being handled properly by the duplicate file hashing algorithm. This issue can be closed.

from node-browser-builtins.

alexgorbatchev avatar alexgorbatchev commented on June 22, 2024

Great, thanks for looking into this!

from node-browser-builtins.

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.