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
Hi
This is stack is doing good in writing tests for smart contracts. I managed to migrate my project to Buidler+Ethers stack via this starter kit. That's amazing.
But now, I'm trying to bring express into project to have some http endpoints to interact with solidity functions. I'm using another starter kit express-typescript-starter and it needs to run tsc command which throws error when compiling buidler.config.ts file. Here is the error message:
import { BuidlerConfig, usePlugin } from "@nomiclabs/buidler/config";
^^^^^^
SyntaxError: Cannot use import statement outside a module
There is no way to tell the tsc command to ignore the config file.
I know that this issue is not directly related to this repo, but it may help to adapt it with real use-cases.
Thanks.
Hi
This is stack is doing good in writing tests for smart contracts. I managed to migrate my project to Buidler+Ethers stack via this starter kit. That's amazing.
But now, I'm trying to bring express into project to have some http endpoints to interact with solidity functions. I'm using another starter kit express-typescript-starter and it needs to run
tsc
command which throws error when compilingbuidler.config.ts
file. Here is the error message:There is no way to tell the
tsc
command to ignore the config file.I know that this issue is not directly related to this repo, but it may help to adapt it with real use-cases.
Thanks.
Package.json
tsconfig.json
The text was updated successfully, but these errors were encountered: