Error when running e2e tests on 4.1.0

Post Reply
Posts: 7
Joined: 04 Oct 2016, 02:52

08 Aug 2017, 02:20

Hi, I just downloaded the last version, 4.1.0 and run `npm install` then `npm run e2e` and I'm getting the error below. Does anyone have any ideas?

Code: Select all

** NG Live Development Server is listening on localhost:49152, open your browser on http://localhost:49152 **
(node:3660) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Hash: bdd36594642b671e2033
Time: 16734ms
chunk    {0} polyfills.bundle.js, (polyfills) 480 kB {5} [initial] [rendered]
chunk    {1} main.bundle.js, (main) 332 kB {4} [initial] [rendered]
chunk    {2} styles.bundle.js, (styles) 139 kB {5} [initial] [rendered]
chunk    {3} scripts.bundle.js, (scripts) 1.74 MB {5} [initial] [rendered]
chunk    {4} vendor.bundle.js, (vendor) 3.9 MB [initial] [rendered]
chunk    {5} inline.bundle.js, (inline) 0 bytes [entry] [rendered]
webpack: Compiled successfully.
[21:04:46] I/file_manager - creating folder C:\temp\barcelona-ng-4.1.0\node_modules\protractor\node_modules\webdriver-manager\selenium
[21:04:57] I/update - chromedriver: unzipping
[21:04:57] I/launcher - Running 1 instances of WebDriver
[21:04:57] I/direct - Using ChromeDriver directly...
[21:05:00] E/launcher - Error: TSError: x Unable to compile TypeScript
Cannot find type definition file for 'jasmine'. (2688)
Cannot find type definition file for 'node'. (2688)
e2e\app.e2e-spec.ts (3,1): Cannot find name 'describe'. (2304)
e2e\app.e2e-spec.ts (6,3): Cannot find name 'beforeEach'. (2304)
e2e\app.e2e-spec.ts (10,3): Cannot find name 'it'. (2304)
e2e\app.e2e-spec.ts (12,5): Cannot find name 'expect'. (2304)
    at getOutput (C:\temp\barcelona-ng-4.1.0\node_modules\ts-node\src\index.ts:312:17)
    at C:\temp\barcelona-ng-4.1.0\node_modules\ts-node\src\index.ts:343:18
    at Object.compile (C:\temp\barcelona-ng-4.1.0\node_modules\ts-node\src\index.ts:476:19)
    at Module.m._compile (C:\temp\barcelona-ng-4.1.0\node_modules\ts-node\src\index.ts:406:44)
    at Module._extensions..js (module.js:580:10)
    at Object.require.extensions.(anonymous function) [as .ts] (C:\temp\barcelona-ng-4.1.0\node_modules\ts-node\src\index.ts:409:12)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)

Posts: 18448
Joined: 05 Jan 2009, 00:21
Location: Cybertron

15 Aug 2017, 17:08

Next maintenance version will fix this, we're updating the CLI version as well.

Post Reply

Return to “Barcelona - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests