Git Product home page Git Product logo

Comments (6)

haydenjameslee avatar haydenjameslee commented on May 14, 2024 1

The nodejs-terminal.txt looks correct.

Pasting the other logs you sent via DM:

index.js:73 A-Frame Version: 0.5.0 (Date 10-02-2017, Commit #110055d)
index.js:74 three Version: ^0.83.0
index.js:75 WebVR Polyfill Version: dmarcos/webvr-polyfill#a02a8089b
basic.html:6 GET http://localhost:8080/build.js 
basic.html:30 Uncaught ReferenceError: NAF is not defined
    at basic.html:30
(anonymous) @ basic.html:30
browser.js:117 core:propertyTypes:warn `src` property type is deprecated. Use `asset` instead. +0ms
three.js:19590 THREE.WebGLRenderer 83

It shouldn't be using build.js. Replace that line of code with this one:

<script src="https://unpkg.com/networked-aframe/dist/networked-aframe.min.js"></script>

Hopefully that solves it.

Also, check out this tutorial on a good way to get started with Networked-Aframe.

Let me know if that doesn't solve it.

from networked-aframe.

haydenjameslee avatar haydenjameslee commented on May 14, 2024 1

Since its happening to a few people I'll change the examples so they don't use build.js soon.

from networked-aframe.

haydenjameslee avatar haydenjameslee commented on May 14, 2024

Could you post the logs of the browser's developer logs and the NodeJS console where you ran npm start?

from networked-aframe.

dilanshah avatar dilanshah commented on May 14, 2024

This is the text file from my terminal.
nodejs-terminal.txt
I've messaged you on A-Frame slack with a clarifying question about how to post the rest of the requested info.

from networked-aframe.

pmccauley avatar pmccauley commented on May 14, 2024

I ran into the exact same issue on a mac. Though I don't see anything about build.js in the file. I'm using firefox nightly. Tracing back through to see If I am missing something.

Scratch that I had the same issue in the basic.html its build.js so found that replaced it now it works. THanks.

from networked-aframe.

haydenjameslee avatar haydenjameslee commented on May 14, 2024

The examples now use the unpkg reference instead of build.js: 7969848

from networked-aframe.

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.