Sendgrid-nodejs: ๊ตฌ๋ฌธ ์—๋Ÿฌ : ์˜ˆ๊ธฐ์น˜ ์•Š์€ ํ† ํฐ {

์— ๋งŒ๋“  2017๋…„ 10์›” 04์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: sendgrid/sendgrid-nodejs

๋ฌธ์ œ ์š”์•ฝ

์ตœ์‹  ๋ฒ„์ „์˜ Meteor 1.5.2.2 ์‚ฌ์šฉ. @sendgrid/mail์„ ํ”„๋กœ์ ํŠธ์— ์ถ”๊ฐ€ํ•œ ํ›„ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ด ์ถฉ๋Œํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ์€ ์˜ค๋ฅ˜๋ฅผ ์ƒ์„ฑํ•˜๋Š” ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.

const client = require('@sendgrid/client');
const {
  classes: {
    Mail,
  },
} = require('@sendgrid/helpers');

๋กœ๊ทธ:

W20171003-20:28:45.340(-4)? (STDERR) packages/modules.js:18016
W20171003-20:28:45.342(-4)? (STDERR) ์ƒ์ˆ˜ {
W20171003-20:28:45.342(-4)? (STDERR) ^
W20171003-20:28:45.345(-4)? (STDERR)
W20171003-20:28:45.346(-4)? (STDERR) SyntaxError: ์˜ˆ๊ธฐ์น˜ ์•Š์€ ํ† ํฐ {
W20171003-20:28:45.347(-4)? (STDERR) Object.exports.runInThisContext(vm.js:53:16)
W20171003-20:28:45.348(-4)? (STDERR) /Users/alex/projects/shopping-app/.meteor/local/build/programs/server/boot.js:332:30

๋ชจ๋“ˆ์˜ 18016ํ–‰:
screen shot 2017-10-03 at 8 35 11 pm

question

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

๋ชฉ๋ก์—์„œ ๋น„์Šทํ•œ ๋ฌธ์ œ๋ฅผ ์ฐพ์•˜์Šต๋‹ˆ๋‹ค. ๋ฌธ์ œ๋Š” Meteor 1.5๊ฐ€ ๋…ธ๋“œ 4๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์ด ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜๋ ค๋ฉด 1.6 RC๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•ด์•ผ ํ–ˆ์Šต๋‹ˆ๋‹ค. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

2017๋…„ 10์›” 3์ผ ์˜คํ›„ 9์‹œ 31๋ถ„์— Elmer Thomas [email protected] ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ผ์Šต๋‹ˆ๋‹ค.

์•ˆ๋…•ํ•˜์„ธ์š” @polkhovsky https://github.com/polkhovsky ,

๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๊นŒ?

๋งˆ์Œ์„ ๋‹ด์•„,

์—˜๋จธ

โ€”
๋‹น์‹ ์ด ์–ธ๊ธ‰๋˜์—ˆ๊ธฐ ๋•Œ๋ฌธ์— ์ด๊ฒƒ์„ ๋ฐ›๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.
์ด ์ด๋ฉ”์ผ์— ์ง์ ‘ ๋‹ต์žฅํ•˜๊ฑฐ๋‚˜ GitHub https://github.com/sendgrid/sendgrid-nodejs/issues/450#issuecomment-334026030 ์—์„œ ํ™•์ธํ•˜๊ฑฐ๋‚˜ ์Šค๋ ˆ๋“œ https://github.com/notifications/unsubscribe-auth/๋ฅผ ์Œ์†Œ๊ฑฐ

๋ชจ๋“  3 ๋Œ“๊ธ€

์•ˆ๋…•ํ•˜์„ธ์š” @polkhovsky ,

๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๊นŒ?

๋งˆ์Œ์„ ๋‹ด์•„,

์—˜๋จธ

๋ชฉ๋ก์—์„œ ๋น„์Šทํ•œ ๋ฌธ์ œ๋ฅผ ์ฐพ์•˜์Šต๋‹ˆ๋‹ค. ๋ฌธ์ œ๋Š” Meteor 1.5๊ฐ€ ๋…ธ๋“œ 4๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์ด ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜๋ ค๋ฉด 1.6 RC๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•ด์•ผ ํ–ˆ์Šต๋‹ˆ๋‹ค. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

2017๋…„ 10์›” 3์ผ ์˜คํ›„ 9์‹œ 31๋ถ„์— Elmer Thomas [email protected] ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ผ์Šต๋‹ˆ๋‹ค.

์•ˆ๋…•ํ•˜์„ธ์š” @polkhovsky https://github.com/polkhovsky ,

๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๊นŒ?

๋งˆ์Œ์„ ๋‹ด์•„,

์—˜๋จธ

โ€”
๋‹น์‹ ์ด ์–ธ๊ธ‰๋˜์—ˆ๊ธฐ ๋•Œ๋ฌธ์— ์ด๊ฒƒ์„ ๋ฐ›๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.
์ด ์ด๋ฉ”์ผ์— ์ง์ ‘ ๋‹ต์žฅํ•˜๊ฑฐ๋‚˜ GitHub https://github.com/sendgrid/sendgrid-nodejs/issues/450#issuecomment-334026030 ์—์„œ ํ™•์ธํ•˜๊ฑฐ๋‚˜ ์Šค๋ ˆ๋“œ https://github.com/notifications/unsubscribe-auth/๋ฅผ ์Œ์†Œ๊ฑฐ

ํŒ”๋กœ์šฐํ•ด์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