Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Givern.js: createDao not exported #540

Open
giocasu opened this issue Apr 28, 2022 · 0 comments
Open

Givern.js: createDao not exported #540

giocasu opened this issue Apr 28, 2022 · 0 comments

Comments

@giocasu
Copy link

giocasu commented Apr 28, 2022

Hi,
I installed govern.js "1.0.0-beta.12" ( yarn add @aragon/govern ) and tried to execute
a simple nodejs script wih createDao, but it seems the function is not exported (or not exist).
The following snippet

import { createDao } from "@aragon/govern";
(function doSomething() {
	// ...
})();

gives me

index.mjs:1
import { createDao } from "@aragon/govern";
         ^^^^^^^^^
SyntaxError: Named export 'createDao' not found.

Is there an update release I should use?
Thanks

Giovanni

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@giocasu and others