apibara / starknet-react

A collection of React providers and hooks for StarkNet
https://starknet-react.com
MIT License
369 stars 147 forks source link

```npm init starknet``` not running #305

Closed edisontim closed 1 year ago

edisontim commented 1 year ago
➜  my-starknet-app npm run dev

> my-starknet-app@0.1.0 dev
> next dev

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
error - ./node_modules/@starknet-react/core/dist/connectors/injected.js:6:0
Module not found: Can't resolve 'get-starknet-core'

Import trace for requested module:
./node_modules/@starknet-react/core/dist/connectors/index.js
./node_modules/@starknet-react/core/dist/index.js
./pages/_app.tsx

https://nextjs.org/docs/messages/module-not-found

I get this error from creating a project with npm init starknet then npm run dev

edisontim commented 1 year ago

Project was missing get-starknet-core and starknet dependencies

fracek commented 1 year ago

Thanks, will fix this in the next release.

swaggymarie commented 1 year ago

Happy to take this as it is related to #323