Coder Social home page Coder Social logo

Comments (16)

quantizor avatar quantizor commented on May 27, 2024

Weird, it was definitely present when I published 5.3.2.

from markdown-to-jsx.

quantizor avatar quantizor commented on May 27, 2024

screen shot 2017-04-27 at 7 49 37 pm

Yeah I just did a fresh install of 5.3.2 and it's there. Not sure what to tell you.

from markdown-to-jsx.

alansouzati avatar alansouzati commented on May 27, 2024

If I install 5.3.0 it works. I didn't change anything in my code, and I installed 5.3.1 and 5.3.2. It complains about a JSX code.

Can you double check the content of the package.json file?

from markdown-to-jsx.

alansouzati avatar alansouzati commented on May 27, 2024

screen shot 2017-04-27 at 4 55 54 pm

I see this warning when installing but I don't think it is related.

from markdown-to-jsx.

quantizor avatar quantizor commented on May 27, 2024

Yeah that's a downstream thing

from markdown-to-jsx.

quantizor avatar quantizor commented on May 27, 2024

One thing I can think of is make sure you use yarn upgrade to explicitly pick version 5.3.2. Just because it's in the semver range doesn't mean it'll get picked up by yarn install as it uses what's been pinned in the lockfile.

from markdown-to-jsx.

alansouzati avatar alansouzati commented on May 27, 2024
[grommet:pack]: failed
Module parse failed: /Users/alansouza/ncs-workspace/gui/node_modules/markdown-to-jsx/index.js Unexpected token (149:20)
You may need an appropriate loader to handle this file type.
|
|                 aggregator.footnotes.push(
|                     <div key={node.identifier} id={node.identifier}>
|                         {node.value || node.children.map(parser)}
|                     </div>

from markdown-to-jsx.

alansouzati avatar alansouzati commented on May 27, 2024

still seeing the problem. I'm not sure why index.js is being loaded. it should be loading index.es5.js

from markdown-to-jsx.

quantizor avatar quantizor commented on May 27, 2024

Yes it should be. It's correctly transpiled in index.es5.js:

screen shot 2017-04-27 at 7 59 27 pm

from markdown-to-jsx.

alansouzati avatar alansouzati commented on May 27, 2024

it is definitely weird, I manually deleted index.js, and then everything works fine and it loads the index.es5.js.

What is the version of Node you are testing against? I'm testing with 7.3.0

from markdown-to-jsx.

quantizor avatar quantizor commented on May 27, 2024

Oh I know what's going on. You're probably using webpack2, which pays attention to the "module" field. I added that recently, only had "jsnext:main" before. Give me a few.

from markdown-to-jsx.

alansouzati avatar alansouzati commented on May 27, 2024

no problem, glad you figure out what is going on

from markdown-to-jsx.

alansouzati avatar alansouzati commented on May 27, 2024

and yes, I'm using webpack2

from markdown-to-jsx.

quantizor avatar quantizor commented on May 27, 2024

@alansouzati try 5.3.3

from markdown-to-jsx.

alansouzati avatar alansouzati commented on May 27, 2024

it works, as always thanks for the quick follow-up

from markdown-to-jsx.

quantizor avatar quantizor commented on May 27, 2024

Excellent!

from markdown-to-jsx.

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.