Hi all, my atom-typescript mysteriously stopped working with this:
In file included from ../fsevents.cc:6: In file included from ../node_modules/nan/nan.h:74: In file included from ../node_modules/nan/nan_new.h:181: ../node_modules/nan/nan_implementation_12_inl.h:172:66: error: too many arguments to function call, expected at most 2, have 4 return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv); ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ /Users/rjhala/.atom/.node-gyp/.node-gyp/0.30.6/deps/v8/include/v8.h:4515:3: note: 'New' declared here static Local<Signature> New( ^ 1 error generated. make: *** [Release/obj.target/fse/fsevents.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23) gyp ERR! stack at ChildProcess.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12) gyp ERR! System Darwin 14.5.0 gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/rjhala/.atom/packages/atom-typescript/node_modules/grunt-ts/node_modules/chokidar/node_modules/fsevents gyp ERR! node -v v0.10.30 gyp ERR! node-gyp -v v2.0.2 gyp ERR! not ok npm ERR! Darwin 14.5.0 npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/rjhala/.atom/.apm/.apmrc" "--userconfig" "/Users/rjhala/.atom/.apmrc" "rebuild" "--target=0.30.6" "--arch=x64" npm ERR! node v0.10.40 npm ERR! npm v2.13.3 npm ERR! code ELIFECYCLE npm ERR! email@example.com install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the firstname.lastname@example.org install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the fsevents package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls fsevents npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/rjhala/.atom/packages/atom-typescript/npm-debug.log
Any idea whats going on?
fseventsthat no longer compiles.
fsand only watch
Hi! Just getting started with TS and atom-typescript.
For some reason changes to my .ts files have stopped getting added to the compiled .js file. The .js files are not getting updated and my latest .ts file just compiles to an empty .js file.
I'm sure I've configured it wrong or something. :) But does anyone have a clue?
"outFile"should work though?
Does typescript allow for imports from other .ts files?
@AskYous yes. Use external modules e.g.
--module commonjs. More : https://basarat.gitbooks.io/typescript/content/docs/project/modules.html
"outFile"should work though?
outFile is not a valid compiler option. Perhaps you meant
out. But we don't recommend it https://github.com/TypeStrong/atom-typescript/blob/master/docs/out.md
Hi! Just installed atom-typescript however it complains about "Cannot find module "ntypescript""
@saviilsy more info please :rose: . Perhaps create an issue
1.0.15was fixed with version
7.1of this package :rose:
debug.tsand edit it to make it run synchronously ... that might give you more help