TanStack / table

🤖 Headless UI for building powerful tables & datagrids for TS/JS - React-Table, Vue-Table, Solid-Table, Svelte-Table
https://tanstack.com/table
MIT License
24.89k stars 3.07k forks source link

EXEC : Attempted import error : 'actions' is not exported from 'react-table' (imported as 'TableActions'). [e:\vsts\a\732\s\PlantSight-Portal.csproj] in AZURE DEVOPS only and not locally #3348

Closed dev-end closed 2 years ago

dev-end commented 3 years ago

I am getting following bug in Azure devops only while building my application.

[error]./node_modules/@itwin/itwinui-react/esm/core/Table/Table.js

EXEC : Attempted import error : 'actions' is not exported from 'react-table' (imported as 'TableActions'). [e:\vsts\a\732\s\PlantSight-Portal.csproj] In the above case react-table 7 is used internally.

I am also using react-tablev6.10.3 in my application.

Sad thing is that the issue is only happening on azure devops.

image

{ "name": "abcapp", "version": "0.1.0", "private": true, "dependencies": { "@b/bjs-core": "^2.14.4", "@b/bwc": "^8.1.14", "@b/bwc-react": "^0.21.3", "@b/context-components": "^1.0.61", "@b/feature-toggle-js": "1.0.4", "@b/forms-dashboard": "^0.3.1", "@b/frontend-authorization-client": "^2.12.0", "@b/geometry-core": "^2.6.1", "@b/get-user-color": "^1.2.0", "@b/ifc-exporter-ui": "^1.0.6", "@b/imodel-transformations-client": "0.0.12", "@b/imodelhub-client": "^2.12.0", "@b/imodeljs-common": "^2.10.7", "@b/imodeljs-frontend": "^2.10.7", "@b/imodeljs-i18n": "^2.10.7", "@b/imodeljs-quantity": "^2.10.7", "@b/itwin-client": "^2.14.4", "@b/itwin-whats-new": "^1.5.4", "@b/orbitgt-core": "^2.10.4", "@b/product-settings-client": "^2.14.4", "@b/psacquisitioncomponent": "^1.0.2", "@b/rbac-client": "^2.12.0", "@b/react-scripts": "^3.4.5", "@b/share-ui": "0.1.19", "@b/telemetry-client": "^2.10.7", "@b/ui-abstract": "^2.10.7", "@b/ui-components": "^2.10.7", "@bentley/ui-core": "^2.10.7", "@bentley/webgl-compatibility": "^2.10.7", "@itwin/itwinui-react": "^1.9.0", "@material-ui/core": "^4.11.2", "@material-ui/icons": "^4.11.2", "@microsoft/applicationinsights-web": "^2.2.4", "@types/enzyme": "^3.1.18", "@types/history": "^4.7.2", "@types/jest": "^24.0.4", "@types/node": "^11.9.3", "@types/react": "^16.9.0", "@types/react-dom": "^16.9.0", "@types/redux": "^3.6.0", "@types/source-map-support": "^0.5.1", "apollo-cache-inmemory": "^1.6.3", "apollo-client": "^2.6.4", "apollo-link": "^1.2.13", "apollo-link-context": "^1.0.19", "apollo-link-error": "^1.1.12", "apollo-link-http": "^1.5.16", "axios": "^0.21.1", "bootstrap": "^4.3.1", "connected-react-router": "^6.7.0", "dtrace-provider": "^0.8.7", "graphql": "^14.5.8", "graphql-tag": "^2.10.1", "guid-typescript": "^1.0.9", "history": "^4.10.1", "i18next": "^19.8.7", "i18next-browser-languagedetector": "^6.0.1", "i18next-xhr-backend": "^1.5.1", "i18next11": "npm:i18next@^11.7.0", "jquery": "^3.5.1", "ldclient-js": "^2.9.3", "match-sorter": "^4.1.0", "moment": "^2.24.0", "node-sass": "^4.14.1", "oidc-client": "^1.10.1", "postmate": "^1.5.0", "react": "^16.14.0", "react-bingmaps": "^3.6.1", "react-dom": "^16.14.0", "react-dropzone": "^7.0.1", "react-hot-loader": "^4.6.5", "react-i18next": "^10.13.2", "react-i18next7": "npm:react-i18next@^7.11.1", "react-redux": "^7.2.0", "react-router": "^5.1.2", "react-router-dom": "^5.1.2", "react-table": "^6.10.3", "redux": "^4.0.5", "redux-auth-wrapper": "2.1.0", "redux-form": "^8.3.0", "redux-logger": "^3.0.6", "redux-saga": "1.1.3", "redux-thunk": "2.3.0", "source-map-support": "^0.5.19", "typescript": "^3.9.7", "xmldom": "^0.6.0" }, "scripts": { "start": "react-scripts start", "build": "react-scripts --max_old_space_size=8192 build", "test": "react-scripts test", "eject": "react-scripts eject", "standalone": "SET Port=5000 && react-scripts start" }, "eslintConfig": { "extends": "react-app" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { "@types/enzyme-to-json": "^1.5.3", "@types/react": "^16.9.0", "@types/react-dom": "^16.9.0", "@types/react-table": "^6.8.7", "babel-core": "^7.0.0-bridge.0", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.11.2", "enzyme-to-json": "^3.3.5", "jest-junit": "^6.3.0", "react-test-renderer": "^16.8.1", "redux-mock-store": "^1.5.3" } }

github-actions[bot] commented 2 years ago

This issue is being marked as stale (no activity in the last 14 days)

github-actions[bot] commented 2 years ago

This issue has been detected as stale and automatically closed. It's very likely that your issue has remained here this long because it would require breaking changes to v7. React Table v8 is currently in alpha (soon beta!) and already contains bug fixes, performance improvements and architectural changes that likely address this issue.