Coder Social home page Coder Social logo

angular2-seed's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

angular2-seed's Issues

Errors

While using gulp I'm having these typescript semantic errors:
[09:27:48] Starting 'dev:compile:typescript'...
app\src\app.component.spec.e2e.ts(1,1): error TS2304: Cannot find name 'describe'.
app\src\app.component.spec.e2e.ts(3,5): error TS2304: Cannot find name 'beforeEach'.
app\src\app.component.spec.e2e.ts(4,9): error TS2304: Cannot find name 'browser'.
app\src\app.component.spec.e2e.ts(7,5): error TS2304: Cannot find name 'it'.
app\src\app.component.spec.e2e.ts(8,9): error TS2304: Cannot find name 'expect'.
app\src\app.component.spec.e2e.ts(8,16): error TS2304: Cannot find name 'browser'.
[09:27:49] TypeScript: 6 semantic errors

Also when running project these:

system.conf.js:1 Uncaught SyntaxError: Unexpected token <

Failed to parse SourceMap: http://localhost:8080/src/vendor/node_modules/Reflect.js.map

What is wrong?

AOT compilation fails

I am getting this error:

Error: Error at /foo/bar/app/src/bootstrap.aot.ts:2:36: Cannot find module '../../app-aot/app/src/app.module.ngfactory'.

I noticed that only a node_modules foldes appeared under app-aot, tehere is no app folder inside, so basically the app.module.ngFactory is not being generated but dunno why

Any clue about the problem?

Question about shared dir

Is there any reason that the shared folder path has a +?

C:\Users\user\Source\Repos\project\app\src\components\+shared\

This was causing some errors when deploying on a Windows 2012 Server. Just wanted to give you a heads up!

Not work for me on edge

Gives this error :
HTML1300: Une navigation s’est produite.
Fichier : localhost:8080
Error: TypeError: L’objet ne gère pas la propriété ou la méthode « keys »
at Anonymous function (eval code:32249:9)
at Anonymous function (eval code:32248:5)
at linkDynamicModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3252:5)
at getModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3220:9)
at Anonymous function (http://localhost:8080/src/vendor/node_modules/system.src.js:3256:9)
at Anonymous function (eval code:32634:5)
at linkDynamicModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3252:5)
at getModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3220:9)
at Anonymous function (http://localhost:8080/src/vendor/node_modules/system.src.js:3256:9)
at Anonymous function (eval code:32797:5)
Error loading http://localhost:8080/src/bootstrap.js
{
[functions]: ,
proto: {
[functions]: ,
proto: { },
message: "",
name: "Error"
},
description: "TypeError: L’objet ne gère pas la propriété ou la méthode « keys »
at Anonymous function (eval code:32249:9)
at Anonymous function (eval code:32248:5)
at linkDynamicModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3252:5)
at getModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3220:9)
at Anonymous function (http://localhost:8080/src/vendor/node_modules/system.src.js:3256:9)
at Anonymous function (eval code:32634:5)
at linkDynamicModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3252:5)
at getModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3220:9)
at Anonymous function (http://localhost:8080/src/vendor/node_modules/system.src.js:3256:9)
at Anonymous function (eval code:32797:5)
Error loading http://localhost:8080/src/bootstrap.js",
message: "TypeError: L’objet ne gère pas la propriété ou la méthode « keys »
at Anonymous function (eval code:32249:9)
at Anonymous function (eval code:32248:5)
at linkDynamicModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3252:5)
at getModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3220:9)
at Anonymous function (http://localhost:8080/src/vendor/node_modules/system.src.js:3256:9)
at Anonymous function (eval code:32634:5)
at linkDynamicModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3252:5)
at getModule (http://localhost:8080/src/vendor/node_modules/system.src.js:3220:9)
at Anonymous function (http://localhost:8080/src/vendor/node_modules/system.src.js:3256:9)
at Anonymous function (eval code:32797:5)
Error loading http://localhost:8080/src/bootstrap.js",
name: "Error",
originalErr: { },
stack: null
}

AOT Compiling

Hey there.

First of all I'd like to thank you for the work you have put into this project and sharing it. It has been a valuable asset while learning Angular2. So thank you very much.

I encountered what I think might be an error, although I may be wrong.

When running gulp build:prod I kept getting permission errors when the AOT scripts were running.

"-bash: node_modules/.bin/ngc: Permission denied"

After a bit of fiddling I was able to get the aot compiler working by changing the following in package.json:

from

"scripts": { "aot": "node_modules/.bin/ngc -p tsconfig-aot.json", "aot-rollup": "node_modules/.bin/rollup -c aot-rollup-config.js" },

to

"scripts": { "aot": "node node_modules/.bin/ngc -p tsconfig-aot.json", "aot-rollup": "node node_modules/.bin/rollup -c aot-rollup-config.js" },

Note that I had to place 'node' before each script.

What I believe was happening is the js file was trying to be run in the command line, but by adding 'node' to the front I was forcing it to be executed by nodejs.

I'm curios if this has happened to you?

Anyways. Thanks again.

Separate dist and source files

I don't know if I am doing something wrong but having js and ts files together is very difficult to work on. I use vim and I need to rely on compiling ts to js .
I keep opening js files instead of ts files .

We need to separate dist files and source files.
I will work on that , if you like it we can merge .
Also I might add jade support. I like jade more than html .

SyntaxError...

Hi,
I have "npm i" the project and then "gulp build:prod" and got this error:

[10:24:19] Starting 'prod:compile:aot'...
{ Error: Command failed: npm run aot || npm run aot-win && npm run aot-rollup || npm run aot-rollup-win
C:\Develop\angular\minimal-seed\angular2-seed-master\node_modules.bin\ngc:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.runMain (module.js:590:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3

can u help?

Compatible with IE10 or even IE9?

Is it possible to use the seed project if I want to run the app on IE10 or even IE9? Is there any easy solution like shim, or transpile to ES5 ?

Source Map

i already downloaded this seed and it's perfect. But i can't debug the TS in chrome and I'm trying to add the source map and I can't. Anyone can help me with this. Currently I use the pug branch.

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.