Skip to content
New issue

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

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

Already on GitHub? # to your account

sample site Caught exception TypeError: site.readDOM is not a function #5

Open
andre68723 opened this issue Jul 28, 2019 · 0 comments

Comments

@andre68723
Copy link

followed the readme

12:10 $ npm start

> SeaSiteSample@1.0.0 start /Users/andre/Projects/site
> babel-node --presets=@babel/env,@babel/react index.js

Site creation ... public -> dist
Caught exception TypeError: site.readDOM is not a function
    at readDOM (/Users/andre/Projects/site/index.js:19:22)
    at SeaSite.handle (/Users/andre/Projects/site/node_modules/seasite/lib/site/site.js:423:31)
    at handle (/Users/andre/Projects/site/index.js:18:10)
    at Object.generateSite (/Users/andre/Projects/site/index.js:31:1)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Module._compile (/Users/andre/Projects/site/node_modules/pirates/lib/index.js:99:24)
    at Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Object.newLoader [as .js] (/Users/andre/Projects/site/node_modules/pirates/lib/index.js:104:7)
    at Module.load (internal/modules/cjs/loader.js:643:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)

✔ ~/Projects/site 
12:10 $ node -v 
v12.6.0
✔ ~/Projects/site 
12:11 $ npm -v
6.9.0

full_log.txt

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

No branches or pull requests

1 participant