New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core_1.experimental.workspace.Workspace.fromPath is not a function #345
Comments
Versions, |
Sorry, Angular 8.0.1 angular.json: { package.json { |
Everything seems alright but I'm unable to reproduce it. Would you mind creating a minimal reproduction repo? |
This issue is resolved. It was at strange problem with the node_modules. After moving all my code to a brand new directory and doing an npm install, it suddenly started working. I must admit, I have no idea why, but it works now. |
I am still running into this issue. I cleared out my node_modules and reinstalled them and that didn't fix it. |
Can you please share your angular.json, package.json and yarn.lock (package-lock.json)? |
angular.json
package.json
|
My package-loc.json is massive (exceeds the limit) |
@JWTappert Well I need it to understand what's wrong. Any chance for minimal reproduction repo? |
I solved this issue by after my upgrade delete the |
Hello, https://github.com/agerbig/angular8-jest-devextreme When I add the dependency devextreme-angular, remove the folder node_modules and the file package-lock.json the error occurs after npm install and ng test. After removing the dependency again and deleting the node_modules folder and package-lock.json file the command ng test works again. What may be the cause? |
Installing @angular-devkit/core solved the problem for me. See #426 |
When I run ng test I get
core_1.experimental.workspace.Workspace.fromPath is not a function
TypeError: core_1.experimental.workspace.Workspace.fromPath is not a function
at C:\Users\00torben\code\DGI_Tilmeldingsportal\Frontend\node_modules@angular-builders\jest\dist\index.js:26:73
at Generator.next ()
at C:\Users\00torben\code\DGI_Tilmeldingsportal\Frontend\node_modules@angular-builders\jest\dist\index.js:7:71
at new Promise ()
at __awaiter (C:\Users\00torben\code\DGI_Tilmeldingsportal\Frontend\node_modules@angular-builders\jest\dist\index.js:3:12)
at getRoots (C:\Users\00torben\code\DGI_Tilmeldingsportal\Frontend\node_modules@angular-builders\jest\dist\index.js:22:12)
at C:\Users\00torben\code\DGI_Tilmeldingsportal\Frontend\node_modules@angular-builders\jest\dist\index.js:48:58
at Generator.next ()
at C:\Users\00torben\code\DGI_Tilmeldingsportal\Frontend\node_modules@angular-builders\jest\dist\index.js:7:71
at new Promise ()
at __awaiter (C:\Users\00torben\code\DGI_Tilmeldingsportal\Frontend\node_modules@angular-builders\jest\dist\index.js:3:12)
at buildArgv (C:\Users\00torben\code\DGI_Tilmeldingsportal\Frontend\node_modules@angular-builders\jest\dist\index.js:46:16)
at C:\Users\00torben\code\DGI_Tilmeldingsportal\Frontend\node_modules@angular-builders\jest\dist\index.js:59:32
at Generator.next ()
at C:\Users\00torben\code\DGI_Tilmeldingsportal\Frontend\node_modules@angular-builders\jest\dist\index.js:7:71
at new Promise ()
The text was updated successfully, but these errors were encountered: