question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails importing an 'alfresco-js-api' library

See original GitHub issue

We are experiencing an issue importing alfresco-js-api library into the project. It works with Angular CLI projects locally, but fails as soon as used with “stackblitz”:

screenshot 2017-12-06 18 19 18

Steps to reproduce:

  • Create a new Angular 5 project with stackblitz
  • In the dependencies input type alfresco-js-api and press Enter

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
EricSimonscommented, Dec 21, 2017

@DenisVuyka I think this is due to an issue with the package’s main/browser fields- will investigate further once I’m back in front of my comp next week!

0reactions
DenysVuikacommented, Feb 13, 2018

@EricSimons Just FYI, removing browser field helped, thanks again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Alfresco/alfresco-js-api: This project provides a JavaScript ...
This project provides a JavaScript client API into the Alfresco REST API and Activiti REST API. - GitHub - Alfresco/alfresco-js-api: This project provides...
Read more >
@alfresco/js-api - npm
JavaScript client library for the Alfresco REST API. ... Import library for node projects; Import library for browser projects.
Read more >
Uploading a file in Alfresco via JS API - Stack Overflow
I managed to login, create and delete folders but not files. let AlfrescoApi = require('alfresco-js-api'); let alfrescoJsApi = new ...
Read more >
Alfresco/alfresco-ng2-components - Gitter
@DenisVuyka I'm importing the WebscriptApi from the AlfrescoJsApi, ... https://github.com/Alfresco/alfresco-ng2-components/blob/development/lib/core/ ...
Read more >
What if I hit problems importing libraries? - ScalablyTyped
Work on a minimized test case for the failure. Create a PR branch on a fork. Import the full TS code example, placing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Hashnode Post

No results found