You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please, why the "@tanstack/react-table" package is not installed?
When I wrote:
npm start
I received message:
[ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "@tanstack/react-table".
I tried to write:
npm install @tanstack/react-table -g
and folder "@tanstack/react-table" appeard in folder C:\Users...\AppData\Roaming\npm\node_modules. I copied it to project folder and start project and all was OK. But I think, it is not right way.
On stackoverflow.com Reza Faghani suggest me to
1- remove all the node_modules in any folder of project
2- run this command in main folder yarn install
3- run yarn install in folder examples/react/basic
4- run command npm start in basic folder
and this is working.
My question is: Why I is not working with NPM? What I am doing wrong please?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I want to try basic project from tanstack/react-table from https://github.com/TanStack/table/tree/main/examples/react/basic
I am new in NPM. I am on Windows.
I wrote:
git clone https://github.com/TanStack/table.git
then I am going to the subfolder examples\react\basic
then I wrote:
npm install
and in subfolder "node_modules" only folders "react" and "react-dom" appeard.
There is package.json:
Please, why the "@tanstack/react-table" package is not installed?
When I wrote:
npm start
I received message:
[ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "@tanstack/react-table".
I tried to write:
npm install @tanstack/react-table -g
and folder "@tanstack/react-table" appeard in folder C:\Users...\AppData\Roaming\npm\node_modules. I copied it to project folder and start project and all was OK. But I think, it is not right way.
On stackoverflow.com Reza Faghani suggest me to
1- remove all the node_modules in any folder of project
2- run this command in main folder yarn install
3- run yarn install in folder examples/react/basic
4- run command npm start in basic folder
and this is working.
My question is: Why I is not working with NPM? What I am doing wrong please?
Thank you!
Petr B.
Beta Was this translation helpful? Give feedback.
All reactions