Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get your example working #1

Open
ghost opened this issue Jun 1, 2016 · 1 comment
Open

Can't get your example working #1

ghost opened this issue Jun 1, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 1, 2016

Busted.

npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/node/5.11.0/bin/node" "/Users/simon/.npm-packages/bin/npm" "run" "build:typescript"
npm ERR! node v5.11.0
npm ERR! npm  v3.8.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build:typescript: tsc --project app
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the [email protected] build:typescript script 'tsc --project app'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the learning-ts-module2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc --project app
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs learning-ts-module2
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls learning-ts-module2
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/simon/Desktop/learn-typescript-module2/npm-debug.log

npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/node/5.11.0/bin/node" "/Users/simon/.npm-packages/bin/npm" "run" "build"
npm ERR! node v5.11.0
npm ERR! npm  v3.8.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `npm run build:tags && npm run build:typescript`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] build script 'npm run build:tags && npm run build:typescript'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the learning-ts-module2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run build:tags && npm run build:typescript
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs learning-ts-module2
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls learning-ts-module2
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/simon/Desktop/learn-typescript-module2/npm-debug.log

npm-debug.log.txt

@duongphuhiep
Copy link
Owner

duongphuhiep commented Jun 3, 2016

try

$ sudo npm install -g tsc   # install latest typescript transpiler globally
$ npm run build:tags        # transpile riot tags to javascript
$ tsc --project app         # transpile all typescripts in app/ to javascript
$ npm start                 # will open your browser, then you have to navigate to the 'app' folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant