Git Product home page Git Product logo

Comments (3)

MarkusBordihn avatar MarkusBordihn commented on May 4, 2024

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.

johanlindberg avatar johanlindberg commented on May 4, 2024

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.

alexbaumgertner avatar alexbaumgertner commented on May 4, 2024

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

it seems working well:
screen shot 2016-02-16 at 17 34 55
coding with chrome 2016-02-16 17-36-03

from coding-with-chrome.

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.