{"action":"created","issue":{"url":"https://api.github.com/repos/ecomfe/echarts/issues/2203","labels_url":"https://api.github.com/repos/ecomfe/echarts/issues/2203/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/echarts/issues/2203/comments","events_url":"https://api.github.com/repos/ecomfe/echarts/issues/2203/events","html_url":"https://github.com/ecomfe/echarts/issues/2203","id":118568990,"number":2203,"title":"Uncaught ReferenceError: require is not defined","user":{"login":"snowdream","id":737958,"avatar_url":"https://avatars.githubusercontent.com/u/737958?v=3","gravatar_id":"","url":"https://api.github.com/users/snowdream","html_url":"https://github.com/snowdream","followers_url":"https://api.github.com/users/snowdream/followers","following_url":"https://api.github.com/users/snowdream/following{/other_user}","gists_url":"https://api.github.com/users/snowdream/gists{/gist_id}","starred_url":"https://api.github.com/users/snowdream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowdream/subscriptions","organizations_url":"https://api.github.com/users/snowdream/orgs","repos_url":"https://api.github.com/users/snowdream/repos","events_url":"https://api.github.com/users/snowdream/events{/privacy}","received_events_url":"https://api.github.com/users/snowdream/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-24T09:47:26Z","updated_at":"2015-11-24T10:25:18Z","closed_at":null,"body":"我尝试在expressjs中使用echarts，遇到一个问题。\r\n在这个地方 require.config({ 提示错误：\r\nUncaught ReferenceError: require is not defined\r\n\r\n代码网址：\r\n\r\nhttps://github.com/snowdream/node-echart-demo/blob/master/views/index.jade"},"comment":{"url":"https://api.github.com/repos/ecomfe/echarts/issues/comments/159221868","html_url":"https://github.com/ecomfe/echarts/issues/2203#issuecomment-159221868","issue_url":"https://api.github.com/repos/ecomfe/echarts/issues/2203","id":159221868,"user":{"login":"pissang","id":841551,"avatar_url":"https://avatars.githubusercontent.com/u/841551?v=3","gravatar_id":"","url":"https://api.github.com/users/pissang","html_url":"https://github.com/pissang","followers_url":"https://api.github.com/users/pissang/followers","following_url":"https://api.github.com/users/pissang/following{/other_user}","gists_url":"https://api.github.com/users/pissang/gists{/gist_id}","starred_url":"https://api.github.com/users/pissang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pissang/subscriptions","organizations_url":"https://api.github.com/users/pissang/orgs","repos_url":"https://api.github.com/users/pissang/repos","events_url":"https://api.github.com/users/pissang/events{/privacy}","received_events_url":"https://api.github.com/users/pissang/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T10:25:18Z","updated_at":"2015-11-24T10:25:18Z","body":"需要先 script 引入 echarts 才能 require"}}