You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello trying to run the I have copied the example repo and am trying to run the helloSpringy.js code on an empty actor but I am getting these error messages
Error: file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:761: ReferenceError: document is not defined Error: ReferenceError: document is not defined Error: at enableDismissTrigger (file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:761:21) Error: at file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:856:3 Error: at file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:7:83 Error: at file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:10:3 Error: at file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:5048:4 Error: at file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:5049:25 Error: at file:///../../../../../../davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/./ExampleScriptsFromUnrealJS/helloSpringy.js:210:5 Error: at file:///../../../../../../davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/./ExampleScriptsFromUnrealJS/helloSpringy.js:445:3 < Invalid script for require Error: file:///../../../../../../davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/./ExampleScriptsFromUnrealJS/helloSpringy.js:210: TypeError: require(...) is not a function Error: TypeError: require(...) is not a function Error: at file:///../../../../../../davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/./ExampleScriptsFromUnrealJS/helloSpringy.js:210:25 Error: at file:///../../../../../../davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/./ExampleScriptsFromUnrealJS/helloSpringy.js:445:3
I have installed the Unreal.js plugin and it seems to be working with a test javascript file that just console.logs() something that doesnt use the try catch structure in helloSpringy
I have also run an npm install in the Scripts folder to install existing dependencies
dgan11
changed the title
helloSpringy.js example not downloading additioanl dependencies
helloSpringy.js example not downloading additioanl dependencies (ReferenceErrorL document is not defined)
Feb 9, 2022
dgan11
changed the title
helloSpringy.js example not downloading additioanl dependencies (ReferenceErrorL document is not defined)
helloSpringy.js example not downloading additioanl dependencies (ReferenceError: document is not defined)
Feb 9, 2022
Hello trying to run the I have copied the example repo and am trying to run the helloSpringy.js code on an empty actor but I am getting these error messages
Error: file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:761: ReferenceError: document is not defined Error: ReferenceError: document is not defined Error: at enableDismissTrigger (file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:761:21) Error: at file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:856:3 Error: at file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:7:83 Error: at file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:10:3 Error: at file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:5048:4 Error: at file:////Users/davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/node_modules/bootstrap/dist/js/bootstrap.js:5049:25 Error: at file:///../../../../../../davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/./ExampleScriptsFromUnrealJS/helloSpringy.js:210:5 Error: at file:///../../../../../../davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/./ExampleScriptsFromUnrealJS/helloSpringy.js:445:3 < Invalid script for require Error: file:///../../../../../../davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/./ExampleScriptsFromUnrealJS/helloSpringy.js:210: TypeError: require(...) is not a function Error: TypeError: require(...) is not a function Error: at file:///../../../../../../davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/./ExampleScriptsFromUnrealJS/helloSpringy.js:210:25 Error: at file:///../../../../../../davidgan/Desktop/UEAuthDemo/UEAuthDemo/Content/Scripts/./ExampleScriptsFromUnrealJS/helloSpringy.js:445:3
I have installed the Unreal.js plugin and it seems to be working with a test javascript file that just console.logs() something that doesnt use the try catch structure in helloSpringy
My helloSpringy.js looks exactly like this
My Scripts folder looks like this (it includes bootstrap.js)
And my package.json file looks like this
{ "name": "unrealjs_examples", "version": "1.0.0", "main": "index.js", "type": "module", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "NCSOFT", "license": "ISC", "dependencies": { "bootstrap": "^5.1.3", "convnetjs": "^0.3.0", "springy": "^2.8.0" }, "directories": { "test": "tests" }, "description": "" }
The text was updated successfully, but these errors were encountered: