Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: Javascript Module Date: Thu, 25 Jun 2015 16:47:43 +0200 Organization: solani.org Lines: 13 Message-ID: References: <8081bb27-e80e-40ce-b19f-4ca084324447@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1435243655 13676 eJwNycERACAIA7CVUGjBcVRg/xH0l7tAOXjdCBoaHUOSU2Xtgwyr6dc0NX+dWNzWOF8SLVVR/gAYAhFz (25 Jun 2015 14:47:35 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Thu, 25 Jun 2015 14:47:35 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 X-User-ID: eJwNydENwDAIA9GVQsB2GacNYf8Rys/pSQen8SgIBhpd8GVPVrB3xVQNFW+uGfzMb1KnTTtHr/8JvRBf In-Reply-To: <8081bb27-e80e-40ce-b19f-4ca084324447@googlegroups.com> Cancel-Lock: sha1:Zrzhm0BtGemKwYdsJWLPQStlgTM= X-NNTP-Posting-Host: eJwNxMkBACAIA7CVQGnVceTafwTNI5hUxjKChkanLhQrWGcnXIFfztMxxLpDpa56YXPkFbcHJrARig== Xref: csiph.com comp.lang.javascript:28163 dc7669@hotmail.com wrote: > The problem is that when I run greetings-main.htm, I got an error saying, "require.js:166 Uncaught Error: Module name "greetings.js" has not been loaded yet for context: _. Use require([]) > http://requirejs.org/docs/errors.html#notloaded" > > What did I do wrong? [...] Apparently, you have not read the document that is mentionend in the error message. -- Christoph M. Becker