dougmoscrop / serverless-plugin-include-dependencies

MIT License
184 stars 40 forks source link

error during packaging service #12

Closed attinder-shf closed 7 years ago

attinder-shf commented 7 years ago

Serverless: Packaging service... /usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:918 return s.replace(/\(.)/g, '$1') ^

RangeError: Maximum call stack size exceeded at RegExp.[Symbol.replace] (native) at RegExp.[Symbol.replace] (native) at String.replace (native) at globUnescape (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:918:12) at Minimatch.parse (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:617:12) at Array.map (native) at Minimatch. (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:182:14) at Array.map (native) at Minimatch.make (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:181:13) at new Minimatch (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:136:8) at setopts (/usr/local/lib/node_modules/serverless/node_modules/glob/common.js:118:20) at new GlobSync (/usr/local/lib/node_modules/serverless/node_modules/glob/sync.js:40:3) at new Glob (/usr/local/lib/node_modules/serverless/node_modules/glob/glob.js:129:12) at GlobAll.globNext (/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:97:9) at GlobAll.globbedOne (/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:147:8) at GlobAll.globNext (/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:99:10)

dougmoscrop commented 7 years ago

This is covered in the readme :)

On Sun, Mar 12, 2017, 7:01 PM attinderseesdragons notifications@github.com wrote:

Serverless: Packaging service...

/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:918 return s.replace(/(.)/g, '$1') ^

RangeError: Maximum call stack size exceeded at RegExp.[Symbol.replace] (native) at RegExp.[Symbol.replace] (native) at String.replace (native) at globUnescape (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:918:12) at Minimatch.parse (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:617:12) at Array.map (native) at Minimatch. (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:182:14) at Array.map (native) at Minimatch.make (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:181:13) at new Minimatch (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:136:8) at setopts (/usr/local/lib/node_modules/serverless/node_modules/glob/common.js:118:20) at new GlobSync (/usr/local/lib/node_modules/serverless/node_modules/glob/sync.js:40:3) at new Glob (/usr/local/lib/node_modules/serverless/node_modules/glob/glob.js:129:12) at GlobAll.globNext (/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:97:9) at GlobAll.globbedOne (/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:147:8) at GlobAll.globNext (/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:99:10)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dougmoscrop/serverless-plugin-include-dependencies/issues/12, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjzFAH7n7GxT6HFQgwrgJllG5T4TcHHks5rlHlVgaJpZM4Math- .

attinder-shf commented 7 years ago

Thanks

I see fix is merged too. What is eta on build into npm?

On Mar 12, 2017, at 4:05 PM, Doug Moscrop notifications@github.com wrote:

This is covered in the readme :)

On Sun, Mar 12, 2017, 7:01 PM attinderseesdragons notifications@github.com wrote:

Serverless: Packaging service...

/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:918 return s.replace(/(.)/g, '$1') ^

RangeError: Maximum call stack size exceeded at RegExp.[Symbol.replace] (native) at RegExp.[Symbol.replace] (native) at String.replace (native) at globUnescape (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:918:12) at Minimatch.parse (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:617:12) at Array.map (native) at Minimatch. (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:182:14) at Array.map (native) at Minimatch.make (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:181:13) at new Minimatch (/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:136:8) at setopts (/usr/local/lib/node_modules/serverless/node_modules/glob/common.js:118:20) at new GlobSync (/usr/local/lib/node_modules/serverless/node_modules/glob/sync.js:40:3) at new Glob (/usr/local/lib/node_modules/serverless/node_modules/glob/glob.js:129:12) at GlobAll.globNext (/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:97:9) at GlobAll.globbedOne (/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:147:8) at GlobAll.globNext (/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:99:10)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dougmoscrop/serverless-plugin-include-dependencies/issues/12, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjzFAH7n7GxT6HFQgwrgJllG5T4TcHHks5rlHlVgaJpZM4Math- .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dougmoscrop commented 7 years ago

I can't say since it's in serverless itself. You can use it directly by referencing the Sha in your package.json!

On Sun, Mar 12, 2017, 9:40 PM attinderseesdragons notifications@github.com wrote:

Thanks

I see fix is merged too. What is eta on build into npm?

On Mar 12, 2017, at 4:05 PM, Doug Moscrop notifications@github.com wrote:

This is covered in the readme :)

On Sun, Mar 12, 2017, 7:01 PM attinderseesdragons < notifications@github.com> wrote:

Serverless: Packaging service...

/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:918 return s.replace(/(.)/g, '$1') ^

RangeError: Maximum call stack size exceeded at RegExp.[Symbol.replace] (native) at RegExp.[Symbol.replace] (native) at String.replace (native) at globUnescape

(/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:918:12) at Minimatch.parse

(/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:617:12) at Array.map (native) at Minimatch.

(/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:182:14) at Array.map (native) at Minimatch.make

(/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:181:13) at new Minimatch

(/usr/local/lib/node_modules/serverless/node_modules/minimatch/minimatch.js:136:8) at setopts

(/usr/local/lib/node_modules/serverless/node_modules/glob/common.js:118:20) at new GlobSync (/usr/local/lib/node_modules/serverless/node_modules/glob/sync.js:40:3) at new Glob

(/usr/local/lib/node_modules/serverless/node_modules/glob/glob.js:129:12) at GlobAll.globNext

(/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:97:9) at GlobAll.globbedOne

(/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:147:8) at GlobAll.globNext

(/usr/local/lib/node_modules/serverless/node_modules/glob-all/glob-all.js:99:10)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/dougmoscrop/serverless-plugin-include-dependencies/issues/12 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AAjzFAH7n7GxT6HFQgwrgJllG5T4TcHHks5rlHlVgaJpZM4Math-

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/dougmoscrop/serverless-plugin-include-dependencies/issues/12#issuecomment-285996583, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjzFAc5rOOiY5wJrxsxm_7rWWGbQxNvks5rlJ6SgaJpZM4Math- .

smiller171 commented 7 years ago

Serverless version 1.9.0 seems to include the fix

attinder-shf commented 7 years ago

Thanks for the update

On Mon, Mar 20, 2017 at 2:28 PM, Scott Miller notifications@github.com wrote:

Serverless version 1.9.0 seems to include the fix

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dougmoscrop/serverless-plugin-include-dependencies/issues/12#issuecomment-287903754, or mute the thread https://github.com/notifications/unsubscribe-auth/AXZrwY6Px8cY_3qX6l1jQI7UN8yS_oJ2ks5rnu9mgaJpZM4Math- .