{"action":"created","issue":{"url":"https://api.github.com/repos/pnp/pnpjs/issues/115","repository_url":"https://api.github.com/repos/pnp/pnpjs","labels_url":"https://api.github.com/repos/pnp/pnpjs/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/pnp/pnpjs/issues/115/comments","events_url":"https://api.github.com/repos/pnp/pnpjs/issues/115/events","html_url":"https://github.com/pnp/pnpjs/issues/115","id":327754603,"node_id":"MDU6SXNzdWUzMjc3NTQ2MDM=","number":115,"title":"Error: tools/buildsystem/src/tasks/build/copy-assets.ts(20,17): error TS2345: Argument of type '{ overwrite: boolean; }' is not assignable to parameter of type 'DestOptions'.","user":{"login":"VelinGeorgiev","id":1049476,"node_id":"MDQ6VXNlcjEwNDk0NzY=","avatar_url":"https://avatars3.githubusercontent.com/u/1049476?v=4","gravatar_id":"","url":"https://api.github.com/users/VelinGeorgiev","html_url":"https://github.com/VelinGeorgiev","followers_url":"https://api.github.com/users/VelinGeorgiev/followers","following_url":"https://api.github.com/users/VelinGeorgiev/following{/other_user}","gists_url":"https://api.github.com/users/VelinGeorgiev/gists{/gist_id}","starred_url":"https://api.github.com/users/VelinGeorgiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VelinGeorgiev/subscriptions","organizations_url":"https://api.github.com/users/VelinGeorgiev/orgs","repos_url":"https://api.github.com/users/VelinGeorgiev/repos","events_url":"https://api.github.com/users/VelinGeorgiev/events{/privacy}","received_events_url":"https://api.github.com/users/VelinGeorgiev/received_events","type":"User","site_admin":false},"labels":[{"id":802869875,"node_id":"MDU6TGFiZWw4MDI4Njk4NzU=","url":"https://api.github.com/repos/pnp/pnpjs/labels/area:%20tooling","name":"area: tooling","color":"eaeaea","default":false},{"id":802866680,"node_id":"MDU6TGFiZWw4MDI4NjY2ODA=","url":"https://api.github.com/repos/pnp/pnpjs/labels/status:%20details%20needed","name":"status: details needed","color":"fef2c0","default":false},{"id":802864291,"node_id":"MDU6TGFiZWw4MDI4NjQyOTE=","url":"https://api.github.com/repos/pnp/pnpjs/labels/type:%20question","name":"type: question","color":"84b6eb","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-05-30T14:23:14Z","updated_at":"2018-06-06T20:50:05Z","closed_at":"2018-06-05T16:11:30Z","author_association":"NONE","body":"### Category\r\n- [ ] Enhancement\r\n- [X] Bug\r\n- [ ] Question\r\n- [ ] Documentation gap/issue\r\n\r\n### Version\r\n\r\nPlease specify what version of the library you are using: [1.1.0]\r\n\r\n### Steps to Reproduce\r\n- I followed this guide https://github.com/pnp/pnpjs/blob/dev/docs-src/getting-started-dev.md to get started with dev.\r\n- I pulled the *master* branch\r\n- I tried `gulp build` so I can have my custom build\r\n\r\n### Expected / Desired Behavior / Question\r\n- Js files compiled\r\n\r\n### Observed Behavior\r\nGetting the following error. Here is the full stack.\r\n\r\n```\r\nC:\\p\\pnpjs (master)\r\nλ npm install -g gulp-cli\r\nC:\\Users\\xx\\AppData\\Roaming\\npm\\gulp -> C:\\Users\\xx\\AppData\\Roaming\\npm\\node_modules\\gulp-cli\\bin\\gulp.js\r\n+ gulp-cli@2.0.1\r\nupdated 1 package in 104.167s\r\n\r\nC:\\p\\pnpjs (master)\r\nλ gulp build\r\n[15:14:50] Using gulpfile C:\\p\\pnpjs\\gulpfile.js\r\n[15:14:50] Starting 'clean'...\r\n[15:14:50]   Cleaning directories: ./build, ./dist, ./debugging, ./serve, ./testing.\r\n[15:14:50] Starting 'lint'...\r\n[15:14:52] Starting 'bootstrap-buildsystem'...\r\n[15:14:53]   Cleaned directories: ./build, ./dist, ./debugging, ./serve, ./testing.\r\n[15:14:53] Finished 'clean' after 3.32 s\r\n[15:14:57] Finished 'lint' after 6.8 s\r\n[15:14:57] 'bootstrap-buildsystem' errored after 5.65 s\r\n[15:14:57] Error: tools/buildsystem/src/tasks/build/copy-assets.ts(20,17): error TS2345: Argument of type '{ overwrite: boolean; }' is not assignable to parameter of type 'DestOptions'.\r\n  Object literal may only specify known properties, and 'overwrite' does not exist in type 'DestOptions'.\r\ntools/buildsystem/src/tasks/build/copy-package-file.ts(23,17): error TS2345: Argument of type '{ overwrite: boolean; }' is not assignable to parameter of type 'DestOptions'.\r\n  Object literal may only specify known properties, and 'overwrite' does not exist in type 'DestOptions'.\r\ntools/buildsystem/src/tasks/build/replace-debug.ts(24,17): error TS2345: Argument of type '{ overwrite: boolean; }' is not assignable to parameter of type 'DestOptions'.\r\n  Object literal may only specify known properties, and 'overwrite' does not exist in type 'DestOptions'.\r\ntools/buildsystem/src/tasks/build/replace-sp-http-version.ts(30,17): error TS2345: Argument of type '{ overwrite: boolean; }' is not assignable to parameter of type 'DestOptions'.\r\n  Object literal may only specify known properties, and 'overwrite' does not exist in type 'DestOptions'.\r\ntools/buildsystem/src/tasks/package/banner.ts(43,17): error TS2345: Argument of type '{ cwd: string; overwrite: boolean; }' is not assignable to parameter of type 'DestOptions'.\r\n  Object literal may only specify known properties, and 'overwrite' does not exist in type 'DestOptions'.\r\ntools/buildsystem/src/tasks/package/copy-assets.ts(20,17): error TS2345: Argument of type '{ overwrite: boolean; }' is not assignable to parameter of type 'DestOptions'.\r\n  Object literal may only specify known properties, and 'overwrite' does not exist in type 'DestOptions'.\r\ntools/buildsystem/src/tasks/package/copy-src.ts(21,17): error TS2345: Argument of type '{ overwrite: boolean; }' is not assignable to parameter of type 'DestOptions'.\r\n  Object literal may only specify known properties, and 'overwrite' does not exist in type 'DestOptions'.\r\n\r\n    at formatError (C:\\Users\\xx\\AppData\\Roaming\\npm\\node_modules\\gulp-cli\\lib\\versioned\\^3.7.0\\format-error.js:20:10)\r\n    at Gulp.<anonymous> (C:\\Users\\xx\\AppData\\Roaming\\npm\\node_modules\\gulp-cli\\lib\\versioned\\^3.7.0\\log\\events.js:41:15)\r\n    at emitOne (events.js:116:13)\r\n    at Gulp.emit (events.js:211:7)\r\n    at Gulp.Orchestrator._emitTaskDone (C:\\p\\pnpjs\\node_modules\\orchestrator\\index.js:264:8)\r\n    at C:\\p\\pnpjs\\node_modules\\orchestrator\\index.js:275:23\r\n    at finish (C:\\p\\pnpjs\\node_modules\\orchestrator\\lib\\runTask.js:21:8)\r\n    at cb (C:\\p\\pnpjs\\node_modules\\orchestrator\\lib\\runTask.js:29:3)\r\n    at exec (C:\\p\\pnpjs\\tools\\gulptasks\\build.js:37:13)\r\n    at ChildProcess.exithandler (child_process.js:282:5)\r\n```\r\n\r\n### Additional\r\n- I am using windows  7 enterprise\r\n- I have python 2.7.13 installed"},"comment":{"url":"https://api.github.com/repos/pnp/pnpjs/issues/comments/395209127","html_url":"https://github.com/pnp/pnpjs/issues/115#issuecomment-395209127","issue_url":"https://api.github.com/repos/pnp/pnpjs/issues/115","id":395209127,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTIwOTEyNw==","user":{"login":"tavikukko","id":2223355,"node_id":"MDQ6VXNlcjIyMjMzNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2223355?v=4","gravatar_id":"","url":"https://api.github.com/users/tavikukko","html_url":"https://github.com/tavikukko","followers_url":"https://api.github.com/users/tavikukko/followers","following_url":"https://api.github.com/users/tavikukko/following{/other_user}","gists_url":"https://api.github.com/users/tavikukko/gists{/gist_id}","starred_url":"https://api.github.com/users/tavikukko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavikukko/subscriptions","organizations_url":"https://api.github.com/users/tavikukko/orgs","repos_url":"https://api.github.com/users/tavikukko/repos","events_url":"https://api.github.com/users/tavikukko/events{/privacy}","received_events_url":"https://api.github.com/users/tavikukko/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T20:50:05Z","updated_at":"2018-06-06T20:50:05Z","author_association":"NONE","body":"having similar problem with macOS\r\n$ node --version\r\nv9.10.1\r\nnpm --version\r\n6.1.0\r\n\r\n$ gulp build\r\n[23:40:14] Using gulpfile ~/development/pnpjs/gulpfile.js\r\n[23:40:14] Starting 'clean'...\r\n[23:40:14]   Cleaning directories: ./build, ./dist, ./debugging, ./serve, ./testing.\r\n[23:40:14] Starting 'lint'...\r\n[23:40:15] Starting 'bootstrap-buildsystem'...\r\n[23:40:15] Finished 'bootstrap-buildsystem' after 14 ms\r\n[23:40:15]   Cleaned directories: ./build, ./dist, ./debugging, ./serve, ./testing.\r\n[23:40:15] Finished 'clean' after 1.2 s\r\n[23:40:16] Finished 'lint' after 2.45 s\r\n[23:40:16] Starting 'build'...\r\n[23:40:16] 'build' errored after 398 μs\r\n[23:40:16] Error: Cannot find module '/Users/tomi/development/pnpjs/build/tools/buildsystem'\r\n    at Function.Module._resolveFilename (module.js:543:15)\r\n    at Function.Module._load (module.js:470:25)\r\n    at Module.require (module.js:593:17)\r\n    at require (internal/module.js:11:18)\r\n    at Gulp.gulp.task (/Users/tomi/development/pnpjs/tools/gulptasks/build.js:48:20)\r\n    at module.exports (/Users/tomi/development/pnpjs/node_modules/orchestrator/lib/runTask.js:34:7)\r\n    at Gulp.Orchestrator._runTask (/Users/tomi/development/pnpjs/node_modules/orchestrator/index.js:273:3)\r\n    at Gulp.Orchestrator._runStep (/Users/tomi/development/pnpjs/node_modules/orchestrator/index.js:214:10)\r\n    at /Users/tomi/development/pnpjs/node_modules/orchestrator/index.js:279:18\r\n    at finish (/Users/tomi/development/pnpjs/node_modules/orchestrator/lib/runTask.js:21:8)\r\n"}}
{"actor":{"display_login":"tavikukko"}}