{"action":"created","issue":{"url":"https://api.github.com/repos/bem-site/bem-lib-site-view/issues/12","repository_url":"https://api.github.com/repos/bem-site/bem-lib-site-view","labels_url":"https://api.github.com/repos/bem-site/bem-lib-site-view/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/bem-site/bem-lib-site-view/issues/12/comments","events_url":"https://api.github.com/repos/bem-site/bem-lib-site-view/issues/12/events","html_url":"https://github.com/bem-site/bem-lib-site-view/issues/12","id":175941716,"number":12,"title":"Error: Cannot find module '.../project/node_modules/bem-lib-site-view/desktop.bundles/index/index.bemtree' ","user":{"login":"ilyar","id":761285,"avatar_url":"https://avatars.githubusercontent.com/u/761285?v=3","gravatar_id":"","url":"https://api.github.com/users/ilyar","html_url":"https://github.com/ilyar","followers_url":"https://api.github.com/users/ilyar/followers","following_url":"https://api.github.com/users/ilyar/following{/other_user}","gists_url":"https://api.github.com/users/ilyar/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyar/subscriptions","organizations_url":"https://api.github.com/users/ilyar/orgs","repos_url":"https://api.github.com/users/ilyar/repos","events_url":"https://api.github.com/users/ilyar/events{/privacy}","received_events_url":"https://api.github.com/users/ilyar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-09T07:02:00Z","updated_at":"2016-09-09T09:36:57Z","closed_at":null,"body":"Если поставить на уровне проекта:\r\n\r\n```bash\r\n$ npm i -D bem-site/bem-lib-site-data\r\n$ npm i -D bem-site/bem-lib-site-view\r\n```\r\n\r\nскопировать в проект реализацию  bem-lib-site:\r\n\r\n```bash\r\n$ cp -r bem-lib-site/bin project\r\n$ cp index.js project \r\n```\r\n\r\nПолучаю ошибку:\r\n\r\n```bash\r\n$ ./bin/bem-lib-site .\r\nmodule.js:341\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module '/home/user/project/node_modules/bem-lib-site-view/desktop.bundles/index/index.bemtree'\r\n    at Function.Module._resolveFilename (module.js:339:15)\r\n    at Function.Module._load (module.js:290:25)\r\n    at Module.require (module.js:367:17)\r\n    at require (internal/module.js:16:19)\r\n    at Object.<anonymous> (/home/user/project/node_modules/bem-lib-site-view/lib/process-blocks.js:11:15)\r\n    at Module._compile (module.js:413:34)\r\n    at Object.Module._extensions..js (module.js:422:10)\r\n    at Module.load (module.js:357:32)\r\n    at Function.Module._load (module.js:314:12)\r\n    at Module.require (module.js:367:17)\r\n```\r\n\r\nВажно отметить, что использовать дебаг при стили объявления переменных через один `var` невозможно, поправите если я не прав. Все меняется и дебаг становится возможным когда один `var` на одну перемененную.\r\n"},"comment":{"url":"https://api.github.com/repos/bem-site/bem-lib-site-view/issues/comments/245867114","html_url":"https://github.com/bem-site/bem-lib-site-view/issues/12#issuecomment-245867114","issue_url":"https://api.github.com/repos/bem-site/bem-lib-site-view/issues/12","id":245867114,"user":{"login":"iniel","id":6877584,"avatar_url":"https://avatars.githubusercontent.com/u/6877584?v=3","gravatar_id":"","url":"https://api.github.com/users/iniel","html_url":"https://github.com/iniel","followers_url":"https://api.github.com/users/iniel/followers","following_url":"https://api.github.com/users/iniel/following{/other_user}","gists_url":"https://api.github.com/users/iniel/gists{/gist_id}","starred_url":"https://api.github.com/users/iniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iniel/subscriptions","organizations_url":"https://api.github.com/users/iniel/orgs","repos_url":"https://api.github.com/users/iniel/repos","events_url":"https://api.github.com/users/iniel/events{/privacy}","received_events_url":"https://api.github.com/users/iniel/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T09:36:57Z","updated_at":"2016-09-09T09:36:57Z","body":"Как временное решение, тянуть форк с собранными закоммиченными desktop.bundles."}}
{"actor":{"display_login":"iniel"}}