Giter Club home page Giter Club logo

Comments (5)

tujian avatar tujian commented on June 15, 2024

Problem solved after I fix package version of next to 4.0.0-beta.2

patch

diff --git a/packages/frontend/package.json b/packages/frontend/package.json
index dc84ad7..74062be 100644
--- a/packages/frontend/package.json
+++ b/packages/frontend/package.json
@@ -46,7 +46,7 @@
     "isomorphic-fetch": "^2.2.1",
     "jquery": "^3.2.1",
     "mathjax-electron": "^2.0.1",
-    "next": "^4.0.0-beta.2",
+    "next": "4.0.0-beta.2",
     "nprogress": "^0.2.0",
     "octicons": "^6.0.1",
     "prop-types": "^15.5.10",

before patch

➜  frontend git:(master) ✗ npm list babel-generator
@nteract/[email protected] /Users/arthur/Repos/github/nteract/commuter/packages/frontend
└─┬ [email protected]
  ├─┬ [email protected]
  │ └── [email protected]  deduped
  └── [email protected]

after patch

➜  frontend git:(master) ✗ npm list babel-generator
@nteract/[email protected] /Users/arthur/Repos/github/nteract/commuter/packages/frontend
└─┬ [email protected]
  ├─┬ [email protected]
  │ └── [email protected]  deduped
  └── [email protected]

from commuter.

rgbkrk avatar rgbkrk commented on June 15, 2024

Oh hey we should bring commuter up to date as is, want to send a PR to bring it up to 4.1.4?

from commuter.

tujian avatar tujian commented on June 15, 2024

Of course I would like to submit a clean fix very much. However, I have been away from node.js and babel stuffs for a long long time (considering the fast changes of node.js stacks).

Today I came across this error for the first time and realized debugging it was beyond my scope. I made a guess that it was caused by compatibility breaking because no one ever reported this error before, and lucky I am : )

Nevertheless, I did find out related issues on another repo (gaearon/react-hot-loader#689, gaearon/react-hot-loader#686). I have subscribed these issues and will try to understand the problem and hopefully submit a PR here.

If anyone already have a solution, feel free to submit it.

from commuter.

rgbkrk avatar rgbkrk commented on June 15, 2024

No problem, I'll get it updated when I bring in some other updates from nteract/nteract later this week.

from commuter.

rgbkrk avatar rgbkrk commented on June 15, 2024

#239 fixed this up, should be good to go now

from commuter.

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.