by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 10 18:36
    dependabot[bot] labeled #659
  • Sep 10 18:36
    dependabot[bot] opened #659
  • Sep 10 18:36

    dependabot[bot] on npm_and_yarn

    Bump node-fetch from 1.6.3 to 2… (compare)

  • Sep 04 23:45
    dependabot[bot] labeled #658
  • Sep 04 23:45
    dependabot[bot] opened #658
  • Sep 04 23:45

    dependabot[bot] on npm_and_yarn

    Bump http-proxy from 1.16.2 to … (compare)

  • Aug 30 23:16
    basarat commented #657
  • Jul 25 09:01
    sigmasoldi3r opened #657
  • Apr 29 23:01
    dependabot[bot] labeled #656
  • Apr 29 23:01
    dependabot[bot] opened #656
  • Apr 29 23:01

    dependabot[bot] on npm_and_yarn

    Bump jquery from 2.2.4 to 3.5.0… (compare)

  • Apr 04 02:46

    dependabot[bot] on npm_and_yarn

    (compare)

  • Apr 04 02:46
    dependabot[bot] closed #654
  • Apr 04 02:46
    dependabot[bot] commented #654
  • Apr 04 02:46
    dependabot[bot] labeled #655
  • Apr 04 02:46
    dependabot[bot] opened #655
  • Apr 04 02:46

    dependabot[bot] on npm_and_yarn

    Bump minimist from 1.2.0 to 1.2… (compare)

  • Mar 13 23:09
    dependabot[bot] labeled #654
  • Mar 13 23:09
    dependabot[bot] opened #654
  • Mar 13 23:09

    dependabot[bot] on npm_and_yarn

    Bump minimist from 1.2.0 to 1.2… (compare)

Basarat Ali Syed
@basarat
This message was deleted
This message was deleted
Here is an example:
declare interface Foo {
  (): { new(): {bar:string} }
}
let foo: Foo;
let Bar = foo();
let bar = new Bar();
Julian
@pYr0x
thanks
ngpeijiun
@ngpeijiun
sudo alm
DASHBOARD: http://localhost:4444
/usr/local/lib/node_modules/alm/src/server/disk/session.js:137
var found = commonTsconfigLocations.find(function (cl) { return fsu.ex
^
TypeError: undefined is not a function
at Object.readDiskSessionsFile (/usr/local/lib/node_modules/alm/src/server/disk/session.js:137:45)
at Object.start (/usr/local/lib/node_modules/alm/src/server/disk/activeProjectConfig.js:59:23)
at Object.started (/usr/local/lib/node_modules/alm/src/server/serverStarted.js:9:25)
at Server.<anonymous> (/usr/local/lib/node_modules/alm/src/server.js:75:23)
at Server.g (events.js:199:16)
at Server.emit (events.js:104:17)
at net.js:1171:12
at process._tickCallback (node.js:355:11)
at Function.Module.runMain (module.js:503:11)
at startup (node.js:129:16)
at node.js:814:3
Basarat Ali Syed
@basarat
undefined is not a function. @ngpeijiun you are running an old version of NodeJS. Please use v4 (and if contributing v5) and above :rose:
find is a new ES6 function :rose:
Thomas Sattlecker
@littleStudent
Hi guys, can anyone help me with this error
Cannot find module './docs/docs’
running on node v5.7.0
Basarat Ali Syed
@basarat
@littleStudent which version are you on?
Elijah Bate
@eByte23
@basarat same issue just pull down from npm alm@0.0.47
node 4.2.2
Cannot find module './docs/docs’
Basarat Ali Syed
@basarat
Looking into it :rose:
Got it. Its because we .npmignore anything that matches docs https://github.com/alm-tools/alm/blob/fe91a9c615dd820a82ab5cd6ba81d79a949d2ef0/.npmignore#L4
Elijah Bate
@eByte23
ahh!
Basarat Ali Syed
@basarat
Fixing :rose:
Elijah Bate
@eByte23
Cheers!
Basarat Ali Syed
@basarat
@eByte23 / @littleStudent Fixed with alm@0.0.48 Thanks for your patience :rose:
Elijah Bate
@eByte23
No dramas, wasn't sure if it was an issue or not :smile:
Working lovely!
Alexis Villegas Torres
@Alexisvt
Hi @basarat i have a question! Is the IDE automatically compile the ts file to JS? I couldn't see any option to enable/disable that. I'm asking also because I'm doing a NativeScript app and the CLI of the tool already do that and I want to disable the option on ALM if I can
Alexis Villegas Torres
@Alexisvt
I found the option myself :-P it was at "compileOnSave" here at this page https://basarat.gitbooks.io/alm/content/config/tsconfig.html ;-)
Basarat Ali Syed
@basarat
Yup :rose:
Alexis Villegas Torres
@Alexisvt
Hi basarat! I have a silly question. Do ALM tools understand typings file (d.ts) ? I try to search about it in the online book but I didn't find it! 😟
Basarat Ali Syed
@basarat
Yes.
Definitely
@Alexisvt it would be useless if it didnt :) :rose:
Alexis Villegas Torres
@Alexisvt
He he he thanks God! 😄
Michael Billing
@mfbilling_twitter
@basarat I only see one thing missing in alm to compete with vscode... DEBUG (my best friend) What are your thoughts - you would probably be way faster than me building it, but I feel like doing it. :)
Ben Dornis
@Buildstarted
i've checked the docs and i can't find anyway to hide the generated files from the tree view. is it not possible?
Basarat Ali Syed
@basarat

