isotoma / react-cognito

Library for integrating Facebook React and Amazon Cognito
Apache License 2.0
116 stars 48 forks source link

Examples don't build #1

Closed ryanwitt closed 6 years ago

ryanwitt commented 7 years ago
$ git clone git@github.com:isotoma/react-cognito
...
$ npm run examples

> react-cognito@1.3.0 examples ./react-cognito
> babel --plugins transform-es2015-modules-umd src --ignore __tests__ examples/src --out-file examples/htdocs/dist/bundle.js

Error: ENOENT: no such file or directory, open 'examples/htdocs/dist/bundle.js'
    at Object.fs.openSync (fs.js:557:18)
    at Object.fs.writeFileSync (fs.js:1214:33)
    at output ./react-cognito/node_modules/babel-cli/lib/babel/file.js:92:10)
    at walk (./react-cognito/node_modules/babel-cli/lib/babel/file.js:154:5)
    at files (./react-cognito/node_modules/babel-cli/lib/babel/file.js:160:7)
    at module.exports ./react-cognito/node_modules/babel-cli/lib/babel/file.js:188:5)
    at Object.<anonymous> (./react-cognito/node_modules/babel-cli/lib/babel/index.js:130:1)
    at Module._compile (module.js:573:32)
    at Object.Module._extensions..js (module.js:582:10)
    at Module.load (module.js:490:32)

node 7.1.0, babel-cli 6.22.2 (babel-core 6.22.1)