nteract / semiotic

A data visualization framework combining React & D3
https://semioticv1.nteract.io/
Other
2.43k stars 133 forks source link

warning when using webpack #531

Closed colombod closed 2 years ago

colombod commented 4 years ago

I am building a library that requires the @nteract/dataExplorer and I get a lot of warnings relates to semiotic like this

    WARNING in ./node_modules/semiotic/lib/annotationLayerBehavior/annotationHandling.js
    Module Warning (from ./node_modules/source-map-loader/index.js):
    (Emitted value instead of an instance of Error) Cannot find source file '../../src/components/annotationLayerBehavior/annotationHandling.ts': Error: Can't resolve '../../src/components/annotationLayerBehavior/annotationHandling.ts' in .\dotnet-interactive-visualization\src\Microsoft.DotNet.Interactive.DataExplorer.js\node_modules\semiotic\lib\annotationLayerBehavior'
     @ ./node_modules/semiotic/lib/AnnotationLayer.js 59:27-82
     @ ./node_modules/semiotic/lib/index.js
     @ ./node_modules/@nteract/data-explorer/lib/components/DataExplorer.js
     @ ./node_modules/@nteract/data-explorer/lib/index.js
     @ ./src/interface.ts
     @ ./src/index.ts

The project I am building is this one and it is using this package.json

emeeks commented 4 years ago

I just deprecated that version of data-explorer it shouldn't have been published with that dependency. Sorry for the hassle.

colombod commented 4 years ago

Thank you so is there a new one I should use?

colombod commented 4 years ago

8.2.7 gives me same warning

emeeks commented 4 years ago

Ah, can you share with me your full error?

colombod commented 4 years ago

error.txt Attaching the file, seems to be mostly source map resolution problems now

colombod commented 4 years ago

I am now facing another issue, when I load the umd output of web pack I can see the components image But do not see any rendering when switching to any rendering other than the table, is there anything I am missing? I don't see any error in the dev tools console or network tab

image

image

@captainsafia do you have any hint?

willingc commented 2 years ago

Just an update, the next version (2.x) will be modernizing our development tool chain to use Parcel. Closing this issue as this migration has begun.