Coder Social home page Coder Social logo

generator-ox-ui-module's People

Contributors

dotcore avatar joerankuschel avatar johnyb avatar mattcurtisox avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

generator-ox-ui-module's Issues

TypeError: Cannot read property 'hasOwnProperty' of undefined

This error came up when I tried to lay out the boilerplate for first time:

/Users/michael-heuberger/code/smx/appsuite-theme-test ❯❯❯ ./node_modules/.bin/yo ox-ui-module
    force .yo-rc.json
TypeError: Cannot read property 'hasOwnProperty' of undefined
    at OxUiModuleGenerator.end (/Users/michael-heuberger/code/smx/appsuite-theme-test/node_modules/generator-ox-ui-module/generators/app/index.js:85:83)
    at Object.<anonymous> (/Users/michael-heuberger/code/smx/appsuite-theme-test/node_modules/yeoman-generator/lib/index.js:751:25)
    at /Users/michael-heuberger/code/smx/appsuite-theme-test/node_modules/run-async/index.js:47:25
    at new Promise (<anonymous>)
    at /Users/michael-heuberger/code/smx/appsuite-theme-test/node_modules/run-async/index.js:24:19
    at runLoop.add.taskCompleted (/Users/michael-heuberger/code/smx/appsuite-theme-test/node_modules/yeoman-generator/lib/index.js:752:11)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
    at process.topLevelDomainCallback (domain.js:126:23)

Unable to generate packages or create distribution bundle

Full console output pasted here: https://oxpad.net/uRsKrNdWrn

OSX Yosemite 10.10.2
Node v0.10.36
NPM v2.8.4
yo v1.4.6
generator-ox-ui-module v0.14.0

If I create a blank, brand new project and build it with grunt, then try to package it, I get the following errors for the following commands:

grunt dist:source --include-dependencies

Warning: Unable to write "dist/testapp-0.0.0/node_modules/appserver" file (Error code: EISDIR). Use --force to continue.

Aborted due to warnings.

yo ox-ui-module:rpm-pkg

/usr/local/lib/node_modules/generator-ox-ui-module/lib/pkg_generator.js:11
    var pkgFile = options.argv.remain[0] || 'package.json';
                              ^
TypeError: Cannot read property 'remain' of undefined

yo ox-ui-module:deb-pkg

/usr/local/lib/node_modules/generator-ox-ui-module/lib/pkg_generator.js:11
    var pkgFile = options.argv.remain[0] || 'package.json';
                              ^
TypeError: Cannot read property 'remain' of undefined

I may be doing something incorrectly, but I've been following instructions listed at: http://oxpedia.org/wiki/index.php?title=AppSuite:GettingStarted_7.6.0#Packaging

As best I can tell, this is a bug, but feel free to correct me if not.

Unable to build RPM pkg, failing on missing eslint config file

node version 6.11.1
npm version 3.10.10
yo version 2.0.0
generator-ox-ui-module version 0.16.1
CentOS 7.3

Building a new and empty project, running grunt rpm-build --include-dependencies fails with the error:

Running` "eslint:all" (eslint) task
Warning: No ESLint configuration found. Use --force to continue.

The entire output can be found here: https://gist.github.com/martygra/c992db678ea1550fcde015a5ada2c8fd

I'm unable to figure out which eslint config file the Grunt task is looking for.

Running grunt eslint:all in my project directory successfully completes.

[vagrant@localhost mypackage]$ grunt eslint:all
Running "eslint:all" (eslint) task

Done, without errors.

Running grunt eslint:all in the rpmbuild/BUILD directory, where I believe exec:rpmbuild is trying to run it at fails on the missing eslint config:

[vagrant@localhost mypackage-0.0.0]$ grunt eslint:all
Running "eslint:all" (eslint) task
Warning: No ESLint configuration found. Use --force to continue.

Aborted due to warnings.

Can't find variable: require

image

This occurs on running grunt dev in the app generated by ox-ui-module.

My stack:
Node: v8.9.0
Npm: 5.6.1

Also it always throw error about npm when it is installed globally. I've to run add npm in local dependencies to bypass the error. (npm exists in PATH, yet the error)
Error: Cannot find module 'npm'

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.