yigitozdemir

Grunt Error

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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.