Comments (4)
First guess: Circular dependencies (in regard to other issues reported on the web: https://stackoverflow.com/questions/60122727/referenceerror-cannot-access-player-before-initialization)
No, there are no circular dependencies in the EditionGraphModule according to analysis with madge:
madge --circular src/app/views/edition-view/edition-outlets/edition-graph/**.ts
from awg-app.
Tracked it down to N3. Removing the N3 import in the GraphVisualizerService, removes the error. But this is not a solution, since N3 is needed to parse the RDF input.
from awg-app.
After a long search, the issue seems to be related to the import of old stream
package by N3. Replacing the stream
imports with imports from readable-stream
solves the issue. Manual changes in the following files of N3 node module package are necessary:
node_modules/N3/src/N3StreamParser.js
--> import { Transform } from 'readable-stream';
node_modules/N3/src/N3StreamWriter.js
--> import { Transform } from 'readable-stream';
node_modules/N3/src/N3Store.js
--> import { Readable } from 'readable-stream';
Cf. DevExpress/devextreme-angular#776 (comment)
from awg-app.
Necessary steps:
- Add window globals in
polyfills.ts
- Install
@types/node
as DevDependencies and add "node" to the types intsconfig.{app/spec}.json
- Add
readable-stream
to theallowedCommonJsDependencies
option inangular.json
- Manually change the N3 files that use imports from
stream
as explained above - Import N3 in GraphService as follows:
import * as N3 from 'n3'
from awg-app.
Related Issues (20)
- [TEST] Improve Unit Test Speed HOT 1
- Contributors HOT 12
- [EDITION] Textcritical comments for op. 25 Sk4 are not complete yet
- [EDITION] Reload Convolute view when clicking on side navigation
- Ideas & interesting tools
- [EDITION] Self-reflexive graph properties not correctly calculated? HOT 4
- [EDITION/GRAPH] Problems using a touchpad HOT 4
- Deprecated sketch sigla in modal snippets HOT 2
- Zoom function for SVGs HOT 1
- TkK findings HOT 13
- [BUILD] Use automated dependency updates HOT 1
- Remove B from op. 25 modal
- Sticky side menu with scrollspy
- Add StorageService HOT 1
- Get SVG paths for link boxes and link them to sketches HOT 1
- Source description measure HOT 1
- Include Routes for Series and Sections HOT 1
- Differentiate textcritics according to edition type
- Add text sources to source description
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awg-app.