Code Monkey home page Code Monkey logo

frolic's People

Contributors

avh4 avatar dependabot-preview[bot] avatar devinrhode2 avatar mukeshsoni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

frolic's Issues

Errors on npm run build

When I run npm run build, I get these errors:

ERROR in ./app/compilers/react-compiler/index.js
Module not found: Error: Cannot resolve module 'flow-remove-types' in /Users/rootscript/Github/__copy-elm/frolic/app/compilers/react-compiler
 @ ./app/compilers/react-compiler/index.js 31:22-50

ERROR in ./app/compilers/react-compiler/index.js
Module not found: Error: Cannot resolve module 'js-beautify' in /Users/rootscript/Github/__copy-elm/frolic/app/compilers/react-compiler
 @ ./app/compilers/react-compiler/index.js 32:15-37

ERROR in ./app/compilers/react-compiler/index.js
Module not found: Error: Cannot resolve module 'escodegen-wallaby' in /Users/rootscript/Github/__copy-elm/frolic/app/compilers/react-compiler
 @ ./app/compilers/react-compiler/index.js 37:16-44

ERROR in ./app/compilers/react-compiler/webpack.config.js
Module not found: Error: Cannot resolve module 'flow-status-webpack-plugin' in /Users/rootscript/Github/__copy-elm/frolic/app/compilers/react-compiler
 @ ./app/compilers/react-compiler/webpack.config.js 6:30-67

If I install these modules manually, then npm run build again, then all is good:

npm install flow-status-webpack-plugin --save
npm install escodegen-wallaby --save
npm install js-beautify --save
npm install flow-remove-types --save
npm run build

btw - THANKS for this tool.

node --version
v6.7.0

elm --version
0.17.1

electron --version
Version 1.4.3

Code containing quotes doesn't work when formatting is enabled

It looks like frolic is invoking elm-format by making a shell command that echoes the file contents, but whenever the code contains quotes, the echo command breaks. I think the correct fix is to change the invocation of elm-format so that javascript is passing the file contents directly, rather than using echo.

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.