Code Monkey home page Code Monkey logo

nativescript-dev-assets's People

Contributors

mudlabs avatar rhanb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nativescript-dev-assets's Issues

Package.json fixes

Hey @rhanb - Hey congrats on your plugin! I noticed your package.json file is incomplete. It is not linking back to your github nor is does it have you as the author. If you need some help with how to lay it out; please see https://plugins.nativescript.rocks/create and it has each of the package.json keys. And again congrats on getting this cool plugin out!

No assets folder found in Android platform

Can't build app after install

  1. tns install nativescript-dev-assets
  2. Confirmed the addition of an assets folder in app/assets
  3. tns platform update android
  4. tns device android confirmed device was connected
  5. tns run android errored out with;
Executing before-prepare hook from /hooks/before-prepare/nativescript-dev-assets.js
No assets folder found in Android platform at: /platforms/android/src/main/assets
Unable to apply changes on device: HT247W122555. Error is: Failed to execute hook: /hooks/before-prepare/nativescript-dev-assets.js..

Error when creating a template project

This template: https://github.com/nstudio/template-nstudio-plain

tns create my-app-name --template https://github.com/nstudio/template-nstudio-plain

will error with:

Brads-MBP:desktop bradmartin$ tns create my-app-name --template https://github.com/nstudio/template-nstudio-plain

Installing  https://github.com/nstudio/template-nstudio-plain
⸨       ░░░░░░░░░░░⸩ ⠧ postinstall: sill install executeActions
fs.js:885
  return binding.mkdir(pathModule._makeLong(path),
                 ^

Error: ENOENT: no such file or directory, mkdir '/Users/bradmartin/Desktop/my-app-name/app/assets'
    at Object.fs.mkdirSync (fs.js:885:18)
    at Object.<anonymous> (/Users/bradmartin/Desktop/my-app-name/node_modules/nativescript-dev-assets/postinstall.js:12:12)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Function.Module.runMain (module.js:676:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3
Command npm install nativescript-dev-assets --save-dev failed with exit code 1

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.