Code Monkey home page Code Monkey logo

cordova-react-template's People

Contributors

dkaminari avatar oraad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

cordova-react-template's Issues

Current working directory is not a Cordova-based project.

Hi folks,

When trying to spin this up, I get as far as cloning from template cordova create CordovaReactApp au.edu.faims.CordovaReactApp CordovaReactApp --template cordova-react , and runningcordova platform add android and it returns Current working directory is not a Cordova-based project.

I suspect there are some version games going on here. Thoughts on how I can improve replication/fix issue?

npm stat => TypeError: dirent.isDirectory is not a function

OS : Linux
Command : cordova platform add browser / npm start

Output :

damien@damien-P553UA:~/Dev/MyReactApp$ npm start

[email protected] start /home/damien/Dev/MyReactApp
node assets/scripts/start-dev.js

Setting up Symbolic links...
(node:3592) UnhandledPromiseRejectionWarning: TypeError: dirent.isDirectory is not a function
at fs.readdirSync.filter (/home/damien/Dev/MyReactApp/assets/scripts/symlink.js:114:36)
at Array.filter ()
at listPlatforms (/home/damien/Dev/MyReactApp/assets/scripts/symlink.js:114:10)
at Object.createSymlink [as create] (/home/damien/Dev/MyReactApp/assets/scripts/symlink.js:40:56)
at Object.start (/home/damien/Dev/MyReactApp/assets/scripts/dev-env.js:31:13)
at Object. (/home/damien/Dev/MyReactApp/assets/scripts/start-dev.js:11:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
(node:3592) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:3592) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
^CStopping Dev Server...
Cleaning up Symbolic Links...
/home/damien/Dev/MyReactApp/assets/scripts/symlink.js:66
if (dirent.isSymbolicLink()) {
^

TypeError: dirent.isSymbolicLink is not a function
at fs.readdirSync.forEach.dirent (/home/damien/Dev/MyReactApp/assets/scripts/symlink.js:66:24)
at Array.forEach ()
at Object.cleanupSymlink [as cleanup] (/home/damien/Dev/MyReactApp/assets/scripts/symlink.js:64:10)
at Object.stop (/home/damien/Dev/MyReactApp/assets/scripts/dev-env.js:143:13)
at process. (/home/damien/Dev/MyReactApp/assets/scripts/start-dev.js:22:16)
at emitNone (events.js:106:13)
at process.emit (events.js:208:7)
at Signal.wrap.onsignal (internal/process.js:208:44)

Error: dirent.isSymbolicLink is not a function

I'm trying to run this, starting from a fresh template.

At first I had complaints about files already existing in www, but then I deleted everything in that directory.

I am still getting the error Error: dirent.isSymbolicLink is not a function; any idea how to resolve this?

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.