Jump to content

Grunt Error


yigitozdemir
 Share

Recommended Posts

Hi,

 

I wanted to start contributing Phaser, so i need to test first what is my changes affect. So i installed both grunt and grunt-cli package via npm.

 

I moved into phaser Directory, and wrote grunt.

 

Here is output:

Loading "Gruntfile.js" tasks...ERROR>> Error: Cannot find module 'load-grunt-config'Warning: Task "default" not found. Use --force to continue.Aborted due to warnings.

And i said "yeah may it need gruntfile" and wrote a command again

 

grunt --gruntfile Gruntfile.js

Loading "Gruntfile.js" tasks...ERROR>> Error: Cannot find module 'load-grunt-config'Warning: Task "default" not found. Use --force to continue.Aborted due to warnings.

So it gave me another error.

 

Ok. It might be wrong, it may need tasks, i wrote again grunt --tasks tasks/

Loading "Gruntfile.js" tasks...ERROR>> Error: Cannot find module 'load-grunt-config'Loading "buildtsdoc.js" tasks...ERROR>> Error: Cannot find module 'typescript'Warning: Task "default" not found. Use --force to continue.

This is my very first time using grunt, so i dont have an idea, what is error about.

Can you help me to solve this error?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...