perspective icon indicating copy to clipboard operation
perspective copied to clipboard

Can't build perspective without perspective-viewer installation

Open kryaksy opened this issue 4 years ago • 3 comments

Bug Report

Perspective webpack plugin throws error when serving perspective (1.0.0) without perspective-viewer (1.0.0)

Steps to Reproduce:

  1. yarn add @finos/perspective && yarn add -D @finos/perspective-webpack-plugin
  2. yarn start

Expected Result:

Serve without error

Actual Result:

Cannot find module '@finos/perspective-viewer/package.json'

Environment:

Mac OSX @finos/perspective: 1.0.0 @finos/perspective-webpack-plugin: 1.0.0 react: 17.0.1 webpack 4

kryaksy avatar Oct 13 '21 08:10 kryaksy

Could be related to Webpack 4 again?

kryaksy avatar Oct 13 '21 08:10 kryaksy

Thanks for the report!

This just looks like a bug - the plugin is merely trying to resolve the path though, it does not actually use @finos/perspective-viewer, so you should be able to install it without any side effects.

texodus avatar Oct 13 '21 17:10 texodus

I did so. Thank you. Also thanks for 1.0.0 release. It looks like a great job.

kryaksy avatar Oct 13 '21 17:10 kryaksy