Giter Site home page Giter Site logo

Comments (4)

eTorAken avatar eTorAken commented on May 27, 2024

It seems to be a Windows related issue. I tried the same installation on a debian machine without any problem.

from jsx-ast-utils.

billmei avatar billmei commented on May 27, 2024

This also appears to be an issue on CodeClimate

/usr/local/node_modules/jsx-ast-utils/lib/values/expressions/index.js:170
    throw new Error(errorMessage(type));
    ^

Error: The prop value with an expression type of undefined could not be resolved.
  Please file issue to get this fixed immediately.
    at extract (/usr/local/node_modules/jsx-ast-utils/lib/values/expressions/index.js:170:11)
    at Object.extractValueFromConditionalExpression [as ConditionalExpression] (/usr/local/node_modules/jsx-ast-utils/lib/values/expressions/ConditionalExpression.js:26:59)
    at Object.extract [as JSXExpressionContainer] (/usr/local/node_modules/jsx-ast-utils/lib/values/expressions/index.js:173:21)
    at getValue (/usr/local/node_modules/jsx-ast-utils/lib/values/index.js:52:27)
    at extractValue (/usr/local/node_modules/jsx-ast-utils/lib/getPropValue.js:24:12)
    at getPropValue (/usr/local/node_modules/jsx-ast-utils/lib/getPropValue.js:41:10)
    at /usr/local/node_modules/eslint-plugin-jsx-a11y/lib/rules/no-static-element-interactions.js:72:95
    at Array.some (native)
    at EventEmitter.JSXOpeningElement (/usr/local/node_modules/eslint-plugin-jsx-a11y/lib/rules/no-static-element-interactions.js:71:52)
    at emitOne (events.js:101:20)
    at EventEmitter.emit (events.js:188:7)

We're running babel-eslint as our parser.

from jsx-ast-utils.

jessebeach avatar jessebeach commented on May 27, 2024

@eTorAken , Fixed in version v2.2.1. This will log an error in the console, but it will no longer throw.

from jsx-ast-utils.

ljharb avatar ljharb commented on May 27, 2024

In this case, without some code to reproduce the error, there's not much we can do.

from jsx-ast-utils.

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.