Jump to content

Phaser 3 Build Failing - Copy-to-Examples failed: Phaser 3 Examples not present at ../phaser3-examples


shibamiko
 Share

Recommended Posts

Trying to initiate the build on my Phaser 3 game,  so I can serve it on github pages.

Webpack is installed. package.json looks like this:

"name": "phaser",
  "version": "3.12.0-beta3",
  "release": "Silica",
  "description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.",
  "author": "Richard Davey <rich@photonstorm.com> (http://www.photonstorm.com)",
  "logo": "https://raw.github.com/photonstorm/phaser/master/phaser-logo-small.png",
  "homepage": "./",
  "bugs": "https://github.com/photonstorm/phaser/issues",
  "license": "MIT",
  "licenseUrl": "http://www.opensource.org/licenses/mit-license.php",
  "main": "./src/phaser.js",
  "repository": {
    "type": "git",
    "url": "https://photonstorm@github.com/photonstorm/phaser.git"
  },
  "scripts": {
    "help": "node scripts/help.js",
    "build": "webpack",
    "watch": "webpack --watch",
    "dist": "webpack --config webpack.dist.config.js",
    "lint": "eslint --config .eslintrc.json \"src/**/*.js\"",
    "lintfix": "eslint --config .eslintrc.json \"src/**/*.js\" --fix",
    "sloc": "node-sloc \"./src\" --include-extensions \"js\"",
    "bundleshaders": "node scripts/bundle-shaders.js",
    "postinstall": "node scripts/support.js",
    "predeploy": "npm run build",
    "deploy": "gh-pages -d build"

...

Everytime I run npm run build, I get this error --> Copy-to-Examples failed: Phaser 3 Examples not present at ../phaser3-examples.

I searched my whole repo, there's no /phaser3-examples folder. Not sure what I need to do in order to bypass this error.

Any help is appreciated, thanks all!

Cecille

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...