{"action":"opened","issue":{"url":"https://api.github.com/repos/EvanAgee/vuejs-wordpress-theme-starter/issues/15","repository_url":"https://api.github.com/repos/EvanAgee/vuejs-wordpress-theme-starter","labels_url":"https://api.github.com/repos/EvanAgee/vuejs-wordpress-theme-starter/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/EvanAgee/vuejs-wordpress-theme-starter/issues/15/comments","events_url":"https://api.github.com/repos/EvanAgee/vuejs-wordpress-theme-starter/issues/15/events","html_url":"https://github.com/EvanAgee/vuejs-wordpress-theme-starter/issues/15","id":298085829,"number":15,"title":"\"SyntaxError: Block-scoped declarations not yet supported outside strict mode\"","user":{"login":"kucharzgotuje","id":8874102,"avatar_url":"https://avatars1.githubusercontent.com/u/8874102?v=4","gravatar_id":"","url":"https://api.github.com/users/kucharzgotuje","html_url":"https://github.com/kucharzgotuje","followers_url":"https://api.github.com/users/kucharzgotuje/followers","following_url":"https://api.github.com/users/kucharzgotuje/following{/other_user}","gists_url":"https://api.github.com/users/kucharzgotuje/gists{/gist_id}","starred_url":"https://api.github.com/users/kucharzgotuje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kucharzgotuje/subscriptions","organizations_url":"https://api.github.com/users/kucharzgotuje/orgs","repos_url":"https://api.github.com/users/kucharzgotuje/repos","events_url":"https://api.github.com/users/kucharzgotuje/events{/privacy}","received_events_url":"https://api.github.com/users/kucharzgotuje/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-18T13:44:42Z","updated_at":"2018-02-18T13:44:42Z","closed_at":null,"author_association":"NONE","body":"Hi guys, \r\n\r\nSo I've downloaded fresh copy of this theme, started as Mr. Readme said, and I ran into this error doing \r\n`npm run watch`\r\n\r\nInstallation went well exept for two warnings:\r\n\r\n`npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg= integrity checksum failed when using sha1: wanted sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg= but got sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==. (2301 bytes)`\r\n\r\n`npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.`\r\n \r\nEntire error looks like this: \r\n`> @ watch /var/www/vhosts/mysite.local/wordpress/wp-content/themes/mysite\r\n> node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js\r\n\r\n/var/www/vhosts/mysite.local/wordpress/wp-content/themes/mysite/node_modules/laravel-mix/setup/webpack.config.js:24\r\nlet WebpackConfig = require('../src/builder/WebpackConfig');\r\n^^^\r\n\r\nSyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:373:25)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at requireConfig (/var/www/vhosts/mysite.local/wordpress/wp-content/themes/mysite/node_modules/webpack/bin/convert-argv.js:97:18)\r\n    at /var/www/vhosts/mysite.local/wordpress/wp-content/themes/mysite/node_modules/webpack/bin/convert-argv.js:104:17\r\n    at Array.forEach (native)\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! @ watch: `node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the @ watch script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /home/user/.npm/_logs/2018-02-18T13_33_30_936Z-debug.log\r\n`\r\n\r\n.log file says prints the same.\r\n\r\nSteps do reproduce this issue: \r\n> having ubuntu 14.04\r\n> npm 5.6.0 \r\n> download zip, unpack & run. \r\n\r\nAnyone else had this problem? "}}
{"actor":{"display_login":"kucharzgotuje"}}