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
Nuxeo client breaking Angular 7 app #85
Comments
Hi, Could you provide us with a minimal sample Angular 7 project showing the issue, please? |
Hi Thomas, It's look like nuxeo-js-client use old webpack module.
Here is how I register my service in app.module.ts
I want to test connection, so in my app.component I add this :
When I run the apps, we are errors above. Thanks |
My package.json is here :
|
Hi Thomas, Have you seen something about this issue? Thanks |
Hi, Sorry... I did check quickly and I'm afraid it's because of the In the meantime, you can try I will give it a try with Angular 7 in the coming days to check myself, I will probably need to replace the existing |
Hi, I have add It can not instanciate Thanks |
Too bad 😞 Will try it myself tomorrow. |
When I use ` When I use ` |
Hi, I will make the change and release a new minor version of the client, but in the meantime, you could try adding to your "browser": {
"promise-queue": "promise-queue/lib/index.js"
} BTW, you can just use |
Hi, I've released a new Re-open the issue if that does not fix it. |
Hi, It works fine. |
Hi, Can we have your nuxeo service class ? Thanks |
Hi, the following is my service class:
|
Hi,
Unable to run angular 7 app after implements nuxeo libs and service.
It breaks the app litteraly on any browser (FF65, Chromium73 and latest Safari).
index.js:1 Uncaught ReferenceError: process is not defined at Object../node_modules/promise-queue/index.js (index.js:1) at __webpack_require__ (bootstrap:76) at Object../node_modules/nuxeo/lib/upload/batch.js (batch.js:5) at __webpack_require__ (bootstrap:76) at Object../node_modules/nuxeo/lib/operation.js (operation.js:7) at __webpack_require__ (bootstrap:76) at Object../node_modules/nuxeo/lib/nuxeo.js (nuxeo.js:4) at __webpack_require__ (bootstrap:76) at Object../node_modules/nuxeo/lib/index.js (index.js:1) at __webpack_require__ (bootstrap:76) ./node_modules/promise-queue/index.js @ index.js:1 __webpack_require__ @ bootstrap:76 ./node_modules/nuxeo/lib/upload/batch.js @ batch.js:5 __webpack_require__ @ bootstrap:76 ./node_modules/nuxeo/lib/operation.js @ operation.js:7 __webpack_require__ @ bootstrap:76 ./node_modules/nuxeo/lib/nuxeo.js @ nuxeo.js:4 __webpack_require__ @ bootstrap:76 ./node_modules/nuxeo/lib/index.js @ index.js:1 __webpack_require__ @ bootstrap:76 ./src/app/nuxeo.service.ts @ DynamicFlatNode.ts:8 __webpack_require__ @ bootstrap:76 ./src/app/app.module.ts @ app.component.ts:176 __webpack_require__ @ bootstrap:76 ./src/main.ts @ environment.ts:15 __webpack_require__ @ bootstrap:76 0 @ main.ts:12 __webpack_require__ @ bootstrap:76 checkDeferredModules @ bootstrap:43 webpackJsonpCallback @ bootstrap:30 (anonymous) @ main.js:1
Thanks for help
The text was updated successfully, but these errors were encountered: