Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

App not defined  #1

@rocknrollMarc

Description

@rocknrollMarc

Alchemy shows preview but in console I get:

Uncaught ReferenceError: App is not defined(anonymous function) @ alchemy_pages_controller-b9330e87d6093b996077bbdd8f64def1.js?body=1:2(anonymous function) @ alchemy_pages_controller-b9330e87d6093b996077bbdd8f64def1.js?body=1:27
alchemy_cell-261686ccd88139c2561559cd9edc1317.js?body=1:2 Uncaught ReferenceError: App is not defined(anonymous function) @ alchemy_cell-261686ccd88139c2561559cd9edc1317.js?body=1:2(anonymous function) @ alchemy_cell-261686ccd88139c2561559cd9edc1317.js?body=1:17
alchemy_element-4e5f0f0dbd4c51306b24db0a4ac70e97.js?body=1:2 Uncaught ReferenceError: App is not defined(anonymous function) @ alchemy_element-4e5f0f0dbd4c51306b24db0a4ac70e97.js?body=1:2(anonymous function) @ alchemy_element-4e5f0f0dbd4c51306b24db0a4ac70e97.js?body=1:37
routes-dab8df8c3320997a8e69f5bcc9e34d5b.js?body=1:2 Uncaught ReferenceError: App is not defined(anonymous function) @ routes-dab8df8c3320997a8e69f5bcc9e34d5b.js?body=1:2(anonymous function) @ routes-dab8df8c3320997a8e69f5bcc9e34d5b.js?body=1:17
alchemy_page_service-0830abcc676bf6d5ab5b321d14014c60.js?body=1:2 Uncaught ReferenceError: App is not defined(anonymous function) @ alchemy_page_service-0830abcc676bf6d5ab5b321d14014c60.js?body=1:2(anonymous function) @ alchemy_page_service-0830abcc676bf6d5ab5b321d14014c60.js?body=1:20
extensions::uncaught_exception_handler:8 Error in event handler for (unknown): TypeError: Cannot read property 'result' of undefined
at chrome-extension://oikegcanmmpmcmbkdopcfdlbiepmcebg/content.js:6:16handler @ extensions::uncaught_exception_handler:8exports.handle @ extensions::uncaught_exception_handler:100EventImpl.dispatch_ @ extensions::event_bindings:384EventImpl.dispatch @ extensions::event_bindings:401target.(anonymous function) @ extensions::SafeBuiltins:19$Array.forEach.publicClass.(anonymous function) @ extensions::utils:94dispatchOnDisconnect @ extensions::messaging:302

and in rails log I have:

Started GET "/javascripts/application.js" for ::1 at 2015-06-09 04:38:51 +0200

ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"):
actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'

Started GET "/assets/angular/angular-14ac5ff49af7345427d22e7c01bb0551.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/angular-route/angular-route-4dd28525fc7eeeaeff07917f4bc41b58.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy/menubar-442c22f1ca7fe3caac4b0bb1348bc687.css?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy-angular/controllers/alchemy_pages_controller-b9330e87d6093b996077bbdd8f64def1.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy-angular/controllers-b9330e87d6093b996077bbdd8f64def1.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy-angular/directives/alchemy_cell-261686ccd88139c2561559cd9edc1317.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy-angular/directives/alchemy_element-4e5f0f0dbd4c51306b24db0a4ac70e97.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy-angular/directives-1931e38529af7074f6709fabbdd36802.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy-angular/routes-dab8df8c3320997a8e69f5bcc9e34d5b.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy-angular/services/alchemy_page_service-0830abcc676bf6d5ab5b321d14014c60.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy-angular/services-0830abcc676bf6d5ab5b321d14014c60.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy-angular-9980bccaee98fa32e92a122a6be601b8.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/application-cdf6eed745eed41f52c9204b18c13a62.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200

Started GET "/assets/alchemy/menubar-5c34288b5d4d96febbcbe20206603482.js?body=1" for ::1 at 2015-06-09 05:11:28 +0200
k

I have a assets/javascripts/applications.js with all the requires and installed with bower rake generated elements and layouts and angular_templates . I changed element= in page.html so should work :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions