You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 4, 2026. It is now read-only.
Build fails with ERROR in Unexpected value 'undefined' imported by the module 'ExampleModule in /home/jpstroud/material.angular.io/node_modules/@angular/material-examples/examples_public_index.d.ts' after fresh clone when following the Development Setup Guide.
FWIW, I'm running this on a Pixelbook; I haven't yet had any problems w/ running my own project code, but this is my first time w/ yarn, specifically.
yarn start output:
jpstroud@penguin:~/material.angular.io$ yarn start
yarn run v1.17.3
$ npm run build-themes && ng serve
npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1567474129192-0.9321436184585852/node but npm is using /home/jpstroud/.config/versions/node/v10.16.3/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> material-angular-io@0.0.0 build-themes /home/jpstroud/material.angular.io
> bash ./tools/build-themes.sh
Building custom theme scss files.
Finished building CSS.
Date: 2019-09-03T01:29:14.626Z
Hash: 88b1f4ac0557d0f54580
Time: 16068ms
chunk {deeppurple-amber} deeppurple-amber.js, deeppurple-amber.js.map (deeppurple-amber) 181 kB [initial] [rendered]
chunk {indigo-pink} indigo-pink.js, indigo-pink.js.map (indigo-pink) 180 kB [initial] [rendered]
chunk {main} main.js, main.js.map (main) 1.9 kB [initial] [rendered]
chunk {pink-bluegrey} pink-bluegrey.js, pink-bluegrey.js.map (pink-bluegrey) 186 kB [initial] [rendered]
chunk {polyfills-es5} polyfills-es5.js, polyfills-es5.js.map (polyfills-es5) 435 kB [initial] [rendered]
chunk {purple-green} purple-green.js, purple-green.js.map (purple-green) 186 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.08 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 467 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 327 kB [initial] [rendered]
ERROR in Unexpected value 'undefined' imported by the module 'ExampleModule in /home/jpstroud/material.angular.io/node_modules/@angular/material-examples/examples_public_index.d.ts'
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
ℹ 「wdm」: Failed to compile.
jpstroud@penguin:~/material.angular.io$ yarn e2e
yarn run v1.17.3
$ webdriver-manager update
[21:21:03] I/config_source - curl -o/home/jpstroud/material.angular.io/node_modules/webdriver-manager/selenium/gecko-response.json https://api.github.com/repos/mozilla/geckodriver/releases
[21:21:03] I/update - chromedriver: file exists /home/jpstroud/material.angular.io/node_modules/webdriver-manager/selenium/chromedriver_76.0.3809.12.zip
[21:21:03] I/update - chromedriver: unzipping chromedriver_76.0.3809.12.zip
[21:21:03] I/update - chromedriver: setting permissions to 0755 for /home/jpstroud/material.angular.io/node_modules/webdriver-manager/selenium/chromedriver_76.0.3809.12
[21:21:03] I/update - chromedriver: chromedriver_76.0.3809.12 up to date
[21:21:03] I/update - selenium standalone: file exists /home/jpstroud/material.angular.io/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.141.59.jar
[21:21:03] I/update - selenium standalone: selenium-server-standalone-3.141.59.jar up to date
[21:21:04] I/downloader - curl -o/home/jpstroud/material.angular.io/node_modules/webdriver-manager/selenium/geckodriver-v0.24.0.tar.gz https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
[21:21:04] I/update - geckodriver: unzipping geckodriver-v0.24.0.tar.gz
[21:21:05] I/update - geckodriver: setting permissions to 0755 for /home/jpstroud/material.angular.io/node_modules/webdriver-manager/selenium/geckodriver-v0.24.0
$ protractor
(node:10384) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
/home/jpstroud/material.angular.io/node_modules/ts-node/src/index.ts:253
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
error TS5058: The specified path does not exist: '/home/jpstroud/material.angular.io/e2e'. at createTSError (/home/jpstroud/material.angular.io/node_modules/ts-node/src/index.ts:253:12)
at Object.register (/home/jpstroud/material.angular.io/node_modules/ts-node/src/index.ts:257:42)
at beforeLaunch (/home/jpstroud/material.angular.io/protractor.conf.js:24:24)
at q_1.Promise (/home/jpstroud/material.angular.io/node_modules/protractor/built/util.js:46:49)
at Function.promise (/home/jpstroud/material.angular.io/node_modules/q/q.js:682:9)
at Object.runFilenameOrFn_ (/home/jpstroud/material.angular.io/node_modules/protractor/built/util.js:38:16)
at Object.initFn [as init] (/home/jpstroud/material.angular.io/node_modules/protractor/built/launcher.js:104:12)
at Object.<anonymous> (/home/jpstroud/material.angular.io/node_modules/protractor/built/cli.js:225:10)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Am I doing it wrong?
Build fails with
ERROR in Unexpected value 'undefined' imported by the module 'ExampleModule in /home/jpstroud/material.angular.io/node_modules/@angular/material-examples/examples_public_index.d.ts'after fresh clone when following the Development Setup Guide.FWIW, I'm running this on a Pixelbook; I haven't yet had any problems w/ running my own project code, but this is my first time w/ yarn, specifically.
yarn startoutput:ng --versionoutput:yarn e2eoutput: