{"action":"created","issue":{"url":"https://api.github.com/repos/benweet/stackedit/issues/958","repository_url":"https://api.github.com/repos/benweet/stackedit","labels_url":"https://api.github.com/repos/benweet/stackedit/issues/958/labels{/name}","comments_url":"https://api.github.com/repos/benweet/stackedit/issues/958/comments","events_url":"https://api.github.com/repos/benweet/stackedit/issues/958/events","html_url":"https://github.com/benweet/stackedit/issues/958","id":139574355,"number":958,"title":"New installation has several errors during build","user":{"login":"bdeanindy","id":2376876,"avatar_url":"https://avatars.githubusercontent.com/u/2376876?v=3","gravatar_id":"","url":"https://api.github.com/users/bdeanindy","html_url":"https://github.com/bdeanindy","followers_url":"https://api.github.com/users/bdeanindy/followers","following_url":"https://api.github.com/users/bdeanindy/following{/other_user}","gists_url":"https://api.github.com/users/bdeanindy/gists{/gist_id}","starred_url":"https://api.github.com/users/bdeanindy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdeanindy/subscriptions","organizations_url":"https://api.github.com/users/bdeanindy/orgs","repos_url":"https://api.github.com/users/bdeanindy/repos","events_url":"https://api.github.com/users/bdeanindy/events{/privacy}","received_events_url":"https://api.github.com/users/bdeanindy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-09T13:15:25Z","updated_at":"2016-04-16T21:32:16Z","closed_at":null,"body":"Thought I would share the error list on a brand new installation.\r\n\r\n```\r\n~/GIT_CLONES/stackedit (HEAD: ref: refs/heads/master) $ gulp\r\n[05:13:14] Using gulpfile ~/GIT_CLONES/stackedit/Gulpfile.js\r\n[05:13:14] Starting 'default'...\r\n[05:13:14] Starting 'jshint'...\r\n[05:13:14] Starting 'clean-requirejs'...\r\n[05:13:14] Starting 'constants'...\r\n[05:13:14] Starting 'clean-less'...\r\n[05:13:14] Starting 'clean-font'...\r\n[05:13:14] Starting 'clean-img'...\r\n[05:13:14] Finished 'clean-less' after 133 ms\r\n[05:13:14] Starting 'less'...\r\n[05:13:14] Finished 'clean-font' after 136 ms\r\n[05:13:14] Starting 'copy-font'...\r\n[05:13:14] Finished 'clean-img' after 137 ms\r\n[05:13:14] Starting 'copy-img'...\r\n[05:13:14] Finished 'clean-requirejs' after 173 ms\r\n[05:13:14] Starting 'copy-requirejs'...\r\n[05:13:14] Finished 'constants' after 171 ms\r\n[05:13:15] Finished 'copy-requirejs' after 475 ms\r\n[05:13:15] Starting 'requirejs'...\r\npublic/res/classes/AsyncTask.js: line 135, col 14, 'runTask' was used before it was defined.\r\npublic/res/classes/AsyncTask.js: line 171, col 14, 'runSafe' was used before it was defined.\r\n\r\n2 errors\r\npublic/res/extensions/comments.js: line 251, col 14, 'getDiscussionComments' was used before it was defined.\r\n\r\n1 error\r\npublic/res/extensions/documentManager.js: line 99, col 14, 'doDelete' was used before it was defined.\r\n\r\n1 error\r\npublic/res/extensions/documentPanel.js: line 175, col 13, '$filterInputElt' was used before it was defined.\r\n\r\n1 error\r\npublic/res/extensions/findReplace.js: line 53, col 14, 'resetSelect' was used before it was defined.\r\n\r\n1 error\r\npublic/res/extensions/htmlSanitizer.js: line 37, col 14, 'sanitizeUri' was used before it was defined.\r\npublic/res/extensions/htmlSanitizer.js: line 135, col 14, 'htmlParser' was used before it was defined.\r\npublic/res/extensions/htmlSanitizer.js: line 175, col 18, 'parseEndTag' was used before it was defined.\r\npublic/res/extensions/htmlSanitizer.js: line 297, col 14, 'decodeEntities' was used before it was defined.\r\npublic/res/extensions/htmlSanitizer.js: line 348, col 14, 'htmlSanitizeWriter' was used before it was defined.\r\n\r\n5 errors\r\npublic/res/extensions/markdownSectionParser.js: line 106, col 13, 'offset' was used before it was defined.\r\n\r\n1 error\r\n[05:13:30] Finished 'copy-font' after 15 s\r\npublic/res/extensions/notifications.js: line 80, col 14, 'updateOnlineStatus' was used before it was defined.\r\n\r\n1 error\r\npublic/res/extensions/scrollSync.js: line 135, col 9, 'doScrollSync' was used before it was defined.\r\n\r\n1 error\r\n[05:13:30] Finished 'less' after 16 s\r\n[05:13:30] Finished 'copy-img' after 16 s\r\npublic/res/helpers/couchdbHelper.js: line 227, col 14, 'handleError' was used before it was defined.\r\n\r\n1 error\r\npublic/res/helpers/dropboxHelper.js: line 76, col 22, 'localAuthenticate' was used before it was defined.\r\npublic/res/helpers/dropboxHelper.js: line 249, col 14, 'handleError' was used before it was defined.\r\n\r\n2 errors\r\npublic/res/helpers/githubHelper.js: line 83, col 22, 'getCode' was used before it was defined.\r\npublic/res/helpers/githubHelper.js: line 103, col 22, 'getToken' was used before it was defined.\r\npublic/res/helpers/githubHelper.js: line 147, col 22, 'write' was used before it was defined.\r\npublic/res/helpers/githubHelper.js: line 247, col 14, 'handleError' was used before it was defined.\r\n\r\n4 errors\r\npublic/res/helpers/googleHelper.js: line 208, col 22, 'oauthRedirect' was used before it was defined.\r\npublic/res/helpers/googleHelper.js: line 219, col 22, 'startAuthenticate' was used before it was defined.\r\npublic/res/helpers/googleHelper.js: line 619, col 14, 'handleError' was used before it was defined.\r\npublic/res/helpers/googleHelper.js: line 829, col 22, 'publish' was used before it was defined.\r\n\r\n4 errors\r\npublic/res/helpers/sshHelper.js: line 68, col 14, 'handleError' was used before it was defined.\r\n\r\n1 error\r\npublic/res/helpers/tumblrHelper.js: line 63, col 22, 'oauthRedirect' was used before it was defined.\r\npublic/res/helpers/tumblrHelper.js: line 70, col 22, 'getVerifier' was used before it was defined.\r\npublic/res/helpers/tumblrHelper.js: line 89, col 22, 'getAccessToken' was used before it was defined.\r\npublic/res/helpers/tumblrHelper.js: line 158, col 14, 'handleError' was used before it was defined.\r\n\r\n4 errors\r\npublic/res/helpers/wordpressHelper.js: line 54, col 22, 'getCode' was used before it was defined.\r\npublic/res/helpers/wordpressHelper.js: line 73, col 22, 'getToken' was used before it was defined.\r\npublic/res/helpers/wordpressHelper.js: line 158, col 14, 'handleError' was used before it was defined.\r\n\r\n3 errors\r\npublic/res/providers/couchdbProvider.js: line 320, col 13, '$selectTagElt' was used before it was defined.\r\n\r\n1 error\r\npublic/res/core.js: line 453, col 18, 'applyTheme' was used before it was defined.\r\n\r\n1 error\r\npublic/res/editor.js: line 65, col 9, 'fileChanged' was used before it was defined.\r\npublic/res/editor.js: line 300, col 17, 'longerDebouncedSave' was used before it was defined.\r\npublic/res/editor.js: line 399, col 9, 'selectionMgr' was used before it was defined.\r\npublic/res/editor.js: line 412, col 9, 'textContent' was used before it was defined.\r\npublic/res/editor.js: line 645, col 9, 'undoMgr' was used before it was defined.\r\npublic/res/editor.js: line 675, col 14, 'checkContentChange' was used before it was defined.\r\npublic/res/editor.js: line 724, col 14, 'adjustCommentOffsets' was used before it was defined.\r\npublic/res/editor.js: line 916, col 13, 'action' was used before it was defined.\r\npublic/res/editor.js: line 935, col 13, 'actions' was used before it was defined.\r\npublic/res/editor.js: line 1002, col 9, 'sectionList' was used before it was defined.\r\npublic/res/editor.js: line 1007, col 14, 'updateSectionList' was used before it was defined.\r\npublic/res/editor.js: line 1068, col 14, 'highlightSections' was used before it was defined.\r\npublic/res/editor.js: line 1111, col 14, 'addTrailingLfNode' was used before it was defined.\r\npublic/res/editor.js: line 1132, col 14, 'highlight' was used before it was defined.\r\n\r\n14 errors\r\npublic/res/layout.js: line 217, col 14, 'onResize' was used before it was defined.\r\npublic/res/layout.js: line 271, col 14, 'resizeAll' was used before it was defined.\r\npublic/res/layout.js: line 657, col 13, 'closeTimeoutId' was used before it was defined.\r\n\r\n3 errors\r\n[05:13:32] 'jshint' errored after 17 s\r\n[05:13:32] Error in plugin 'gulp-jshint'\r\nMessage:\r\n    JSHint failed for: public/res/classes/AsyncTask.js, public/res/extensions/comments.js, public/res/extensions/documentManager.js, public/res/extensions/documentPanel.js, public/res/extensions/findReplace.js, public/res/extensions/htmlSanitizer.js, public/res/extensions/markdownSectionParser.js, public/res/extensions/notifications.js, public/res/extensions/scrollSync.js, public/res/helpers/couchdbHelper.js, public/res/helpers/dropboxHelper.js, public/res/helpers/githubHelper.js, public/res/helpers/googleHelper.js, public/res/helpers/sshHelper.js, public/res/helpers/tumblrHelper.js, public/res/helpers/wordpressHelper.js, public/res/providers/couchdbProvider.js, public/res/core.js, public/res/editor.js, public/res/layout.js\r\n[05:13:32] 'default' errored after 17 s\r\n[05:13:32] Error: [object Object]\r\n    at formatError (/Users/benjamin.dean/.nvm/versions/node/v4.1.0/lib/node_modules/gulp/bin/gulp.js:169:10)\r\n    at Gulp.<anonymous> (/Users/benjamin.dean/.nvm/versions/node/v4.1.0/lib/node_modules/gulp/bin/gulp.js:195:15)\r\n    at emitOne (events.js:82:20)\r\n    at Gulp.emit (events.js:169:7)\r\n    at Gulp.Orchestrator._emitTaskDone (/Users/benjamin.dean/GIT_CLONES/stackedit/node_modules/gulp/node_modules/orchestrator/index.js:264:8)\r\n    at /Users/benjamin.dean/GIT_CLONES/stackedit/node_modules/gulp/node_modules/orchestrator/index.js:275:23\r\n    at finish (/Users/benjamin.dean/GIT_CLONES/stackedit/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)\r\n    at cb (/Users/benjamin.dean/GIT_CLONES/stackedit/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)\r\n    at finish (/Users/benjamin.dean/GIT_CLONES/stackedit/node_modules/run-sequence/index.js:38:5)\r\n    at Gulp.onError (/Users/benjamin.dean/GIT_CLONES/stackedit/node_modules/run-sequence/index.js:45:4)\r\n```"},"comment":{"url":"https://api.github.com/repos/benweet/stackedit/issues/comments/210905676","html_url":"https://github.com/benweet/stackedit/issues/958#issuecomment-210905676","issue_url":"https://api.github.com/repos/benweet/stackedit/issues/958","id":210905676,"user":{"login":"davepoltorak","id":1072125,"avatar_url":"https://avatars.githubusercontent.com/u/1072125?v=3","gravatar_id":"","url":"https://api.github.com/users/davepoltorak","html_url":"https://github.com/davepoltorak","followers_url":"https://api.github.com/users/davepoltorak/followers","following_url":"https://api.github.com/users/davepoltorak/following{/other_user}","gists_url":"https://api.github.com/users/davepoltorak/gists{/gist_id}","starred_url":"https://api.github.com/users/davepoltorak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davepoltorak/subscriptions","organizations_url":"https://api.github.com/users/davepoltorak/orgs","repos_url":"https://api.github.com/users/davepoltorak/repos","events_url":"https://api.github.com/users/davepoltorak/events{/privacy}","received_events_url":"https://api.github.com/users/davepoltorak/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T21:32:16Z","updated_at":"2016-04-16T21:32:16Z","body":"Removing jshint from the build pipeline resolves the build issue. (I removed the line 217 in Gulpfile.js to remove the jshint from the default build pipeline)"}}