tsframework / ts-framework

A Web Framework for Nodejs
http://tsframework.github.io
MIT License
43 stars 6 forks source link

Can't start the framework #20

Closed rhuffus closed 7 years ago

rhuffus commented 8 years ago

When I run tsfw start y get the next error:

(node) util.print is deprecated. Use console.log instead.

> my-app@0.0.0 prestart C:\Users\Rhuffus\CodeHome\testProject
> node node_modules/grunt-cli/bin/grunt

Running "ts:build" (ts) task
Compiling...
Cleared fast compile cache for target: build
### Fast Compile >>app.ts
Using tsc v1.7.3

TypeScript compilation complete: 1.39s for 1 TypeScript files.

Done, without errors.

> my-app@0.0.0 start C:\Users\Rhuffus\CodeHome\testProject
> node .build/app.js

Config C:\Users\Rhuffus\CodeHome\testProject\.build\C:\Users\Rhuffus\CodeHome\testProject\.build\app.json does not exist!

undefined:96
        throw new _parseError(str, hash);
        ^
Error: Parse error on line 1:
import { Controller } from
-------^
Expecting 'CLASS', '[', 'KEYWORD', '(', 'IDENTIFIER', got '{'

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v4.4.3
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! my-app@0.0.0 start: `node .build/app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the my-app@0.0.0 start script 'node .build/app.js'.
npm ERR! This is most likely a problem with the my-app package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node .build/app.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs my-app
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls my-app
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Rhuffus\CodeHome\testProject\npm-debug.log
child process exited with code 1
jhonmike commented 8 years ago

we are currently rewriting the entire framework, and bringing new features such as decorators, have patience, soon will post news!

rhuffus commented 8 years ago

Thank you very much. I will wait eager to hear news about the project.

atrakeur commented 7 years ago

Should be fixed using la test TS framework version Please check thé getting started guide here : http://tsframework.github.io/doc/getting-started.html