i've checked the docs and i can't find anyway to hide the generated files from the tree view. is it not possible

@Buildstarted They should show quite small once you have a project active:

blob
@mfbilling_twitter sorry, somehow gitter didn't notify me till just right now. Yeah debugging is missing. I am actually waiting for Monaco to release as a package and increase my code sharing with VSCode. Then would pull in the debugger as well :rose:
Ben Dornis
@Buildstarted
they are tiny but with a lot of files it's a bunch of unneeded noise to me - i'll just write a userscript to remove them for now :)
Ben Dornis
@Buildstarted
speaking of active projects. i'm getting exceptions on the server that there is no active project but i can't find any docs on it other than this one page https://basarat.gitbooks.io/alm/content/contributing/tsconfig.html which doesn't tell me much
Basarat Ali Syed
@basarat

they are tiny but with a lot of files it's a bunch of unneeded noise to me - i'll just write a userscript to remove them for now

@Buildstarted if you don't want them to be generated you can set compileOnSave to false : https://basarat.gitbooks.io/alm/content/config/tsconfig.html#compileonsave

Ben Dornis
@Buildstarted
no i want that feature :)
just wanted to hide them from the treeview
Basarat Ali Syed
@basarat

i'm getting exceptions on the server that there is no active project

Most likely fine. If you can tell paste the log I'll look at it more. Its because a TypeScript query is being sent for a file that isn't in the active project. We handle this gracefully but just log it out as we can avoid the extra server request directly from the client. :rose:

Ben Dornis
@Buildstarted
guess my machine is too slow
Basarat Ali Syed
@basarat
@Buildstarted did you run build by any chance?
@Buildstarted I can see that build is not the reason (its not in the list). Perhaps you are on an old version? npm install alm-g to get latest
Ben Dornis
@Buildstarted
i just installed it last night - nah it turned out something happened and it included all the node typings d.ts files and it generated 8000+ errors... (i have no clue what i'm doing with node, this is all new to me)
Ben Dornis
@Buildstarted
hah, just now i got a notice of a new alm version :)
Basarat Ali Syed
@basarat
: )
Michael Billing
@mfbilling_twitter
@basarat great choice with Monaco - I like your bold fork strategy goal - never at bad idea to be ambitious, you can pull it off :)
Ben Dornis
@Buildstarted
finally got the basic project set up iwth alm. nodejs is really confusing with all the modules and what not