The problem is
[11:16:06] TypeScript: 103 semantic errors
[11:16:06] TypeScript: emit succeeded (with errors)
I am using node v5.7.0
and npm 3.6.0
gulp -v:
[11:26:58] Requiring external module babel-register
[11:26:58] CLI version 3.9.1
[11:26:58] Local version 3.9.1
I am total begginer with babel on gulp.
I generated the files under ubuntu 15.10 with yo 1.6.0
using
generator-modern-web-dev
in fresh folder.
The errors are like
app/test/sanity_test.spec.ts(2,1): error TS2304: Cannot find name 'describe'.
app/test/sanity_test.spec.ts(3,2): error TS2304: Cannot find name 'it'.
app/test/sanity_test.spec.ts(4,3): error TS2304: Cannot find name 'expect'.
app/test/sanity_test.spec.ts(7,2): error TS2304: Cannot find name 'xit'.
app/test/sanity_test.spec.ts(8,3): error TS2304: Cannot find name 'expect'.
/home/danielduel/Pulpit/server/node_modules/angular2/platform/browser.d.ts(77,90): error TS2304: Cannot find name 'Promise'.
then... more errors. (I can post it, if it is very critical to see all the 103 errors)
I was reinstaling sudo npm install
npm_modules with success, but it was not fixed what I aam dealing with.
Then, task "scripts-javascript-dist" from
[11:16:09] 'scripts-javascript-dist' errored after 3.31 s
[11:16:09] Error: Error on fetch for npm:angular2@2.0.0-beta.7/bootstrap.js at file:///home/danielduel/Pulpit/server/jspm_packages/npm/angular2@2.0.0-beta.7/bootstrap.js
Can you lead me to fix this problems?
I can add source codes of tasks, but they are done over abstract ES2015 architecture and it depends on many files, but if its needed - give me the info.
StackOverflow threads that I was trying and looks at least fammiliar:
- module not found angular, generates more errors
- this one looks good, but I do not understand at all
- this one, with config is not working as fix, generates more errors
I think, I am missing something, but I can't recognize what.