Skip to content

Devkit strange behavior with jsio #273

@clarxor

Description

@clarxor

Using whackamole for reference here.

If you follow the instructions from the website 'Quick start- Game walkthrough' and execute the following steps-

  1. Clone from the whackamole repo
  2. Change directory to whackamole
  3. Run devkit install

-it seems to produce a fatal error involving the jsio module.

`$ devkit install
(node:4684) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
[install] Installing devkit-core@v3.0.2...
Adding devkit-core@v3.0.2
[module] set version devkit-core@v3.0.2
[install] Copying C:\ucsd\whackthatmole\modules
[cache] installing devkit-core at C:\ucsd\whackthatmole\modules\devkit-core
[module] running install scripts...
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

devkit-core@3.0.2 preinstall C:\ucsd\whackthatmole\modules\devkit-core
sh scripts/preinstall.sh

Synchronizing submodule url for 'modules/native-android'
Synchronizing submodule url for 'modules/native-ios'
Synchronizing submodule url for 'modules/squill'
Synchronizing submodule url for 'modules/timestep'
Synchronizing submodule url for 'node_modules/jsio'
fatal: destination path 'C:/UCSD/whackthatmole/modules/devkit-core/node_modules/jsio' already exists and is not an empty directory.
fatal: clone of 'https://github.com/gameclosure/js.io' into submodule path 'C:/UCSD/whackthatmole/modules/devkit-core/node_modules/js io' failed
Failed to clone 'node_modules/jsio'. Retry scheduled
fatal: destination path 'C:/UCSD/whackthatmole/modules/devkit-core/node_modules/jsio' already exists and is not an empty directory.
fatal: clone of 'https://github.com/gameclosure/js.io' into submodule path 'C:/UCSD/whackthatmole/modules/devkit-core/node_modules/js io' failed
Failed to clone 'node_modules/jsio' a second time, aborting

  • minimatch@3.0.3 node_modules\nib\node_modules\minimatch
  • glob@7.0.6 node_modules\nib\node_modules\glob
  • replace-ext@0.0.1 node_modules\replace-ext
    devkit-core@3.0.2 C:\ucsd\whackthatmole\modules\devkit-core
    -- d@0.1.1 extraneous

I'm on windows 10 using git bash admin privileges. After this error I simply delete the jsio module and run npm install in the directory to fix it. However I was wondering if this was intentional/unintentional behavior, or even maybe a mistake on my part.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions