Skip to content
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

Export error : OSCALStyle, OSCALPermanentDrawer, OSCALAppBar #982

Open
adityajidhonde opened this issue Jun 11, 2024 · 0 comments
Open

Export error : OSCALStyle, OSCALPermanentDrawer, OSCALAppBar #982

adityajidhonde opened this issue Jun 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@adityajidhonde
Copy link

Description

Attempted import error: 'OSCALStyle' is not exported from '@easydynamics/oscal-react-library' (imported as 'OSCALStyle').
ERROR in ./src/App.js 271:53-63
export 'OSCALStyle' (imported as 'OSCALStyle') was not found in '@easydynamics/oscal-react-library' (possible exports: OSCALCatalogLoader, OSCALComponentLoader, OSCALDrawerSelector, OSCALProfileLoader, OSCALSSPLoader)

ERROR in ./src/App.js 277:44-64
export 'OSCALPermanentDrawer' (imported as 'OSCALPermanentDrawer') was not found in '@easydynamics/oscal-react-library' (possible exports: OSCALCatalogLoader, OSCALComponentLoader, OSCALDrawerSelector, OSCALProfileLoader, OSCALSSPLoader)

ERROR in ./src/App.js 283:43-54
export 'OSCALAppBar' (imported as 'OSCALAppBar') was not found in '@easydynamics/oscal-react-library' (possible exports: OSCALCatalogLoader, OSCALComponentLoader, OSCALDrawerSelector, OSCALProfileLoader, OSCALSSPLoader)

Environment

No response

Steps to Reproduce

  1. Modified App.js by simply copies raw code from : https://github.com/EasyDynamics/oscal-react-library/blob/main/packages/oscal-viewer/src/App.js
  2. Create file GlobalStyles.jsx referencing: https://github.com/EasyDynamics/oscal-react-library/blob/main/packages/oscal-viewer/src/GlobalStyles.jsx
  3. import all libraries from : https://github.com/EasyDynamics/oscal-react-library/blob/main/packages/oscal-viewer/package.json
  4. Create folder images and themes similarly given on: https://github.com/EasyDynamics/oscal-react-library/tree/main/packages/oscal-viewer/src

Expected behavior

Should be able to compile successfully.

Actual Behavior

Failed to compile.

Additional Notes

No response

@adityajidhonde adityajidhonde added the bug Something isn't working label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant