Giter Site home page Giter Site logo

Comments (9)

barbatus avatar barbatus commented on May 21, 2024

No, it's not bugged. Read carefully what the first step says about System.js. Component and View typings can only be imported via NPM.

from angular2-meteor.

DamodarSojka avatar DamodarSojka commented on May 21, 2024

I am afraid I don't understand what you mean. Also I guess that downloading code for step 0 and running meteor command should produce valid app, that's not the case typing is still wrong. Please let me know if I am terribly wrong!

from angular2-meteor.

barbatus avatar barbatus commented on May 21, 2024

In the initial post you stated "Component and View typings can't be imported from 'angular2/core'". My answer was directly about that. If it's not right means you didn't have much desire to help yourself; sorry I am not a magician to foresee all potential issues you can get.

About step 0. I just downloaded zero step's code here https://github.com/Urigo/meteor-angular2.0-socially/archive/step_0.zip into an empty folder and run it from there. It worked out as expected: first typings were installed, then I re-ran the app with no any typings issues showed up.

Just try to do the same, and let me know about the result.

from angular2-meteor.

DamodarSojka avatar DamodarSojka commented on May 21, 2024

I have tried it, typings are installed after running meteor command.
Line:
import {Component, View} from 'angular2/core';
still produces an error while line
import {bootstrap} from 'angular2/bootstrap';
is working properly.

from angular2-meteor.

barbatus avatar barbatus commented on May 21, 2024

where does it produce errors? in the terminal?

from angular2-meteor.

DamodarSojka avatar DamodarSojka commented on May 21, 2024

Terminal is not showing any errors, it is showing:
=> Client modified -- refreshing (x8)

Sublime text with TypeScript package is red underlying line :
import {Component, View} from 'angular2/core';

and word Socially in line:
class Socially { }

While terminal is showing information about refreshing browser still shows
text:
Nothing here yet!
regardless of content of app.html file.
But if template is provided inline istead of templateUrl it works as
expected.

Also as a side note zip for step zero has (step one is ok)
@view({
template: 'Hello World!'
})
I believe it should be templateUrl instead because thats what step 0
suggests.
Hopefuly my explaination is understandable, let me know if it is not.

On 29 December 2015 at 12:00, Alex [email protected] wrote:

where does it produce errors? in the terminal?


Reply to this email directly or view it on GitHub
#52 (comment)
.

from angular2-meteor.

barbatus avatar barbatus commented on May 21, 2024

So it's your Sublime's problem, neither the package nor Meteor has nothing to do it with it. Configure your Sublime and that's it.

from angular2-meteor.

DamodarSojka avatar DamodarSojka commented on May 21, 2024

It might be the case that it is also sublime problem. But then templateUrl
should work right?
Currently if I change .html file that templateUrl uses I am getting
--refreshing information but changes are not visible (so it is not
compiled?), inline templates are working as expected.

On 31 December 2015 at 03:48, Alex [email protected] wrote:

So it's your Sublime's problem, neither the package nor Meteor has nothing
to do it with it. Configure your Sublime and that's it.


Reply to this email directly or view it on GitHub
#52 (comment)
.

from angular2-meteor.

barbatus avatar barbatus commented on May 21, 2024

Yes, 0-step's zip archive is outdated, but the tutorial and repo are right, follow them.
I'll rebuild new release archives soon.

from angular2-meteor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.