Closed DINHDUY closed 8 years ago
Did you install the typings?
Yes typings --version Print the CLI version
typings@1.0.4
@PWKad Do you know what the issue could be here? @cmichaelgraham
typings install
└── (No dependencies)
typings\index.d.ts <= is empty
It's the aurelia-skeleton-typescript-webpack and I am following the steps in README.md
Oh. I thought this was a Visual Studio thing. Ok. @Vheissu Any ideas on this?
Same errors with Visual Studio template :-)
Severity Code Description Project File Line Suppression State
Error TS2307 Build: Cannot find module 'aurelia-router'. skeleton-navigation-typescript-vs C:\SourceCode\Sapphire\All\Web2\src\skeleton-navigation-typescript-vs\src\app.ts 1
Error TS2307 Build: Cannot find module 'aurelia-framework'. skeleton-navigation-typescript-vs C:\SourceCode\Sapphire\All\Web2\src\skeleton-navigation-typescript-vs\src\blur-image.ts 1
Error TS2307 Build: Cannot find module 'aurelia-router'. skeleton-navigation-typescript-vs C:\SourceCode\Sapphire\All\Web2\src\skeleton-navigation-typescript-vs\src\child-router.ts 1
Error TS2307 Build: Cannot find module 'aurelia-framework'. skeleton-navigation-typescript-vs C:\SourceCode\Sapphire\All\Web2\src\skeleton-navigation-typescript-vs\src\main.ts 2
Error TS2307 Build: Cannot find module 'aurelia-framework'. skeleton-navigation-typescript-vs C:\SourceCode\Sapphire\All\Web2\src\skeleton-navigation-typescript-vs\src\users.ts 1
Error TS2307 Build: Cannot find module 'aurelia-fetch-client'. skeleton-navigation-typescript-vs C:\SourceCode\Sapphire\All\Web2\src\skeleton-navigation-typescript-vs\src\users.ts 2
Error TS2307 Build: Cannot find module 'aurelia-pal-browser'. skeleton-navigation-typescript-vs C:\SourceCode\Sapphire\All\Web2\src\skeleton-navigation-typescript-vs\test\unit\setup.ts 2
Error TS2307 Build: Cannot find module 'aurelia-fetch-client'. skeleton-navigation-typescript-vs C:\SourceCode\Sapphire\All\Web2\src\skeleton-navigation-typescript-vs\test\unit\users.spec.ts 2
What editor are you using? Or better yet what are your steps to reproduce, just clone, npm install, jspm install, and npm run build
?
Steps: 1) clone 2) npm install 3) jspm install -y 4) npm run build
Full log:
C:\skeleton-typescript-webpack>node --version v4.4.0
C:\skeleton-typescript-webpack>npm --version 3.8.8
C:\skeleton-typescript-webpack>jspm --version 0.16.34 Running against global jspm install.
C:\skeleton-typescript-webpack>npm install
aurelia-skeleton-navigation-webpack@1.0.0-beta.1.2.5 C:\skeleton-typescript-webpack
+-- aurelia-bootstrapper-webpack@0.1.0
| +-- aurelia-loader-webpack@0.1.2
| -- aurelia-pal@1.0.0-beta.1.2.2 +-- aurelia-event-aggregator@1.0.0-beta.1.2.1 |
-- aurelia-logging@1.0.0-beta.1.2.1
+-- aurelia-fetch-client@1.0.0-beta.1.2.5
+-- aurelia-framework@1.0.0-beta.1.2.5
| +-- aurelia-binding@1.0.0-beta.1.3.6
| +-- aurelia-dependency-injection@1.0.0-beta.1.2.3
| +-- aurelia-loader@1.0.0-beta.1.2.0
| +-- aurelia-metadata@1.0.0-beta.1.2.1
| +-- aurelia-path@1.0.0-beta.1.2.2
| +-- aurelia-task-queue@1.0.0-beta.1.2.1
| -- aurelia-templating@1.0.0-beta.1.2.7 +-- aurelia-history-browser@1.0.0-beta.1.2.1 |
-- aurelia-history@1.0.0-beta.1.2.1
+-- aurelia-loader-webpack@1.0.0-beta.1.0.2
+-- aurelia-logging-console@1.0.0-beta.1.2.1
+-- aurelia-pal-browser@1.0.0-beta.1.2.1
+-- aurelia-polyfills@1.0.0-beta.1.1.4
+-- aurelia-route-recognizer@1.0.0-beta.1.2.1
+-- aurelia-router@1.0.0-beta.1.2.3
+-- aurelia-templating-binding@1.0.0-beta.1.2.4
+-- aurelia-templating-resources@1.0.0-beta.1.2.6
+-- aurelia-templating-router@1.0.0-beta.1.2.1
+-- aurelia-tools@0.1.22
| +-- breeze-dag@0.1.0
| | +-- breeze-queue@0.1.0
| | | -- breeze-nexttick@0.2.1 | |
-- gaia-tsort@0.1.0
| -- through2@2.0.1 |
-- readable-stream@2.0.6
| +-- core-util-is@1.0.2
| +-- isarray@1.0.0
| +-- process-nextick-args@1.0.7
| -- util-deprecate@1.0.2 +-- aurelia-webpack-plugin@1.0.0-beta.1.0.4 | +-- object.assign@4.0.3 | | +-- define-properties@1.1.2 | | |
-- foreach@2.0.5
| | +-- function-bind@1.1.0
| | -- object-keys@1.0.9 |
-- recursive-readdir@1.3.0
| -- minimatch@0.3.0 | +-- lru-cache@2.7.3 |
-- sigmund@1.0.1
+-- bootstrap@3.3.6
+-- core-js@2.4.0
+-- css-loader@0.23.1
| +-- css-selector-tokenizer@0.5.4
| | +-- cssesc@0.1.0
| | -- fastparse@1.1.1 | +-- cssnano@3.6.2 | | +-- autoprefixer@6.3.6 | | | +-- browserslist@1.3.1 | | | +-- caniuse-db@1.0.30000466 | | | +-- normalize-range@0.1.2 | | |
-- num2fraction@1.2.2
| | +-- decamelize@1.2.0
| | +-- defined@1.0.0
| | +-- indexes-of@1.0.1
| | +-- postcss-calc@5.2.1
| | | +-- postcss-message-helpers@2.0.0
| | | -- reduce-css-calc@1.2.3 | | | +-- balanced-match@0.1.0 | | |
-- reduce-function-call@1.0.1
| | +-- postcss-colormin@2.2.0
| | | -- colormin@1.1.0 | | | +-- color@0.11.1 | | | | +-- color-convert@0.5.3 | | | |
-- color-string@0.3.0
| | | | -- color-name@1.1.1 | | |
-- css-color-names@0.0.3
| | +-- postcss-convert-values@2.3.4
| | +-- postcss-discard-comments@2.0.4
| | +-- postcss-discard-duplicates@2.0.1
| | +-- postcss-discard-empty@2.1.0
| | +-- postcss-discard-overridden@0.1.1
| | +-- postcss-discard-unused@2.2.1
| | | +-- flatten@1.0.2
| | | -- uniqs@2.0.0 | | +-- postcss-filter-plugins@2.0.0 | | |
-- uniqid@1.0.0
| | +-- postcss-merge-idents@2.1.6
| | | -- has-own@1.0.0 | | +-- postcss-merge-longhand@2.0.1 | | +-- postcss-merge-rules@2.0.9 | | +-- postcss-minify-font-values@1.0.5 | | +-- postcss-minify-gradients@1.0.2 | | +-- postcss-minify-params@1.0.4 | | |
-- alphanum-sort@1.0.2
| | +-- postcss-minify-selectors@2.0.5
| | | -- postcss-selector-parser@2.0.0 | | |
-- uniq@1.0.1
| | +-- postcss-normalize-charset@1.1.0
| | +-- postcss-normalize-url@3.0.7
| | | +-- is-absolute-url@2.0.0
| | | -- normalize-url@1.5.2 | | | +-- prepend-http@1.0.4 | | | +-- query-string@4.1.0 | | | |
-- strict-uri-encode@1.1.0
| | | -- sort-keys@1.1.2 | | |
-- is-plain-obj@1.1.0
| | +-- postcss-ordered-values@2.2.1
| | +-- postcss-reduce-idents@2.3.0
| | +-- postcss-reduce-transforms@1.0.3
| | +-- postcss-svgo@2.1.3
| | | +-- is-svg@2.0.1
| | | | -- html-comment-regex@1.1.0 | | |
-- svgo@0.6.6
| | | +-- coa@1.0.1
| | | +-- csso@2.0.0
| | | | -- clap@1.1.1 | | | +-- js-yaml@3.6.1 | | | +-- sax@1.2.1 | | |
-- whet.extend@0.9.9
| | +-- postcss-unique-selectors@2.0.2
| | +-- postcss-value-parser@3.3.0
| | -- postcss-zindex@2.1.1 | +-- loader-utils@0.2.15 | | +-- big.js@3.1.3 | | +-- emojis-list@2.0.1 | |
-- json5@0.5.0
| +-- lodash.camelcase@3.0.1
| | -- lodash._createcompounder@3.0.0 | | +-- lodash.deburr@3.2.0 | | |
-- lodash._root@3.0.1
| | -- lodash.words@3.2.0 | +-- object-assign@4.1.0 | +-- postcss@5.0.21 | |
-- js-base64@2.1.9
| +-- postcss-modules-extract-imports@1.0.1
| +-- postcss-modules-local-by-default@1.0.1
| +-- postcss-modules-scope@1.0.1
| +-- postcss-modules-values@1.1.3
| | -- icss-replace-symbols@1.0.2 |
-- source-list-map@0.1.6
+-- eslint@1.10.3
| +-- chalk@1.1.3
| | +-- ansi-styles@2.2.1
| | +-- has-ansi@2.0.0
| | -- supports-color@2.0.0 | +-- concat-stream@1.5.1 | | +-- inherits@2.0.1 | |
-- typedarray@0.0.6
| +-- debug@2.2.0
| | -- ms@0.7.1 | +-- doctrine@0.7.2 | | +-- esutils@1.1.6 | |
-- isarray@0.0.1
| +-- escape-string-regexp@1.0.5
| +-- escope@3.6.0
| | +-- es6-map@0.1.3
| | | +-- d@0.1.1
| | | +-- es5-ext@0.10.11
| | | +-- es6-iterator@2.0.0
| | | +-- es6-set@0.1.4
| | | +-- es6-symbol@3.0.2
| | | -- event-emitter@0.3.4 | | +-- es6-weak-map@2.0.1 | |
-- esrecurse@4.1.0
| | -- estraverse@4.1.1 | +-- espree@2.2.5 | +-- estraverse@4.2.0 | +-- estraverse-fb@1.3.1 | +-- esutils@2.0.2 | +-- file-entry-cache@1.2.4 | |
-- flat-cache@1.0.10
| | +-- del@2.2.0
| | | +-- globby@4.1.0
| | | | +-- array-union@1.0.1
| | | | | -- array-uniq@1.0.2 | | | |
-- glob@6.0.4
| | | | -- minimatch@3.0.0 | | | +-- is-path-cwd@1.0.0 | | | +-- is-path-in-cwd@1.0.0 | | | |
-- is-path-inside@1.0.0
| | | -- pify@2.3.0 | | +-- read-json-sync@1.1.1 | |
-- write@0.2.1
| +-- glob@5.0.15
| | +-- inflight@1.0.5
| | | -- wrappy@1.0.2 | | +-- minimatch@3.0.0 | |
-- once@1.3.3
| +-- globals@8.18.0
| +-- handlebars@4.0.5
| | -- source-map@0.4.4 | +-- inquirer@0.11.4 | | +-- ansi-escapes@1.4.0 | | +-- ansi-regex@2.0.0 | | +-- cli-cursor@1.0.2 | | |
-- restore-cursor@1.0.1
| | | +-- exit-hook@1.1.1
| | | -- onetime@1.1.0 | | +-- cli-width@1.1.1 | | +-- figures@1.7.0 | | +-- readline2@1.0.1 | | | +-- code-point-at@1.0.0 | | | |
-- number-is-nan@1.0.0
| | | +-- is-fullwidth-code-point@1.0.0
| | | -- mute-stream@0.0.5 | | +-- run-async@0.1.0 | | +-- rx-lite@3.1.2 | | +-- string-width@1.0.1 | |
-- through@2.3.8
| +-- is-my-json-valid@2.13.1
| | +-- generate-function@2.0.0
| | +-- generate-object-property@1.2.0
| | | -- is-property@1.0.2 | |
-- jsonpointer@2.0.0
| +-- is-resolvable@1.0.0
| | -- tryit@1.0.2 | +-- js-yaml@3.4.5 | | +-- argparse@1.0.7 | | |
-- sprintf-js@1.0.3
| | -- esprima@2.7.2 | +-- json-stable-stringify@1.0.1 | |
-- jsonify@0.0.0
| +-- lodash.clonedeep@3.0.2
| | +-- lodash._baseclone@3.3.0
| | | +-- lodash._baseassign@3.2.0
| | | -- lodash._basefor@3.0.3 | |
-- lodash._bindcallback@3.0.1
| +-- lodash.merge@3.3.2
| | +-- lodash._arraycopy@3.0.0
| | +-- lodash._arrayeach@3.0.0
| | +-- lodash._createassigner@3.1.1
| | | -- lodash._isiterateecall@3.0.9 | | +-- lodash._getnative@3.9.1 | | +-- lodash.isarguments@3.0.8 | | +-- lodash.isarray@3.0.4 | | +-- lodash.isplainobject@3.2.0 | | +-- lodash.istypedarray@3.0.6 | | +-- lodash.keys@3.1.2 | | +-- lodash.keysin@3.0.8 | |
-- lodash.toplainobject@3.0.0
| | -- lodash._basecopy@3.0.1 | +-- lodash.omit@3.1.0 | | +-- lodash._arraymap@3.0.0 | | +-- lodash._basedifference@3.0.3 | | | +-- lodash._baseindexof@3.1.0 | | | +-- lodash._cacheindexof@3.0.2 | | |
-- lodash._createcache@3.1.2
| | +-- lodash._baseflatten@3.1.4
| | +-- lodash._pickbyarray@3.0.2
| | +-- lodash._pickbycallback@3.0.0
| | -- lodash.restparam@3.6.1 | +-- minimatch@3.0.0 | |
-- brace-expansion@1.1.4
| | +-- balanced-match@0.4.1
| | -- concat-map@0.0.1 | +-- mkdirp@0.5.1 | |
-- minimist@0.0.8
| +-- optionator@0.6.0
| | +-- deep-is@0.1.3
| | +-- fast-levenshtein@1.0.7
| | +-- levn@0.2.5
| | +-- prelude-ls@1.1.2
| | +-- type-check@0.3.2
| | -- wordwrap@0.0.3 | +-- path-is-absolute@1.0.0 | +-- path-is-inside@1.0.1 | +-- shelljs@0.5.3 | +-- strip-json-comments@1.0.4 | +-- text-table@0.2.0 | +-- user-home@2.0.0 | |
-- os-homedir@1.0.1
| -- xml-escape@1.0.0 +-- file-loader@0.8.5 +-- font-awesome@4.6.1 +-- html-webpack-plugin@2.17.0 | +-- bluebird@3.4.0 | +-- html-minifier@2.1.3 | | +-- change-case@2.3.1 | | | +-- camel-case@1.2.2 | | | +-- constant-case@1.1.2 | | | +-- dot-case@1.1.2 | | | +-- is-lower-case@1.1.3 | | | +-- is-upper-case@1.1.2 | | | +-- lower-case@1.1.3 | | | +-- lower-case-first@1.0.2 | | | +-- param-case@1.1.2 | | | +-- pascal-case@1.1.2 | | | +-- path-case@1.1.2 | | | +-- sentence-case@1.1.3 | | | +-- snake-case@1.1.2 | | | +-- swap-case@1.1.2 | | | +-- title-case@1.1.2 | | | +-- upper-case@1.1.3 | | |
-- upper-case-first@1.1.2
| | +-- clean-css@3.4.12
| | | +-- commander@2.8.1
| | | -- source-map@0.4.4 | | +-- commander@2.9.0 | | |
-- graceful-readlink@1.0.1
| | +-- he@1.1.0
| | +-- ncname@1.0.0
| | | -- xml-char-classes@1.0.0 | |
-- relateurl@0.2.6
| +-- lodash@4.12.0
| +-- pretty-error@2.0.0
| | +-- renderkid@2.0.0
| | | +-- css-select@1.2.0
| | | | +-- boolbase@1.0.0
| | | | +-- css-what@2.1.0
| | | | +-- domutils@1.5.1
| | | | | -- dom-serializer@0.1.0 | | | | | +-- domelementtype@1.1.3 | | | | |
-- entities@1.1.1
| | | | -- nth-check@1.0.1 | | | +-- dom-converter@0.1.4 | | | |
-- utila@0.3.3
| | | +-- htmlparser2@3.3.0
| | | | +-- domelementtype@1.3.0
| | | | +-- domhandler@2.1.0
| | | | +-- domutils@1.1.6
| | | | -- readable-stream@1.0.34 | | | |
-- isarray@0.0.1
| | | -- utila@0.3.3 | |
-- utila@0.4.0
| -- toposort@0.2.12 +-- isomorphic-fetch@2.2.1 | +-- node-fetch@1.5.2 | | +-- encoding@0.1.12 | |
-- is-stream@1.1.0
| -- whatwg-fetch@1.0.0 +-- jasmine-core@2.4.1 +-- jquery@2.2.3 +-- karma@0.13.22 | +-- batch@0.5.3 | +-- bluebird@2.10.2 | +-- body-parser@1.15.1 | | +-- bytes@2.3.0 | | +-- content-type@1.0.2 | | +-- depd@1.1.0 | | +-- http-errors@1.4.0 | | |
-- statuses@1.3.0
| | +-- iconv-lite@0.4.13
| | +-- on-finished@2.3.0
| | | -- ee-first@1.1.1 | | +-- qs@6.1.0 | | +-- raw-body@2.1.6 | | |
-- unpipe@1.0.0
| | -- type-is@1.6.13 | |
-- media-typer@0.3.0
| +-- chokidar@1.5.0
| | +-- anymatch@1.3.0
| | | -- micromatch@2.3.8 | | | +-- arr-diff@2.0.0 | | | |
-- arr-flatten@1.0.1
| | | +-- braces@1.8.4
| | | | +-- expand-range@1.8.2
| | | | | -- fill-range@2.2.3 | | | | | +-- is-number@2.1.0 | | | | | +-- isobject@2.1.0 | | | | |
-- randomatic@1.1.5
| | | | +-- preserve@0.2.0
| | | | -- repeat-element@1.1.2 | | | +-- expand-brackets@0.1.5 | | | |
-- is-posix-bracket@0.1.1
| | | +-- extglob@0.3.2
| | | +-- filename-regex@2.0.0
| | | +-- kind-of@3.0.3
| | | | -- is-buffer@1.1.3 | | | +-- normalize-path@2.0.1 | | | +-- object.omit@2.0.0 | | | | +-- for-own@0.1.4 | | | | |
-- for-in@0.1.5
| | | | -- is-extendable@0.1.1 | | | +-- parse-glob@3.0.4 | | | | +-- glob-base@0.3.0 | | | |
-- is-dotfile@1.0.2
| | | -- regex-cache@0.4.3 | | | +-- is-equal-shallow@0.1.3 | | |
-- is-primitive@2.0.0
| | +-- async-each@1.0.0
| | +-- glob-parent@2.0.0
| | +-- is-binary-path@1.0.1
| | | -- binary-extensions@1.4.0 | | +-- is-glob@2.0.1 | | |
-- is-extglob@1.0.0
| | -- readdirp@2.0.0 | |
-- minimatch@2.0.10
| +-- colors@1.1.2
| +-- connect@3.4.1
| | +-- finalhandler@0.4.1
| | +-- parseurl@1.3.1
| | -- utils-merge@1.0.0 | +-- di@0.0.1 | +-- dom-serialize@2.2.1 | | +-- custom-event@1.0.0 | | +-- ent@2.2.0 | | +-- extend@3.0.0 | |
-- void-elements@2.0.1
| +-- expand-braces@0.1.2
| | +-- array-slice@0.2.3
| | +-- array-unique@0.2.1
| | -- braces@0.1.5 | |
-- expand-range@0.1.1
| | +-- is-number@0.1.1
| | -- repeat-string@0.2.2 | +-- glob@7.0.3 | +-- graceful-fs@4.1.4 | +-- http-proxy@1.13.3 | | +-- eventemitter3@1.2.0 | |
-- requires-port@1.0.0
| +-- isbinaryfile@3.0.0
| +-- lodash@3.10.1
| +-- log4js@0.6.36
| | +-- readable-stream@1.0.34
| | | -- isarray@0.0.1 | |
-- semver@4.3.6
| +-- mime@1.3.4
| +-- minimatch@3.0.0
| +-- optimist@0.6.1
| +-- rimraf@2.5.2
| | -- glob@7.0.3 | |
-- minimatch@3.0.0
| +-- socket.io@1.4.6
| | +-- engine.io@1.6.9
| | | +-- accepts@1.1.4
| | | | +-- mime-types@2.0.14
| | | | | -- mime-db@1.12.0 | | | |
-- negotiator@0.4.9
| | | +-- base64id@0.1.0
| | | -- engine.io-parser@1.2.4 | | | +-- after@0.8.1 | | | +-- arraybuffer.slice@0.0.6 | | | +-- base64-arraybuffer@0.1.2 | | | +-- blob@0.0.4 | | | +-- has-binary@0.1.6 | | | |
-- isarray@0.0.1
| | | -- utf8@2.1.0 | | +-- has-binary@0.1.7 | | |
-- isarray@0.0.1
| | +-- socket.io-adapter@0.4.0
| | | -- socket.io-parser@2.2.2 | | | +-- debug@0.7.4 | | | +-- isarray@0.0.1 | | |
-- json3@3.2.6
| | +-- socket.io-client@1.4.6
| | | +-- backo2@1.0.2
| | | +-- component-bind@1.0.0
| | | +-- component-emitter@1.2.0
| | | +-- engine.io-client@1.6.9
| | | | +-- component-inherit@0.0.3
| | | | +-- has-cors@1.1.0
| | | | +-- parsejson@0.0.1
| | | | +-- parseqs@0.0.2
| | | | +-- xmlhttprequest-ssl@1.5.1
| | | | -- yeast@0.1.2 | | | +-- indexof@0.0.1 | | | +-- object-component@0.0.3 | | | +-- parseuri@0.0.4 | | | |
-- better-assert@1.0.2
| | | | -- callsite@1.0.0 | | |
-- to-array@0.1.4
| | -- socket.io-parser@2.2.6 | | +-- benchmark@1.0.0 | | +-- component-emitter@1.1.2 | | +-- isarray@0.0.1 | |
-- json3@3.3.2
| +-- source-map@0.5.6
| -- useragent@2.1.9 |
-- lru-cache@2.2.4
+-- karma-chrome-launcher@0.2.3
| +-- fs-access@1.0.0
| | -- null-check@1.0.0 |
-- which@1.2.9
| -- isexe@1.1.2 +-- karma-jasmine@0.3.8 +-- karma-webpack@1.7.0 | +-- async@0.9.2 | +-- source-map@0.1.43 | |
-- amdefine@1.0.0
| -- webpack-dev-middleware@1.6.1 |
-- range-parser@1.1.0
+-- protractor@3.3.0
| +-- adm-zip@0.4.7
| +-- glob@6.0.4
| | -- minimatch@3.0.0 | +-- jasmine@2.4.1 | | +-- exit@0.1.2 | |
-- glob@3.2.11
| +-- jasminewd2@0.0.9
| +-- q@1.4.1
| +-- request@2.67.0
| | +-- aws-sign2@0.6.0
| | +-- bl@1.0.3
| | +-- caseless@0.11.0
| | +-- combined-stream@1.0.5
| | | -- delayed-stream@1.0.0 | | +-- forever-agent@0.6.1 | | +-- form-data@1.0.0-rc4 | | +-- har-validator@2.0.6 | | |
-- pinkie-promise@2.0.1
| | | -- pinkie@2.0.4 | | +-- hawk@3.1.3 | | | +-- boom@2.10.1 | | | +-- cryptiles@2.0.5 | | | +-- hoek@2.16.3 | | |
-- sntp@1.0.9
| | +-- http-signature@1.1.1
| | | +-- assert-plus@0.2.0
| | | +-- jsprim@1.2.2
| | | | +-- extsprintf@1.0.2
| | | | +-- json-schema@0.2.2
| | | | -- verror@1.3.6 | | |
-- sshpk@1.8.3
| | | +-- asn1@0.2.3
| | | +-- assert-plus@1.0.0
| | | +-- dashdash@1.13.1
| | | | -- assert-plus@1.0.0 | | | +-- ecc-jsbn@0.1.1 | | | +-- getpass@0.1.6 | | | |
-- assert-plus@1.0.0
| | | +-- jodid25519@1.0.2
| | | +-- jsbn@0.1.0
| | | -- tweetnacl@0.13.3 | | +-- is-typedarray@1.0.0 | | +-- isstream@0.1.2 | | +-- json-stringify-safe@5.0.1 | | +-- mime-types@2.1.11 | | |
-- mime-db@1.23.0
| | +-- node-uuid@1.4.7
| | +-- oauth-sign@0.8.2
| | +-- qs@5.2.0
| | +-- stringstream@0.0.5
| | +-- tough-cookie@2.2.2
| | -- tunnel-agent@0.4.3 | +-- saucelabs@1.0.1 | |
-- https-proxy-agent@1.0.0
| | -- agent-base@2.0.1 | |
-- semver@5.0.3
| +-- selenium-webdriver@2.52.0
| | +-- adm-zip@0.4.4
| | +-- tmp@0.0.24
| | +-- ws@1.0.1
| | | +-- options@0.0.6
| | | -- ultron@1.0.2 | |
-- xml2js@0.4.4
| | +-- sax@0.6.1
| | -- xmlbuilder@8.2.2 |
-- source-map-support@0.4.0
| -- source-map@0.1.32 +-- raw-loader@0.5.1 +-- style-loader@0.13.1 +-- ts-loader@0.8.2 | +-- arrify@1.0.1 | +-- enhanced-resolve@0.9.1 | |
-- memory-fs@0.2.0
| +-- object-assign@2.1.1
| -- semver@5.1.0 +-- ts-node@0.7.3 | +-- diff@2.2.2 | +-- make-error@1.1.1 | +-- minimist@1.2.0 |
-- xtend@4.0.1
+-- typescript@1.8.10
+-- url-loader@0.5.7
| -- mime@1.2.11 +-- wallaby-webpack@0.0.22 |
-- minimatch@2.0.1
+-- webpack@1.13.0
| +-- acorn@3.1.0
| +-- async@1.5.2
| +-- clone@1.0.2
| +-- interpret@0.6.6
| +-- memory-fs@0.3.0
| | -- errno@0.1.4 | |
-- prr@0.0.0
| +-- node-libs-browser@0.5.3
| | +-- assert@1.4.0
| | | -- buffer-shims@1.0.0 | | +-- browserify-zlib@0.1.4 | | |
-- pako@0.2.8
| | +-- buffer@3.6.0
| | | +-- base64-js@0.0.8
| | | -- ieee754@1.1.6 | | +-- console-browserify@1.1.0 | | |
-- date-now@0.1.4
| | +-- constants-browserify@0.0.1
| | +-- crypto-browserify@3.2.8
| | | +-- pbkdf2-compat@2.0.1
| | | +-- ripemd160@0.2.0
| | | -- sha.js@2.2.6 | | +-- domain-browser@1.1.7 | | +-- events@1.1.0 | | +-- http-browserify@1.7.0 | | |
-- Base64@0.2.1
| | +-- https-browserify@0.0.0
| | +-- os-browserify@0.1.2
| | +-- path-browserify@0.0.0
| | +-- process@0.11.3
| | +-- punycode@1.4.1
| | +-- querystring-es3@0.2.1
| | +-- readable-stream@1.1.14
| | | -- isarray@0.0.1 | | +-- stream-browserify@1.0.0 | | |
-- readable-stream@1.1.14
| | | -- isarray@0.0.1 | | +-- string_decoder@0.10.31 | | +-- timers-browserify@1.4.2 | | +-- tty-browserify@0.0.0 | | +-- url@0.10.3 | | | +-- punycode@1.3.2 | | |
-- querystring@0.2.0
| | +-- util@0.10.3
| | -- vm-browserify@0.0.4 | +-- supports-color@3.1.2 | |
-- has-flag@1.0.0
| +-- tapable@0.1.10
| +-- uglify-js@2.6.2
| | +-- async@0.2.10
| | +-- uglify-to-browserify@1.0.2
| | -- yargs@3.10.0 | | +-- camelcase@1.2.1 | | +-- cliui@2.1.0 | | | +-- center-align@0.1.3 | | | | +-- align-text@0.1.4 | | | | | +-- longest@1.0.1 | | | | |
-- repeat-string@1.5.4
| | | | -- lazy-cache@1.0.4 | | | +-- right-align@0.1.3 | | |
-- wordwrap@0.0.2
| | -- window-size@0.1.0 | +-- watchpack@0.2.9 | |
-- async@0.9.2
| -- webpack-core@0.6.8 |
-- source-map@0.4.4
-- webpack-dev-server@1.14.1 +-- compression@1.6.2 | +-- accepts@1.3.3 | |
-- negotiator@0.6.1
| +-- compressible@2.0.8
| +-- on-headers@1.0.1
| -- vary@1.1.0 +-- connect-history-api-fallback@1.1.0 +-- express@4.13.4 | +-- accepts@1.2.13 | |
-- negotiator@0.5.3
| +-- array-flatten@1.1.1
| +-- content-disposition@0.5.1
| +-- cookie@0.1.5
| +-- cookie-signature@1.0.6
| +-- escape-html@1.0.3
| +-- etag@1.7.0
| +-- fresh@0.3.0
| +-- merge-descriptors@1.0.1
| +-- methods@1.1.2
| +-- path-to-regexp@0.1.7
| +-- proxy-addr@1.0.10
| | +-- forwarded@0.1.0
| | -- ipaddr.js@1.0.5 | +-- qs@4.0.0 | +-- range-parser@1.0.3 | +-- send@0.13.1 | | +-- destroy@1.0.4 | | +-- http-errors@1.3.1 | | +-- range-parser@1.0.3 | |
-- statuses@1.2.1
| +-- serve-static@1.10.2
| -- vary@1.0.1 +-- serve-index@1.7.3 | +-- accepts@1.2.13 | |
-- negotiator@0.5.3
| -- http-errors@1.3.1 +-- sockjs@0.3.17 | +-- faye-websocket@0.10.0 | |
-- websocket-driver@0.6.4
| | -- websocket-extensions@0.1.1 |
-- uuid@2.0.2
+-- sockjs-client@1.1.0
| +-- eventsource@0.1.6
| | -- original@1.0.0 | |
-- url-parse@1.0.5
| +-- faye-websocket@0.11.0
| +-- json3@3.3.2
| -- url-parse@1.1.1 |
-- querystringify@0.0.3
+-- stream-cache@0.0.2
`-- strip-ansi@3.0.1
npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12
C:\skeleton-typescript-webpack>jspm install -y
warn Running jspm globally, it is advisable to locally install jspm via npm install jspm --save-dev. Would you like jspm to prefix the jspm package.json properties under jspm?:Yes Enter server baseURL (public folder path):./ Enter jspm packages folder:.\jspm_packages Enter config file path:.\config.js Configuration file config.js doesn't exist, create it?:Yes Enter client baseURL (public folder URL):/ Do you wish to use a transpiler?:Yes Which ES6 transpiler would you like to use, Babel, TypeScript or Traceur?:babel ok Install tree has no forks. Looking up loader files... system.src.js system-csp-production.js system.js.map system-csp-production.js.map system-polyfills.js system-polyfills.src.js system-polyfills.js.map system.js system-csp-production.src.js
Using loader versions:
systemjs@0.19.27
Looking up npm:babel-core
Looking up npm:babel-runtime
Looking up npm:core-js
Updating registry cache...
Downloading npm:core-js@1.2.6
Downloading npm:babel-core@5.8.38
Downloading npm:babel-runtime@5.8.38
Looking up github:jspm/nodelibs-process
ok Installed babel as npm:babel-core@^5.8.24 (5.8.38) Looking up npm:process ok Installed github:jspm/nodelibs-process@^0.1.0 (0.1.2) Downloading npm:process@0.11.3 ok Installed npm:process@^0.11.0 (0.11.3) Looking up github:jspm/nodelibs-assert Looking up npm:assert Looking up github:jspm/nodelibs-fs Looking up github:jspm/nodelibs-path Looking up github:systemjs/plugin-json ok Installed github:jspm/nodelibs-assert@^0.1.0 (0.1.0) Downloading npm:assert@1.4.0 Looking up npm:buffer-shims Looking up npm:util Downloading npm:buffer-shims@1.0.0 Downloading npm:util@0.10.3 Looking up npm:inherits Downloading npm:inherits@2.0.1 ok Installed npm:buffer-shims@1.0.0 (1.0.0) ok Installed npm:assert@^1.3.0 (1.4.0) Looking up github:jspm/nodelibs-buffer Looking up github:jspm/nodelibs-util ok Installed npm:inherits@2.0.1 (2.0.1) Looking up npm:path-browserify ok Installed github:jspm/nodelibs-path@^0.1.0 (0.1.0) ok Installed github:jspm/nodelibs-fs@^0.1.0 (0.1.2) ok Installed npm:util@0.10.3 (0.10.3) Downloading npm:path-browserify@0.0.0 ok Installed npm:path-browserify@0.0.0 (0.0.0) ok Installed github:jspm/nodelibs-util@^0.1.0 (0.1.0) Looking up npm:buffer ok Installed github:jspm/nodelibs-buffer@^0.1.0 (0.1.0) Downloading npm:buffer@3.6.0 Looking up npm:base64-js Looking up npm:ieee754 Looking up npm:isarray Downloading npm:base64-js@0.0.8 Downloading npm:ieee754@1.1.6 Downloading npm:isarray@1.0.0 ok Installed npm:base64-js@0.0.8 (0.0.8) ok Installed npm:isarray@^1.0.0 (1.0.0) ok Installed npm:ieee754@^1.1.4 (1.1.6) ok Installed npm:buffer@^3.0.1 (3.6.0) Looking up github:jspm/nodelibs-child_process Downloading github:systemjs/plugin-json@0.1.2 ok Installed github:systemjs/plugin-json@^0.1.0 (0.1.2) ok Installed github:jspm/nodelibs-child_process@^0.1.0 (0.1.0) ok Installed babel-runtime as npm:babel-runtime@^5.8.24 (5.8.38) ok Installed core-js as npm:core-js@^1.1.4 (1.2.6) ok Loader files downloaded successfully
ok Install complete.
C:\skeleton-typescript-webpack>npm run build
aurelia-skeleton-navigation-webpack@1.0.0-beta.1.2.5 build C:\skeleton-typescript-webpack webpack --config webpack.config.js --progress --profile
40% 1/2 build modulests-loader: Using typescript@1.8.10 and C:\skeleton-typescript-webpack\tsconfig.json 5308ms build modules 7ms seal 16ms optimize 6ms hashing 25ms create chunk assets 1ms additional chunk assets 1ms optimize chunk assets 673ms optimize assets 24ms emit Hash: 615936dabf3b382e694c Version: webpack 1.13.0 Time: 6074ms Asset Size Chunks Chunk Names 926c93d201fe51c8f351e858468980c3.woff2 70.7 kB [emitted] f4769f9bdb7466be65088239c12046d1.eot 20.1 kB [emitted] fa2772327f55d8198301fdb8bcfc8158.woff 23.4 kB [emitted] e18bbf611f2a2e43afc071aa2f4e1512.ttf 45.4 kB [emitted] 89889688147bd7575d6327160d64e760.svg 109 kB [emitted] 404a525502f8e5ba7e93b9f02d9e83a9.eot 75.2 kB [emitted] 448c34a56d699c29117adc64c43affeb.woff2 18 kB [emitted] 891e3f340c1126b4c7c142e5f6e86816.woff 89.1 kB [emitted] fb650aaf10736ffb9c4173079616bf01.ttf 151 kB [emitted] bae4a87c1e5dff40baa3f49d52f5347a.svg 386 kB [emitted] bundle.js 619 kB 0 [emitted] main 1.bundle.js 617 kB 1 [emitted] [0] multi main 28 bytes {0} [built] factory:0ms building:2ms = 2ms [10] ./src ^.\/.*$ 4.33 kB {1} [optional] [built] ... -> factory:8ms building:251ms dependencies:60ms
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (1,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/angular-protractor/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (2,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-binding/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (3,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-bootstrapper-webpack/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (4,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-dependency-injection/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (5,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-event-aggregator/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (6,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-fetch-client/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (7,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-framework/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (8,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-history-browser/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (9,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-history/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (10,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-loader-webpack/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (11,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-loader/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (12,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-logging-console/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (13,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-logging/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (14,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-metadata/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (15,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-pal-browser/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (16,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-pal/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (17,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-path/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (18,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-polyfills/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (19,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-route-recognizer/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (20,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-router/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (21,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-task-queue/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (22,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-templating-binding/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (23,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-templating-resources/index.d.ts' not found
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (24,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-templating-router/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (25,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/aurelia-templating/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (28,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/jasmine/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\typings\browser.d.ts (29,1): error TS6053: File 'C:/skeleton-typescript-webpack/typings/browser/ambient/selenium-webdriver/index.d.ts' not found.
ERROR in C:\skeleton-typescript-webpack\custom_typings\aurelia-protractor.d.ts (9,41): error TS2305: Module 'protractor' has no exported member 'Protractor'.
ERROR in C:\skeleton-typescript-webpack\custom_typings\aurelia-protractor.d.ts (10,56): error TS2305: Module 'protractor' has no exported member 'Protractor'.
ERROR in C:\skeleton-typescript-webpack\custom_typings\aurelia-protractor.d.ts (15,36): error TS2503: Cannot find namespace 'webdriver'.
ERROR in C:\skeleton-typescript-webpack\test\unit\users.spec.ts (1,26): error TS2307: Cannot find module 'aurelia-fetch-client'.
ERROR in C:\skeleton-typescript-webpack\test\unit\users.spec.ts (22,1): error TS2304: Cannot find name 'describe'.
ERROR in C:\skeleton-typescript-webpack\test\unit\users.spec.ts (23,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\users.spec.ts (31,7): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\users.spec.ts (32,7): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\setup.ts (2,26): error TS2307: Cannot find module 'aurelia-pal-browser'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (16,1): error TS2304: Cannot find name 'describe'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (20,3): error TS2304: Cannot find name 'beforeEach'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (26,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (27,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (30,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (31,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (34,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (35,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (38,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (39,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (42,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\child-router.spec.ts (43,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (16,1): error TS2304: Cannot find name 'describe'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (20,3): error TS2304: Cannot find name 'beforeEach'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (26,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (27,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (30,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (31,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (34,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (35,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (38,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (39,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (42,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\unit\app.spec.ts (43,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (3,12): error TS2304: Cannot find name 'element'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (3,20): error TS2304: Cannot find name 'by'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (7,21): error TS2304: Cannot find name 'element'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (7,29): error TS2304: Cannot find name 'by'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (12,20): error TS2304: Cannot find name 'element'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (12,28): error TS2304: Cannot find name 'by'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (17,12): error TS2304: Cannot find name 'element'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (17,20): error TS2304: Cannot find name 'by'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (21,12): error TS2304: Cannot find name 'element'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (21,20): error TS2304: Cannot find name 'by'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (25,12): error TS2304: Cannot find name 'browser'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\welcome.po.ts (28,14): error TS2304: Cannot find name 'browser'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\skeleton.po.ts (8,12): error TS2304: Cannot find name 'browser'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\skeleton.po.ts (12,5): error TS2304: Cannot find name 'element'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\skeleton.po.ts (12,13): error TS2304: Cannot find name 'by'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\skeleton.po.ts (13,12): error TS2304: Cannot find name 'browser'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (4,1): error TS2304: Cannot find name 'describe'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (8,3): error TS2304: Cannot find name 'beforeEach'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (12,5): error TS2304: Cannot find name 'browser'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (15,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (16,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (19,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (20,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (23,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (29,5): error TS2304: Cannot find name 'browser'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (30,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (33,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (34,5): error TS2304: Cannot find name 'expect'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (37,3): error TS2304: Cannot find name 'it'.
ERROR in C:\skeleton-typescript-webpack\test\e2e\src\demo.spec.ts (39,5): error TS2304: Cannot find name 'expect'.
ERROR in ./src/users.ts (1,22): error TS2307: Cannot find module 'aurelia-framework'.
ERROR in ./src/users.ts (2,26): error TS2307: Cannot find module 'aurelia-fetch-client'.
ERROR in ./src/main.ts (1,23): error TS2307: Cannot find module 'aurelia-framework'.
ERROR in ./src/main.ts (2,25): error TS2307: Cannot find module 'aurelia-bootstrapper-webpack'.
ERROR in ./src/child-router.ts (2,43): error TS2307: Cannot find module 'aurelia-router'.
ERROR in ./src/blur-image.ts (1,22): error TS2307: Cannot find module 'aurelia-framework'.
ERROR in ./src/app.ts (1,23): error TS2307: Cannot find module 'aurelia-framework'.
ERROR in ./src/app.ts (2,43): error TS2307: Cannot find module 'aurelia-router'.
C:\skeleton-typescript-webpack>
Not sure how this ever worked then. I tried switching some of the tsconfig.json
glob / exclude settings but just get more errors. Probably need someone that's actually used this version of the skeleton to comment on what could have changed.
If you remove node_modules
from excludes it builds.
"exclude": [
"typings/main",
"typings/main.d.ts"
],
Just guessing.. You tell TS to ignore node_modules but have the .d.ts files in node_modules.. :smile:
edit: it even runs :smile:
@Thanood: It does not work, in fact getting more errors than before.
Strange, it worked for me. I see, I used an older version of the skeleton to try it (1.0.0-beta.1.2.2). I'll try it with the most recent version but that may take some time.
@Thanood That's exactly what I thought too but I also got more errors.
Apparently, typings are not installed. Now I'm really no expert on this but the typings package seems to have some breaking changes in 1.0 which has been released 3 days ago. https://github.com/typings/typings/releases/tag/v1.0.0
ambient
is mentioned and all entries in typings.json
are ambient dependencies.
Maybe this helps.
Just followed their description on how to upgrade to v1: https://github.com/typings/typings
rm -rf typings/
ambientDependencies
to globalDependencies
in typings.json
Now there's only one error:
ERROR in ./src/main.ts
Module build failed: A file specified in tsconfig.json could not be found: C:\Users\danielb\Documents\Entwicklung\js\aurelia\skeleton-navigation-1.0.0-beta.1.2.5\skeleton-typescript-webpack\typings\browser.d.ts
Copied over browser.d.ts
back from the zip I've downloaded earlier. of course there are all ambient
dependencies. Trying now to change these to global
.
That's it. Thanks a lot Thanood.
Well, some things are still missing for me (like Promise
) but I guess we're on the right track here. :smile:
Unfortunately, I'll have to leave for now.
Thanood, I'm not sure I understand what you're describing with the browser.d.ts
fix.
I'm having the same issue building and am not sure how to move forward.
@fedoranimus typings
apparently renamed ambient
to global
.
browser.d.ts
is full of ambient
dependencies. I just (literally) renamed all ambient
occurrences to global
in that file.
Can you pr fixes?
If this works for everyone, sure. It didn't completely work for me so I'm not sure. I'd like to have another try. I guess I can do it on Monday the latest.
I guess this could also be an issue with the other TS skeletons.
There it is: https://github.com/aurelia/skeleton-navigation/pull/443 :smile:
Just adding to the conversation here, the typescript webpack skeleton has not been working out-of-the-box for at least two months. Should i create a new issue?
Just tested right now, fresh from the skeleton, npm install, typings install (version 1.0.4), ended up with tons of TS2300 and TS2307 errors. Here's what i did:
Opened using Atom-Typescript to automatically generate all the files entry in tsconfig.json
"filesGlob": [
"./src/**/*.ts",
"./custom_typings/**/*.d.ts",
"./test/**/*.ts",
"./typings/browser.d.ts"
],
"exclude": [
"node_modules",
"typings/main",
"typings/main.d.ts"
],
"removedFromFilesGlobBecauseDuplicateErrors": [
"./node_modules/aurelia-*/dist/aurelia-*.d.ts"
],
"atom": {
"rewriteTsconfig": true
},
"files": [
"./src/app.ts",
"./src/blur-image.ts",
"./src/child-router.ts",
"./src/main.ts",
"./src/users.ts",
"./src/welcome.ts",
"./custom_typings/aurelia-protractor.d.ts",
"./test/e2e/src/demo.spec.ts",
"./test/e2e/src/skeleton.po.ts",
"./test/e2e/src/welcome.po.ts",
"./test/unit/app.spec.ts",
"./test/unit/child-router.spec.ts",
"./test/unit/setup.ts",
"./test/unit/users.spec.ts",
"./typings/browser.d.ts"
]
/// <reference path="globals/angular-protractor/index.d.ts" />
/// <reference path="globals/aurelia-binding/index.d.ts" />
@tsbignoob some of the typings stuff has been discussed before - https://github.com/aurelia/skeleton-navigation/issues/419
Perhaps now is a good time to clean this all up along with fixing the ambient -> global change.
[REMOVE] Some more info: the acorn.js warning in the screenshot is definitely something new. I can't reproduce it from the skeleton downloaded on May 15th, so something got changed in the last 10 days that caused it. [REMOVE]
EDIT: After some more diff-ing, the acorn.js error was caused by the generated app.js.map + app.js. In my particular case, setting sourceMap:false in tsconfig.json and deleting the two files mentioned solved the issue.
This worked for me:
$ rm -rf skeleton-typescript-webpack/typings
typings.json
; rename ambientDependencies
to globalDependencies
$ typings install
tsconfig.json
; remove all filesGlobs
and exclude only the node_modules
directory:{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true
},
"exclude": [
"node_modules"
],
"atom": {
"rewriteTsconfig": true
}
}
ERROR in ./src/users.ts (1,22): error TS2307: Cannot find module 'aurelia-framework'.
ERROR in ./src/users.ts (2,26): error TS2307: Cannot find module 'aurelia-fetch-client'.
ERROR in ./src/users.ts (24,15): error TS2304: Cannot find name 'Promise'.
ERROR in ./src/main.ts (1,23): error TS2307: Cannot find module 'aurelia-framework'.
ERROR in ./src/main.ts (2,25): error TS2307: Cannot find module 'aurelia-bootstrapper-webpack'.
ERROR in ./src/child-router.ts (2,43): error TS2307: Cannot find module 'aurelia-router'.
ERROR in ./src/blur-image.ts (1,22): error TS2307: Cannot find module 'aurelia-framework'.
ERROR in ./src/app.ts (1,23): error TS2307: Cannot find module 'aurelia-framework'.
ERROR in ./src/app.ts (2,43): error TS2307: Cannot find module 'aurelia-router'.