Created
October 28, 2016 03:39
-
-
Save mercmobily/78fc350fcc1c2eecd3a3668666f84826 to your computer and use it in GitHub Desktop.
Trying to rebuild the npm installed polymer-build and... failing too!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm run-script prepublish | |
> polymer-build@0.4.1 prepublish /disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build | |
> gulp build-all && gulp test | |
[11:36:54] Using gulpfile /disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/gulpfile.js | |
[11:36:54] Starting 'build-all'... | |
[11:36:54] Starting 'clean'... | |
[11:36:54] Finished 'clean' after 6 ms | |
[11:36:54] Starting 'init'... | |
[11:37:07] Finished 'init' after 13 s | |
[11:37:07] Starting 'tslint'... | |
[11:37:07] Starting 'eslint'... | |
[11:37:07] Starting 'depcheck'... | |
[11:37:09] Finished 'depcheck' after 2.55 s | |
[11:37:09] Finished 'eslint' after 2.88 s | |
[11:37:09] Finished 'tslint' after 2.91 s | |
[11:37:09] Starting 'lint'... | |
[11:37:09] Finished 'lint' after 8.79 μs | |
[11:37:09] Starting 'build'... | |
/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/dom5/dom5.d.ts(13,77): error TS1110: Type expected. | |
/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/dom5/dom5.d.ts(52,76): error TS1110: Type expected. | |
/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/dom5/dom5.d.ts(83,73): error TS1110: Type expected. | |
/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/dom5/dom5.d.ts(116,21): error TS1110: Type expected. | |
src/analyzer.ts(31,20): error TS4033: Property 'depsToFragments' of exported interface has or is using private name 'Map'. | |
src/analyzer.ts(34,19): error TS4033: Property 'fragmentToDeps' of exported interface has or is using private name 'Map'. | |
src/analyzer.ts(36,23): error TS4033: Property 'fragmentToFullDeps' of exported interface has or is using private name 'Map'. | |
src/analyzer.ts(56,26): error TS4031: Public property 'allFragmentsToAnalyze' of exported class has or is using private name 'Set'. | |
src/analyzer.ts(59,24): error TS4031: Public property 'analyzeDependencies' of exported class has or is using private name 'Promise'. | |
src/analyzer.ts(189,34): error TS4055: Return type of public method from exported class has or is using private name 'Promise'. | |
src/bundle.ts(107,20): error TS4055: Return type of public method from exported class has or is using private name 'Promise'. | |
src/bundle.ts(107,28): error TS4055: Return type of public method from exported class has or is using private name 'Map'. | |
src/bundle.ts(171,37): error TS4073: Parameter 'bundles' of public method from exported class has or is using private name 'Map'. | |
src/bundle.ts(219,48): error TS4055: Return type of public method from exported class has or is using private name 'Promise'. | |
src/get-dependencies-from-document.ts(20,13): error TS4033: Property 'imports' of exported interface has or is using private name 'Array'. | |
src/get-dependencies-from-document.ts(21,13): error TS4033: Property 'scripts' of exported interface has or is using private name 'Array'. | |
src/get-dependencies-from-document.ts(22,12): error TS4033: Property 'styles' of exported interface has or is using private name 'Array'. | |
src/polymer-project.ts(255,10): error TS4031: Public property 'parts' of exported class has or is using private name 'Map'. | |
src/service-worker.ts(61,74): error TS4060: Return type of exported function has or is using private name 'Promise'. | |
src/service-worker.ts(112,69): error TS4060: Return type of exported function has or is using private name 'Promise'. | |
src/streams.ts(22,57): error TS4060: Return type of exported function has or is using private name 'Promise'. | |
src/streams.ts(32,63): error TS4060: Return type of exported function has or is using private name 'Promise'. | |
[11:37:10] TypeScript: 4 syntax errors | |
[11:37:10] TypeScript: 18 emit errors | |
[11:37:10] TypeScript: emit failed | |
[11:37:10] Finished 'build' after 1.03 s | |
[11:37:10] Finished 'build-all' after 17 s | |
[11:37:12] Using gulpfile /disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/gulpfile.js | |
[11:37:12] Starting 'build'... | |
/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/dom5/dom5.d.ts(13,77): error TS1110: Type expected. | |
/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/dom5/dom5.d.ts(52,76): error TS1110: Type expected. | |
/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/dom5/dom5.d.ts(83,73): error TS1110: Type expected. | |
/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/dom5/dom5.d.ts(116,21): error TS1110: Type expected. | |
src/analyzer.ts(31,20): error TS4033: Property 'depsToFragments' of exported interface has or is using private name 'Map'. | |
src/analyzer.ts(34,19): error TS4033: Property 'fragmentToDeps' of exported interface has or is using private name 'Map'. | |
src/analyzer.ts(36,23): error TS4033: Property 'fragmentToFullDeps' of exported interface has or is using private name 'Map'. | |
src/analyzer.ts(56,26): error TS4031: Public property 'allFragmentsToAnalyze' of exported class has or is using private name 'Set'. | |
src/analyzer.ts(59,24): error TS4031: Public property 'analyzeDependencies' of exported class has or is using private name 'Promise'. | |
src/analyzer.ts(189,34): error TS4055: Return type of public method from exported class has or is using private name 'Promise'. | |
src/bundle.ts(107,20): error TS4055: Return type of public method from exported class has or is using private name 'Promise'. | |
src/bundle.ts(107,28): error TS4055: Return type of public method from exported class has or is using private name 'Map'. | |
src/bundle.ts(171,37): error TS4073: Parameter 'bundles' of public method from exported class has or is using private name 'Map'. | |
src/bundle.ts(219,48): error TS4055: Return type of public method from exported class has or is using private name 'Promise'. | |
src/get-dependencies-from-document.ts(20,13): error TS4033: Property 'imports' of exported interface has or is using private name 'Array'. | |
src/get-dependencies-from-document.ts(21,13): error TS4033: Property 'scripts' of exported interface has or is using private name 'Array'. | |
src/get-dependencies-from-document.ts(22,12): error TS4033: Property 'styles' of exported interface has or is using private name 'Array'. | |
src/polymer-project.ts(255,10): error TS4031: Public property 'parts' of exported class has or is using private name 'Map'. | |
src/service-worker.ts(61,74): error TS4060: Return type of exported function has or is using private name 'Promise'. | |
src/service-worker.ts(112,69): error TS4060: Return type of exported function has or is using private name 'Promise'. | |
src/streams.ts(22,57): error TS4060: Return type of exported function has or is using private name 'Promise'. | |
src/streams.ts(32,63): error TS4060: Return type of exported function has or is using private name 'Promise'. | |
[11:37:13] TypeScript: 4 syntax errors | |
[11:37:13] TypeScript: 18 emit errors | |
[11:37:13] TypeScript: emit failed | |
[11:37:13] Finished 'build' after 1.12 s | |
[11:37:13] Starting 'test'... | |
[11:37:13] 'test' errored after 41 ms | |
[11:37:13] Error in plugin 'gulp-mocha' | |
Message: | |
Cannot find module '../lib/analyzer' | |
Details: | |
code: MODULE_NOT_FOUND | |
Stack: | |
Error: Cannot find module '../lib/analyzer' | |
at Function.Module._resolveFilename (module.js:325:15) | |
at Function.Module._load (module.js:276:25) | |
at Module.require (module.js:353:17) | |
at require (internal/module.js:12:17) | |
at Object.<anonymous> (/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/test/analyzer_test.js:15:24) | |
at Module._compile (module.js:409:26) | |
at Object.Module._extensions..js (module.js:416:10) | |
at Module.load (module.js:343:32) | |
at Function.Module._load (module.js:300:12) | |
at Module.require (module.js:353:17) | |
at require (internal/module.js:12:17) | |
npm ERR! Linux 4.4.0-45-generic | |
npm ERR! argv "/disk/local/bin/node" "/usr/local/bin/npm" "run-script" "prepublish" | |
npm ERR! node v4.4.4 | |
npm ERR! npm v2.15.1 | |
npm ERR! code ELIFECYCLE | |
npm ERR! polymer-build@0.4.1 prepublish: `gulp build-all && gulp test` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the polymer-build@0.4.1 prepublish script 'gulp build-all && gulp test'. | |
npm ERR! This is most likely a problem with the polymer-build package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! gulp build-all && gulp test | |
npm ERR! You can get information on how to open an issue for this project with: | |
npm ERR! npm bugs polymer-build | |
npm ERR! Or if that isn't available, you can get their info via: | |
npm ERR! | |
npm ERR! npm owner ls polymer-build | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/npm-debug.log | |
root@mercs-thinkpad /usr/local/lib/node_modules/polymer-cli/node_modules/polymer-build # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment