Open rstropek opened 6 years ago
Also note that you use browser-sync in your NPM scripts. However, browser-sync is not included in your references in package.json. Don't forget to run npm install browser-sync --save-dev
.
Greetings, Rainer Stropek.
Hmm, after a closer look I think that browser-sync is no longer needed, is it? If not, please delete the related script in package.json.
Greetings, Rainer Stropek.
Browser-sync isn´t needed anymore that´s right. Still I am facing the issue of exports not defines in my game.js:2. I guess it has something to do with game.js running in the browser because in server.js there´s also an 'exports' but it doesn´t run on the browser
Hi @Mkublbock
I am currently looking at your code because of the issue you created. I recognized that you checked in the node_modules folder. Don't do that. It is unnecessarily large and other developers who would like to contribute will run into troubles.
I recommend creating a .gitignore file and adding node_modules to it.
Greetings, Rainer Stropek.