Search the Community
Showing results for tags 'installation'.
-
I would love to know how come npm install doesn't work on a mac. I have tried numerous times during the last months, when it was still in beta. I am running sudo npm install [email protected] and I always get the following issues, also I am using node v8.9.4 I know they are just warnings, but nothing is in my local directory. I have also tried with the --save flag. I checked the global location just in case and there is nothing there either xxx-MacBook-Pro:phaser3 xxx$ sudo npm install [email protected] Password: npm WARN saveError ENOENT: no such file or directory, open '/Users/xxx/package.json' npm WARN enoent ENOENT: no such file or directory, open '/Users/xxx/package.json' npm WARN xxx No description npm WARN xxx No repository field. npm WARN xxx No README data npm WARN xxx No license field. + [email protected] updated 1 package in 2.42s
-
I'm developing a game and I plan on using Pixi.js for it. I tried installing Pixi.js on my computer by using the NPM install and it did create the node_modules file but, when I tried implementing Pixi.js into my app.js file, I got an error on the browser saying PIXI is not defined. I assumed this meant that it was still not implemented despite installing it. I even tried starting fresh by creating a new project with npm init and then typing npm install pixi.js. So I tried searching for an installation tutorial and couldn't find anything, so I'm pretty stressed out from all this. Is there something I'm missing? Is there something I'm not doing right?