Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not found issues when using systemjs loader

See original GitHub issue

I can’t seem to make it work on systemjs. It finds ng2-recaptcha.noforms.js but it fails on following requests:

[1] 17.01.30 04:46:34 404 GET /node_modules/ng2-recaptcha/recaptcha/recaptcha.component
[1] 17.01.30 04:46:34 404 GET /node_modules/ng2-recaptcha/recaptcha/recaptcha-loader.service
[1] 17.01.30 04:46:34 404 GET /node_modules/ng2-recaptcha/recaptcha/recaptcha-noforms.module

My system.config.js has followinf line to load:

'ng2-recaptcha' : 'node_modules/ng2-recaptcha/ng2-recaptcha.noforms.js'

And like readme explains I call from module

import { RecaptchaModule } from 'ng2-recaptcha';

Any idea what is wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

DethArielcommented, Jan 30, 2017

plus, @afu1991 , it looks like you’re using a different module than this one, try visiting its respective bugs page

LucasFreciacommented, Feb 1, 2017

thanks @DethAriel 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

I am bundling s.js with webpack but webpack can't find the module 'system-core' when I require 'systemjs/dist/extras/module-types.js'.
Read more >
Require not working ( SystemJS) [closed]
I am very new to systemJS and trying to explore it. Cant we call require as shown in the below inside HTML. When...
Read more >
Dynamic ES module loader. Latest version: 6.13.0, last published: 3 months ago. Start using systemjs in your project by running `npm i ...
Read more >
systemjs | Yarn - Package Manager
SystemJS is a hookable, standards-based module loader. It provides a workflow where code written for production workflows of native ES modules in browsers ......
Read more >
Use ES6 modules in the browser today with SystemJS
Luckily, these problems aren't new, so there are new tools that have appeared to help. System.js is one of these tools. It is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found