Hi, smart people of Adapt,
Please help me pass the installation process so I can start enjoying your wonderful framework.
1. I deleted all old node modules on my Mac and installed a fresh new node.js and npm.
2. I installed sudo npm adapt and grunt-cli.
3. I answered all questions after typing in adapt create course. And this is what I get from my terminal:
quiz1 has been created.
To build the course, run:
cd quiz1
grunt build
Then to view the course, run:
grunt server
Julias-MBP:quiz juliarietveld$ cd quiz1
Julias-MBP:quiz1 juliarietveld$ grunt build
grunt-cli: The grunt command line interface. (v0.1.13)
Fatal error: Unable to find local grunt.
If you're seeing this message, either a Gruntfile wasn't found or grunt
hasn't been installed locally to your project. For more information about
installing and configuring grunt, please see the Getting Started guide:
http://gruntjs.com/getting-started
Julias-MBP:quiz1 juliarietveld$ npm install grunt
grunt@0.4.5 node_modules/grunt
├── which@1.0.8
├── dateformat@1.0.2-1.2.3
├── eventemitter2@0.4.14
├── getobject@0.1.0
├── rimraf@2.2.8
├── colors@0.6.2
├── async@0.1.22
├── hooker@0.2.3
├── grunt-legacy-util@0.2.0
├── exit@0.1.2
├── nopt@1.0.10 (abbrev@1.0.5)
├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0)
├── lodash@0.9.2
├── coffee-script@1.3.3
├── underscore.string@2.2.1
├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3)
├── iconv-lite@0.2.11
├── findup-sync@0.1.3 (lodash@2.4.1, glob@3.2.11)
├── grunt-legacy-log@0.1.1 (underscore.string@2.3.3, lodash@2.4.1)
└── js-yaml@2.0.5 (esprima@1.0.4, argparse@0.1.16)
Julias-MBP:quiz1 juliarietveld$ grunt build
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'matchdep'
Warning: Task "build" not found. Use --force to continue.
Aborted due to warnings.
Julias-MBP:quiz1 juliarietveld$ npm install grunt-cli
npm WARN prefer global grunt-cli@0.1.13 should be installed with -g
grunt-cli@0.1.13 node_modules/grunt-cli
├── resolve@0.3.1
├── nopt@1.0.10 (abbrev@1.0.5)
└── findup-sync@0.1.3 (lodash@2.4.1, glob@3.2.11)
Julias-MBP:quiz1 juliarietveld$ grunt -v
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'matchdep'
>> at Function.Module._resolveFilename (module.js:338:15)
>> at Function.Module._load (module.js:280:25)
>> at Module.require (module.js:364:17)
>> at require (module.js:380:17)
>> at Object.module.exports (/Users/juliarietveld/Documents/MMRIA13/eLearning/adapt/quiz/quiz1/Gruntfile.js:2:5)
>> at loadTask (/Users/juliarietveld/Documents/MMRIA13/eLearning/adapt/quiz/quiz1/node_modules/grunt/lib/grunt/task.js:325:10)
>> at Task.task.init (/Users/juliarietveld/Documents/MMRIA13/eLearning/adapt/quiz/quiz1/node_modules/grunt/lib/grunt/task.js:437:5)
>> at Object.grunt.tasks (/Users/juliarietveld/Documents/MMRIA13/eLearning/adapt/quiz/quiz1/node_modules/grunt/lib/grunt.js:120:8)
>> at Object.module.exports [as cli] (/Users/juliarietveld/Documents/MMRIA13/eLearning/adapt/quiz/quiz1/node_modules/grunt/lib/grunt/cli.js:38:9)
>> at Object.<anonymous> (/usr/local/lib/node_modules/grunt-cli/bin/grunt:45:20)
No tasks specified, running default tasks.
Running tasks: default
Warning: Task "default" not found. Use --force to continue.
Aborted due to warnings.
Julias-MBP:quiz1 juliarietveld$
4. I'm lost. Please help! Thank you so much!
Julia