Coder Social home page Coder Social logo

Comments (2)

mingjunyang avatar mingjunyang commented on May 19, 2024

@wulei 亲,非常抱歉的告诉你,从一开始我就是在linux下测试的,就连windows下也是有问题的。我木有mac os来运行和测试代码,我们需要等待好心人来帮助我们。
我觉得你可以解决这个问题的,atom的Packages写起来真的好简单好简单的。我就看了一下文档,借用了另一个项目,在linux下就能运行了。
在 luacode 文件夹下面的formatter.lua 可以在lua5.1下手工执行.....

from atom-format-lua.

dieterplex avatar dieterplex commented on May 19, 2024

In my case(10.11.2), lua51path=process.spawnSync('which', ['lua5.1']) won't get any result

quick workaround, fallback lua51 after catch block in lib/atom-format-lua.coffee

        if not lua51
          lua51 = "/usr/local/bin/lua"

If you brew install lua51, replace lua51 with lua: "/usr/local/bin/lua5.1"

from atom-format-lua.

Related Issues (6)

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.