Cannot convert object to primitive value console.logなどの出力メソッドに、オブジェクトをそのまま渡すとエラーが表示される 対処法 JSON形式の文字列にして渡す console.log(JSON.stringify(someObject)); Refused to apply inline style because it violates the following Content Security Policy directive 対処法 content_security_policyに以下を追加する "default-src 'self' style-src 'self' 'unsafe-inline';" 参考 Node.js、JavaScriptのオブジェクトをJSON形式の文字列にする - hdixのブログ javascript - Refused to apply inline style because it violates the following Content Security Policy directive - Stack Overflow