{ "id": "169807", "key": "TIMOB-25304", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2018-11-16T15:29:49.000+0000", "created": "2017-09-16T20:40:23.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2018-11-16T15:59:52.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": "When running {{npm install}} inside build/, the following errors and warnings are occurring:\r\n{code}\r\nHans-Macbook-Pro:build hknoechel$ npm install\r\nnpm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.\r\nnpm WARN deprecated wrench@1.5.8: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.\r\ntitanium-mobile@7.0.0 /Users/hknoechel/Documents/titanium_mobile\r\n├─┬ appc-aar-tools@1.1.3 \r\n│ ├── fs-extra@1.0.0 \r\n│ └── xmldom@0.1.27 \r\n├─┬ appc-tasks@1.0.1 \r\n│ ├─┬ file-state-monitor@1.0.0 \r\n│ │ └─┬ fs-extra@4.0.2 \r\n│ │ └── jsonfile@4.0.0 \r\n│ └─┬ fs-extra@4.0.2 \r\n│ ├── jsonfile@4.0.0 \r\n│ └── universalify@0.1.1 \r\n├─┬ archiver@1.3.0 \r\n│ ├─┬ tar-stream@1.5.4 \r\n│ │ └── xtend@4.0.1 \r\n│ └── zip-stream@1.2.0 \r\n├── buffer-equal@1.0.0 \r\n├── clean-css@4.0.11 \r\n├── css-parse@2.0.0 \r\n├── ejs@2.5.6 \r\n├─┬ fields@0.1.24 \r\n│ └── colors@0.6.2 \r\n├─┬ grunt-appc-js@2.0.1 \r\n│ ├── UNMET PEER DEPENDENCY babel-eslint@7.x\r\n│ ├── UNMET PEER DEPENDENCY eslint@4.x\r\n│ ├── UNMET PEER DEPENDENCY eslint-plugin-jsx-a11y@6.x\r\n│ ├── UNMET PEER DEPENDENCY eslint-plugin-react@7.x\r\n│ └─┬ grunt-eslint@20.1.0 \r\n│ ├─┬ chalk@2.1.0 \r\n│ │ ├── ansi-styles@3.2.0 \r\n│ │ └── supports-color@4.4.0 \r\n│ └─┬ eslint@4.7.0 \r\n│ ├── ajv@5.2.2 \r\n│ ├─┬ concat-stream@1.6.0 \r\n│ │ └─┬ readable-stream@2.3.3 \r\n│ │ └── string_decoder@1.0.3 \r\n│ ├─┬ cross-spawn@5.1.0 \r\n│ │ └─┬ lru-cache@4.1.1 \r\n│ │ └── yallist@2.1.2 \r\n│ ├── debug@3.0.1 \r\n│ ├── doctrine@2.0.0 \r\n│ ├── espree@3.5.1 \r\n│ ├─┬ file-entry-cache@2.0.0 \r\n│ │ └─┬ flat-cache@1.2.2 \r\n│ │ └─┬ write@0.2.1 \r\n│ │ └── mkdirp@0.5.1 \r\n│ ├── glob@7.1.2 \r\n│ ├─┬ js-yaml@3.10.0 \r\n│ │ └── esprima@4.0.0 \r\n│ ├── mkdirp@0.5.1 \r\n│ ├── pluralize@7.0.0 \r\n│ └─┬ strip-ansi@4.0.0 \r\n│ └── ansi-regex@3.0.0 \r\n├─┬ grunt-clang-format@1.0.0 \r\n│ └── async@2.5.0 \r\n├── humanize@0.0.9 \r\n├─┬ ioslib@1.5.0 \r\n│ ├── async@2.5.0 \r\n│ ├── debug@2.6.8 \r\n│ ├── mkdirp@0.5.1 \r\n│ └─┬ node-ios-device@1.4.0\r\n│ ├─┬ node-pre-gyp@0.6.36 \r\n│ │ ├── mkdirp@0.5.1 \r\n│ │ └── rimraf@2.6.2 \r\n│ └─┬ node-pre-gyp-init@1.0.0 \r\n│ └─┬ node-pre-gyp@0.6.37 \r\n│ ├── mkdirp@0.5.1 \r\n│ ├── rimraf@2.6.2 \r\n│ └─┬ tape@4.8.0 \r\n│ ├── deep-equal@1.0.1 \r\n│ ├── defined@1.0.0 \r\n│ ├─┬ for-each@0.3.2 \r\n│ │ └── is-function@1.0.1 \r\n│ ├── glob@7.1.2 \r\n│ ├── minimist@1.2.0 \r\n│ ├── object-inspect@1.3.0 \r\n│ ├── resumer@0.0.0 \r\n│ └─┬ string.prototype.trim@1.1.2 \r\n│ ├─┬ define-properties@1.1.2 \r\n│ │ ├── foreach@2.0.5 \r\n│ │ └── object-keys@1.0.11 \r\n│ └─┬ es-abstract@1.8.2 \r\n│ ├─┬ es-to-primitive@1.1.1 \r\n│ │ ├── is-date-object@1.0.1 \r\n│ │ └── is-symbol@1.0.1 \r\n│ ├── function-bind@1.1.1 \r\n│ ├── is-callable@1.1.3 \r\n│ └── is-regex@1.0.4 \r\n├── lodash.defaultsdeep@4.6.0 \r\n├─┬ markdown@0.5.0 \r\n│ └── nopt@2.1.2 \r\n├── UNMET PEER DEPENDENCY error: ENOENT: no such file or directory, open '/Users/hknoechel/Documents/titanium_mobile/node_modules/mocha/package.json\r\n├── moment@2.18.1 \r\n├─┬ node-appc@0.2.43 \r\n│ └─┬ uglify-js@2.8.21 \r\n│ └── yargs@3.10.0 \r\n├─┬ node-titanium-sdk@0.4.3 \r\n│ └── async@2.5.0 \r\n├── pngjs@3.0.1 \r\n├─┬ windowslib@0.5.5 \r\n│ ├── async@1.5.2 \r\n│ ├── moment@2.11.2 \r\n│ ├── uuid@3.0.0 \r\n│ └── wrench@1.5.8 \r\n├── wrench@1.5.9 \r\n├─┬ xcode@0.9.2 \r\n│ ├─┬ simple-plist@0.1.4 \r\n│ │ ├── bplist-parser@0.0.6 \r\n│ │ └─┬ plist@1.2.0 \r\n│ │ └─┬ xmlbuilder@4.0.0 \r\n│ │ └── lodash@3.10.1 \r\n│ └── uuid@3.0.1 \r\n└── xmldom@0.1.22 \r\n\r\nnpm WARN enoent ENOENT: no such file or directory, open '/Users/hknoechel/Documents/titanium_mobile/node_modules/eslint/package.json'\r\nnpm WARN enoent ENOENT: no such file or directory, open '/Users/hknoechel/Documents/titanium_mobile/node_modules/node-pre-gyp/package.json'\r\nnpm WARN enoent ENOENT: no such file or directory, open '/Users/hknoechel/Documents/titanium_mobile/node_modules/mocha/package.json'\r\nnpm WARN enoent ENOENT: no such file or directory, open '/Users/hknoechel/Documents/titanium_mobile/node_modules/simple-plist/package.json'\r\nnpm WARN eslint-config-axway@2.0.1 requires a peer of babel-eslint@7.x but none was installed.\r\nnpm WARN eslint-config-axway@2.0.1 requires a peer of eslint@4.x but none was installed.\r\nnpm WARN eslint-config-axway@2.0.1 requires a peer of eslint-plugin-jsx-a11y@6.x but none was installed.\r\nnpm WARN eslint-config-axway@2.0.1 requires a peer of eslint-plugin-react@7.x but none was installed.\r\nnpm WARN eslint-plugin-import@2.7.0 requires a peer of eslint@2.x - 4.x but none was installed.\r\nnpm WARN eslint-plugin-mocha@4.11.0 requires a peer of eslint@^2.0.0 || ^3.0.0 || ^4.0.0 but none was installed.\r\nnpm WARN grunt-mocha-test@0.13.2 requires a peer of mocha@>=1.20.0 but none was installed.\r\n{code}\r\nWhen trying to run it anyways, it fails:\r\n{code}\r\nHans-Macbook-Pro:build hknoechel$ node scons.js cleanbuild ios\r\nBuilding MobileSDK version 7.0.0, githash 7f81b9ee42\r\nGenerating parity report...\r\nGenerating JSCA...\r\n[INFO] Parsing YAML files in /Users/hknoechel/Documents/titanium_mobile/apidoc...\r\n[INFO] Parsing YAML files in /Users/hknoechel/Documents/titanium_mobile/apidoc...\r\n[INFO] Processing YAML data...\r\n[INFO] Processing YAML data...\r\n[INFO] Annotating JSCA-specific attributes...\r\n[INFO] Generating PARITY output...\r\nGenerated output at ../dist/parity.html\r\n[INFO] Generating JSCA output...\r\nGenerated output at /Users/hknoechel/Documents/titanium_mobile/dist/api.jsca\r\nZipping Mobile SDK...\r\nCleaning previous zipfile and tmp dir...\r\nWriting manifest.json\r\nPruning to production npm dependencies\r\n{ Error: Command failed: node bin/download-all.js\r\n/Users/hknoechel/Documents/titanium_mobile/dist/ziptmp/mobilesdk/osx/7.0.0/node_modules/node-ios-device/bin/download-all.js:26\r\nconst moduleName = pkgJson.binary.module_name;\r\n ^\r\n\r\nTypeError: Cannot read property 'module_name' of undefined\r\n at Object. (/Users/hknoechel/Documents/titanium_mobile/dist/ziptmp/mobilesdk/osx/7.0.0/node_modules/node-ios-device/bin/download-all.js:26:34)\r\n at Module._compile (module.js:570:32)\r\n at Object.Module._extensions..js (module.js:579:10)\r\n at Module.load (module.js:487:32)\r\n at tryModuleLoad (module.js:446:12)\r\n at Function.Module._load (module.js:438:3)\r\n at Module.runMain (module.js:604:10)\r\n at run (bootstrap_node.js:389:7)\r\n at startup (bootstrap_node.js:149:9)\r\n at bootstrap_node.js:502:3\r\n\r\n at ChildProcess.exithandler (child_process.js:198:12)\r\n at emitTwo (events.js:106:13)\r\n at ChildProcess.emit (events.js:191:7)\r\n at maybeClose (internal/child_process.js:920:16)\r\n at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)\r\n killed: false,\r\n code: 1,\r\n signal: null,\r\n cmd: 'node bin/download-all.js' }\r\n{code}", "attachment": [], "flagged": false, "summary": "Scons: Errors and warnings when running npm install", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "443692", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "This is now invalid as there is no package.json inside the build folder, it's top-level, and as far as I know we're working fine now...", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2018-11-16T15:29:49.000+0000", "updated": "2018-11-16T15:29:49.000+0000" }, { "id": "443694", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks Chris! We'll also test it and let you know if errors occur. Otherwise we should be good here.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-16T15:59:52.000+0000", "updated": "2018-11-16T15:59:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }