sciactive / pnotify

Beautiful JavaScript notifications with Web Notifications support.
https://sciactive.com/pnotify/
Apache License 2.0
3.65k stars 513 forks source link

JSPM 0.17 support #240

Closed ggrimbert closed 6 years ago

ggrimbert commented 8 years ago

Hi,

Have you planned working with jspm .17 ?

When I tried to install pnotify with this version I got the following result :


warn It's taking a long time to process the dependencies of npm:pnotify@3.0.0.
     This package may need an ignore property to indicate test or example folders for jspm to skip.

<--- Last few GCs --->

   37478 ms: Scavenge 1408.1 (1456.7) -> 1408.1 (1456.7) MB, 25.4 / 0 ms (+ 3.1 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].
   38681 ms: Mark-sweep 1408.1 (1456.7) -> 1408.0 (1456.7) MB, 1203.9 / 0 ms (+ 65.4 ms in 355 steps since start of marking, biggest step 3.1 ms) [last resort gc].
   39892 ms: Mark-sweep 1408.0 (1456.7) -> 1408.0 (1456.7) MB, 1210.9 / 0 ms [last resort gc].

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x15f8c1c44a49 <JS Object>
    1: toString [/home/ggrimbert/edevelo/local/Aurelia/testUpdateAurelia/node_modules/traceur/bin/traceur.js:~15988] [pc=0x33e44cef7032] (this=0x3e005fbbf051 <a SourcePosition with map 0x310adaca0b49>)
    2: DefaultNumber [native runtime.js:~514] [pc=0x33e44cefbb2b] (this=0x15f8c1cc22b9 <JS Global Object>,h=0x3e005fbbf051 <a SourcePosition with map 0x310adaca0b49>)
    3: $toPrimitive(aka ToPr...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
Abandon (core dumped)

And here's the issue created at JSPM : https://github.com/jspm/jspm-cli/issues/1648

hperrin commented 6 years ago

I think this is due to all the extra stuff in the NPM package in PNotify 3. PNotify 4 just has the code, so it should work fine.