I wanted to run the storefront with minor changes, I've added a refresh button(Material, I've installed with npm) to the metaplex\js\packages\web\src\components\AuctionCard\index.tsx component so the user can refresh the page when the auction is done, but after that change, I'm not able to start the page.
Previous commands:
npm install @material-ui/core
npm install @material-ui/icons
How I run the code:
cd js/packages/web
yarn start
I've already tried to "yarn add --dev @types/react" command, but it did not help.
Thanks!
Command
No response
Relevant log output
yarn start
yarn run v1.22.17
$ npm-link-shared ../common/node_modules/ . react
Will be installing modules from `../common/node_modules/` to `./`...
Restricted to the following modules [ 'react' ]
$ next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Loaded env from D:\Projects\FORK_METAPLEX\metaplex\js\packages\web\.env
info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
It looks like you're trying to use TypeScript but do not have the required package(s) installed.
Please install @types/react by running:
yarn add --dev @types/react
If you are not trying to use TypeScript, please remove the tsconfig.json file from your package root (and any TypeScript files in your pages directory).
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Operating system
Windows 10
Priority this issue should have
Medium (should be fixed soon)
Check the Docs First
[X] I have checked the docs and it didn't solve my issue
Which package is this bug report for?
storefront
Issue description
Hi!
I wanted to run the storefront with minor changes, I've added a refresh button(Material, I've installed with npm) to the metaplex\js\packages\web\src\components\AuctionCard\index.tsx component so the user can refresh the page when the auction is done, but after that change, I'm not able to start the page. Previous commands: npm install @material-ui/core npm install @material-ui/icons
How I run the code:
I've already tried to "yarn add --dev @types/react" command, but it did not help.
Thanks!
Command
No response
Relevant log output
Operating system
Windows 10
Priority this issue should have
Medium (should be fixed soon)
Check the Docs First