Giter VIP home page Giter VIP logo

choo-dat-hypha's People

Contributors

jondashkyle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

choo-dat-hypha's Issues

TypeError: Cannot set property 'error' of undefined at createArchive

Hi,

this might be a dumb error, as I am poking with node.js and choo.js only for a few times now, and have not yet an idea of how to set things up.

What I do is:

  1. npx create-choo-app <project-directory>
  2. cd <project-directory> && npm i choo-dat-hypha
  3. I follow your instructions on how to add the new hypha module to choo.js and make a content folder with an index.txt, plus one sub-folder with an index.txt as well (and some text fields inside each text file).
  4. I add app.use(require('choo-dat-hypha')('/content')) to index.js; I make a new wrapper.js file in /views, do npm install xtend and use the wrapper.js module in views/main.js

I run npm start and get the following error log (running node v8.7.0)

A critical error occured, forcing Bankai to abort:
npm ERR! code ELIFECYCLE
npm ERR! errno 1t set property 'error' of undefined
npm ERR! [email protected] start: `bankai start index.js`n/node_modules/choo-dat-hypha/npm ERR! Exit status 1
npm ERR! ore (/Users/xx/xx/tekken/node_modules/choo-dat-hypha/index.jsnpm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.nonymous> (/Users/xx/xx/tekken/index.js:8:5)
    at Module._compile (module.js:624:30)
npm ERR! A complete log of this run can be found in:10)
npm ERR!     /Users/xx/.npm/_logs/2018-01-09T22_38_25_092Z-debug.log
~/xx/tekken (master) $ :508:12)
    at Function.Module._load (module.js:500:3)
    at Module.require (module.js:568:17)

Before I get this error, another error appears

TypeError: Cannot set property 'error' of undefined
    at createArchive (/Users/xx/xx/tekken/node_modules/choo-dat-hypha/index.js:56:27)
    at store (/Users/xx/xx/tekken/node_modules/choo-dat-hypha/index.jsscripts:browserify.bundle unsupported type for static module: Property
at expression:

  fs: fs
 while parsing file: /Users/xx/xx/tekken/node_modules/hypha/index.js
Error: unsupported type for static module: Property
at expression:

  fs: fs
 while parsing file: /Users/xx/xx/tekken/node_modules/hypha/index.js
    at traverse (/Users/xx/xx/tekken/node_modules/static-module/index.js:318:34)
    at walk (/Users/xx/xx/tekken/node_modules/static-module/index.js:224:18)
    at walk (/Users/xx/xx/tekken/node_modules/falafel/index.js:49:9)
    at /Users/xx/xx/tekken/node_modules/falafel/index.js:46:17
    at forEach (/Users/xx/xx/tekken/node_modules/foreach/index.js:12:16)
    at walk (/Users/xx/xx/tekken/node_modules/falafel/index.js:34:9)
    at /Users/xx/xx/tekken/node_modules/falafel/index.js:41:25
    at forEach (/Users/xx/xx/tekken/node_modules/foreach/index.js:12:16)
    at /Users/xx/xx/tekken/node_modules/falafel/index.js:39:17
    at forEach (/Users/xx/xx/tekken/node_modules/foreach/index.js:12:16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.