mukeshsoni / frolic Goto Github PK
View Code? Open in Web Editor NEWLearn elm faster and in a fun way
License: MIT License
Learn elm faster and in a fun way
License: MIT License
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.