Bug Report - 5/14/2019, 4:26:18 PM


#1

Reporting with Webtestit version 1.1.0
Following error occurred when a new TS projec was create.

Steps to reproduce

  1. Start Webtestit
  2. Start creating a new project
  3. Select a folder, type a project name and select TypeScrip as the language
  4. Click Save button

New project was not created and "An error occurred " dialog was opened.

Note : It was possible to run tests in the samole TypeScript project

Exception: Error: Error during npm install: Process exited with Error, code: 1
at ProjectScaffold. (/Applications/Ranorex Webtestit.app/Contents/Resources/app.asar/dist/backend/project/typescript-protractor-scaffold.ts:350:27)
at Generator.throw ()
at rejected (/Applications/Ranorex Webtestit.app/Contents/Resources/app.asar/dist/app/backend/project/typescript-protractor-scaffold.js:5:65)
at
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
From previous event:
at ProjectService. (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:6198:40)
at step (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:276:23)
at Object.next (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:257:53)
at file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:251:71
From previous event:
at __awaiter (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:247:12)
at ProjectService.scaffoldProject (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:6188:20)
at ProjectService. (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:5963:45)
at step (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:276:23)
at Object.next (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:257:53)
at fulfilled (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:248:58)
at
From previous event:
at step (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:250:124)
at file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:251:9
From previous event:
at __awaiter (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:247:12)
at WelcomePanel.createProject (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/app-bundle.js:549:20)
at CallScope.evaluate (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/vendor-bundle.js:77940:21)
at Listener.callSource (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/vendor-bundle.js:81660:42)
at Listener.handleEvent (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/vendor-bundle.js:81669:12)
at HTMLDocument.handleDelegatedEvent (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/vendor-bundle.js:79731:22)
at HTMLDocument.wrapped (file:///Applications/Ranorex%20Webtestit.app/Contents/Resources/app.asar/dist/frontend/vendor-bundle.js:30726:21)

SentryId: cedc21966a35465b9a476c8dcaf144a9

Email: [email protected]


unlisted #2

#3

Hi @janesh!
Strange, is this happening every time you try to create a TS project, or was it just a one-time thing, as it maybe be caused by some connection timeout or timing issue
As I saw from the error report your node version is 10.15.3 with npm version 6.4.1, right?


#4

Hi @smatijas
I could reproduce the error on MacBook Air .
TS project is created successfully on Windows 10 .
Let me check with others who work on other OSs and update the report.

As I saw from the error report your node version is 10.15.3 with npm version 6.4.1, right?

Yes

It was possible to create and run the TS demo project without any issue