question-mark
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.

Cannot run angular2 rx.1 quickstart

See original GitHub issue

I have been using angular2 beta to develop nw.js app, and all good so far. But I want to update angular 2 beta to rc when it released, following quickstart https://angular.io/docs/ts/latest/quickstart.html. I got the following error:

index.html:16 Error: ReferenceError: System is not defined
        at chrome-extension://elpbigndcnondmndigpmmkhgokceoolf/app/main.js:10:4
        at Object.exports.runInThisContext (vm.js:54:17)
    Evaluating chrome-extension://elpbigndcnondmndigpmmkhgokceoolf/app/main.js
    Error loading chrome-extension://elpbigndcnondmndigpmmkhgokceoolf/app/main.js

I tried all versions from 0.13.0 to 0.15.0, no one works. Thanks

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
andrew-yangycommented, May 20, 2016

I’ve fixed it by downgrading systemjs to 0.19.25 from 0.19.27. It’s just a workaround tho, I hope it would help you.

0reactions
guybedfordcommented, May 31, 2016

@rogerwang is there anyway to get a handle to the context itself to allow require('vm').runInContext to work as expected? The benefit of vm over eval would be SystemJS source maps support in nwjs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

help...i cant run angular2 quickstart · Issue #83 - GitHub
This is not lite-server issue, this is TypeScript compiler error which mean that you have some mistakes in app.component.ts. If you're using VS ......
Read more >
Angular2 QuickStart npm start is not working correctly
Solution C: Just run the lite server command · if you want to manually launch this command from the powershell, you can use...
Read more >
5 Min Quickstart - ts - Angular 2
5 Min Quickstart ; Set up our development environment; Write the Angular root component for our app; Bootstrap it to take control of...
Read more >
Angular 2 in Visual Studio 2015 with TypeScript
Another problem. This lets your write / compile / run the code from VS. But it seems like you cannot debug in VS...
Read more >
Angular 2 : Getting off the Starting Line - Shayne Boyer
Running the quickstart ... First make sure all of the npm packages are good. ... then The npm start command first compiles the...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found