-
Notifications
You must be signed in to change notification settings - Fork 197
Getting Uncaught ReferenceError: THREE is not defined after following yeoman generator tutorial #1947
Comments
@shuang2411 , thanks for the bug report. I will try to reproduce. |
@shuang2411 , I can't reproduce locally on mac with v14.11.0 of nodejs, 6.14.8 of npm, 3.1.1 of yeoman, and Mac OS 10.15.7. I know a colleague has node 15, I will ask if he can reproduce. |
@shuang2411 , I tried the following docker image: https://github.com/nzjony/docker-ubuntu-node Which has node:v15.0.1, npm:7.0.3, yo:3.1.1 and Ubuntu 18.04.5 LTS, but still couldn't reproduce. What command are you running? |
@shuang2411 , please also check with |
I can only find one yo after running I run this to generate the project Then I run I got these:
Then I open chrome on http://localhost:8080, and got all the errors in console. |
Hmm, I wonder if it has to do with webpack 5.4? I need to finish now but I will look again tomorrow. |
After trying the generation again I found these error:
And this my package.json:
Some of these errors seems self-contradicting, after I do I got these
There seems to be a conflict in dependency tree between the I am not very familiar with nodejs, please let me know even if the problem is trivial. Thank you! |
@shuang2411 , thank you! I managed to reproduce, I will fix! Again, thanks so much!! |
Signed-off-by: Jonathan Stichbury <[email protected]>
@shuang2411 , I just need to make a patch release, then you can retry this & hopefully it works. |
Signed-off-by: Jonathan Stichbury <[email protected]>
@shuang2411 , the generator is upgraded to |
It worked thank you so much! |
I am getting these error messages on the browser console after following the tutorial.
I am using v15.0.1 of nodejs, 6.14.8 of npm, 3.1.1 of yeoman and using WSL2(Ubuntu 18.04 LTS).
The text was updated successfully, but these errors were encountered: