I updated my website from 0.11 to 0.12 not wholly due to time-consuming manual recoding and some jquery plugin files were not functioning. The main problem I'm facing when running the server by the new way ( via ./amber/bin/amber serve --host 0.0.0.0) is that the webpages seemed not able to be served up in cross domain web bowser. I don't know if anybody else had the same issue as me, or it is just some quirks caused by me, e.g. not configuring the amber system well ( npm install or bower install etc,...), the amber parameters are wrong .... I changed to port from origin 4000 to 3000, or even 80 ( --port 80 under sudo permission), the condition is still the same. Any help? Best regards. You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
Hi, Am 18.11.2013 07:56 schrieb "EnoX1" <[hidden email]>: Can you describe in more detail what the error is? I think it does not have any relation with CORS. > I don't know if anybody else had the same issue as me, or it is just some quirks caused by me, e.g. not configuring the amber system well ( npm install or bower install etc,...), the amber parameters are wrong .... This shouldn't change anything related to your problem, too. > Any help? Best, You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
In reply to this post by Eno
there are 2 pages to be tested.
-- The one, http://www.tkneuro.com/jquery/plot/index.html , is simply a amber/deploy configured page, which could be shown up sometimes when repeated reloading. The other one, http://www.tkneuro.com/jquery/plot/indexk.html, under amber/devel configure, is all no response but blank page only. EnoX1於 2013年11月18日星期一UTC+8下午2時56分19秒寫道:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
Did you also check the Javascript console for errors? On Mon, Nov 18, 2013 at 9:07 AM, EnoX1 <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
I see the error message on the firefox web developor java console while running the indexk.html:
-- [06:50:22.818] SyntaxError: Using //@ to indicate source map URL pragmas is deprecated. Use //# instead @ http://www.tkneuro.com/amber/bower_components/es5-shim/es5-sham.min.js:2 then [06:50:14.387] Error: Load timeout for modules: jquery-ui,amber_lib/jquery-tabby/jquery.textarea,amber_inc/CodeMirror/smalltalk,amber_lib/codemirror/addon/hint/show-hint,amber_lib/require-css/css!amber_lib/codemirror/theme/ambiance_unnormalized2,amber_lib/require-css/css!amber_lib/codemirror/lib/codemirror_unnormalized3,amber_lib/require-css/css!amber_lib/codemirror/addon/hint/show-hint_unnormalized4,amber_lib/require-css/css!amber_inc/CodeMirror/amber_unnormalized5,amber_lib/require-css/css!amber_css/amber_unnormalized6,amber_core/Kernel-Transcript,amber_core/Compiler-AST,amber_core/Compiler-Semantic,amber_core/Compiler-IR,amber_core/Compiler-Inlining,amber_core/Compiler-Interpreter,amber_core/Compiler-Tests,amber_vm/parser,amber_core/IDE,amber_core/Examples,amber_core/Benchfib,amber_core/Kernel-Tests,amber_core/SUnit-Tests,amber_vm/nil,amber_vm/_st,amber_vm/boot,amber_lib/require-css/normalize http://requirejs.org/docs/errors.html#timeout @ http://www.tkneuro.com/amber/support/requirejs/require.min.js:8 then [06:50:05.340] 未知的 property「box-sizing」 中斷宣告。 @ http://www.tkneuro.com/jquery/plot/indexk.html then [06:50:03.731] ReferenceError: jQuery is not defined @ http://www.tkneuro.com/jquery/plot/js/notify.js:123 thanks. Manfred Kröhnert於 2013年11月19日星期二UTC+8上午6時00分14秒寫道:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
I tried to reinstall ( via bower ) and recompile ( via grunt) the amber system to 0.121 but in vain.
-- As you mentioned to watch for the error console, there it showed the clue: Require.js Error: Load timeout for modulesthat is the cause. I added "waitSeconds: 200: in the require.config function of the web page, then the web page showed up well as expected. So, the problem, I think, is from the "Load timeout for modules" error by the Require.js. if I'm not wrong. Best regards. EnoX1於 2013年11月19日星期二UTC+8上午6時52分06秒寫道:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
Free forum by Nabble | Edit this page |