Comments (3)
Its seems that crouton is limited in some ways, so that it will not passed backed the compiler messages as "string".
I will fix the "closure-builder" to explicit checking for the type to avoid this error.
But in general you could build "coding-with-chrome" on any platform, so you could build it on Mac, Windows or Linux and use it in Chrome OS. The compiled version in the "genfiles" folder is cross platform.
If I find the time I will check this more in detail on "crouton".
from coding-with-chrome.
Ok. Making progress.
I just npm update closure-builder --no-bin-links
since I noticed you made a few changes to the troublesome area in closure-builder yesterday. Now, closure-builder seem to work and npm run build
fails silently. At first I thought the build had worked fine but loading the extension in Chrome didn't work. It was stuck at 1% Building the Coding with Chrome UI. Inspecting the Editor view revealed the following Javascript errors:
chrome-extension://ffiiemmmlmmofcoihjlobpkjpgmcclak/external/codemirror/addons.js Failed to load resource: net::ERR_FILE_NOT_FOUND
chrome-extension://ffiiemmmlmmofcoihjlobpkjpgmcclak/external/codemirror/modes.js Failed to load resource: net::ERR_FILE_NOT_FOUND
chrome-extension://ffiiemmmlmmofcoihjlobpkjpgmcclak/js/cwc_ui.js Failed to load resource: net::ERR_FILE_NOT_FOUND
editor.js:30 Uncaught ReferenceError: cwc is not defined
from coding-with-chrome.
Maybe I have the same issue. Mac Book mid 2010, El Capitan
node: v5.5.0
npm: 3.5.1
> [email protected] build-cwc-files /Users/alexbaumgertner/Projects/coding-with-chrome
> node build/cwc_files.js
[14%] cwc.ui.Builder Compiling 52 soy files to /var/folders/wh/n_q0s1t956lf0zypsckp92pm0000gn/T/closure-builder-dEQHWMx (0.0 sec)soynode: Compile error
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/template/soy/SoyToJsSrcCompiler : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[Soy Compiler Error] Failed for /var/folders/wh/n_q0s1t956lf0zypsckp92pm0000gn/T/closure-builder-dEQHWMx:Error: Error compiling templates
After I installed java by brew
$ brew update
$ brew tap caskroom/cask
$ brew install Caskroom/cask/java
from coding-with-chrome.
Related Issues (20)
- Open Tasks (refactoring) HOT 2
- importing images in html HOT 1
- Every .cwc file is made by Markus Bordihn
- Every .cwc file is owned by Markus Bordihn
- Update last run version data even if whatsnew feature disabled
- Tile height inconsistent HOT 1
- Joydemo disabled warning should be moved HOT 2
- AIY mode never goes out 'waiting for connection'
- AIY output is very strange to cut/paste
- Advanced > Robots says it is using blockly blocks. It is not
- What's new / Changelog / Version needs to be automated.
- shepherd.js usage HOT 3
- Add a spanish translation HOT 2
- Adding in anoymous tracking
- Editor issues when coding python
- Text across the application doesn't appear correctly when the language changed to other than English HOT 1
- README 404 HOT 2
- input statement not working in Python
- Do we still need "Windows-Build-Tools" to be explicitly installed to run this project?. HOT 1
- Is there a nested git repository inside this project?. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coding-with-chrome.