scaffold-eth / scaffold-eth-typescript

Typescript version of Scaffold-Eth 🏗
MIT License
186 stars 85 forks source link

http / http-browserify Error #94

Closed wadader closed 2 years ago

wadader commented 2 years ago

Following the steps as described in the Readme, after running:

yarn contracts:build

yarn deploy

yarn start causes an error which says:

Could not read from file: ...\packages\vite-app-ts\http-browserify

./common/node_modules/request/request.js:3:19:
      3 │ var http = require('http')

The readme was followed as is:

OS: Windows 10 IDE: Vscode

ShravanSunder commented 2 years ago

@Mbaamir please share your reproduction. What version of node are you using?

wadader commented 2 years ago

Node v16.4.1 OS: Windows 10

Any more details I can provide?

ShravanSunder commented 2 years ago

@Mbaamir A repo branch would be great. It works on a clean install for me, however i'm using a mac.

ShravanSunder commented 2 years ago

probably fixed with the new aliases