Git Product home page Git Product logo

Comments (10)

marklundin avatar marklundin commented on May 24, 2024 1

It looks like playcanvas-extras.mjs is listed as an export, but the file is not included in the build

"import": "./build/playcanvas-extras.mjs",

engine/package.json

Lines 85 to 103 in 607e3a8

"files": [
"build/playcanvas.js",
"build/playcanvas.min.js",
"build/playcanvas.dbg.js",
"build/playcanvas.prf.js",
"build/playcanvas.mjs",
"build/playcanvas.min.mjs",
"build/playcanvas.dbg.mjs",
"build/playcanvas.prf.mjs",
"build/playcanvas.d.ts",
"build/playcanvas-extras.js",
"build/playcanvas-extras/index.js",
"scripts",
"LICENSE",
"package.json",
"README.md",
"README-ja.md",
"README-kr.md",
"README-zh.md"

from engine.

Maksims avatar Maksims commented on May 24, 2024 1

We've had also issues installing 1.69.0, and it was a very obscured error.
1.68.2 - works great.

from engine.

LeXXik avatar LeXXik commented on May 24, 2024 1

Worked for me using yarn add playcanvas -D:

{
  "name": "test",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "devDependencies": {
    "playcanvas": "^1.69.1"
  }
}

from engine.

marklundin avatar marklundin commented on May 24, 2024

Keeping this open, as it be also be related to

"playcanvas": "file:."

from engine.

mvaligursky avatar mvaligursky commented on May 24, 2024

@Maksims - could you please test to see if your issue is fixed in https://github.com/playcanvas/engine/releases/tag/v1.69.1

from engine.

marklundin avatar marklundin commented on May 24, 2024

Node v16 seems to have an issue resolving the circular dependancy at

"playcanvas": "file:."

v18 an upwards works. Updating description

from engine.

MAG-AdrianMeredith avatar MAG-AdrianMeredith commented on May 24, 2024

version v21.1.0 of node does not work. From my experience having a circular dependency is always a bad idea, whatever it is for could there be a better way? The issue I see is not that it can't find it, its also that its stuck in a infinite loop, it tries to fetch playcanvas, then tries to fetch the playcanvas of the playcanvas etc

from engine.

marklundin avatar marklundin commented on May 24, 2024

Thanks @MAG-AdrianMeredith we're looking into it. Can you confirm what version of yarn you're using?

from engine.

willeastcott avatar willeastcott commented on May 24, 2024

@marklundin This is now fixed, right?

from engine.

marklundin avatar marklundin commented on May 24, 2024

Yep, this should now be fixed with #6168

from engine.

Related Issues (20)

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.