covfee make .
✔ 1 covfee project files found.
✔ Read covfee file example.covfee.json.
✖ Error validating project "My Covfee Project" in example.covfee.json.
Traceback (most recent call last):
File "/Users/sdrwacker/workspace/covfee/covfee/cli/commands/launch.py", line 163, in make
covfee_make(file_or_folder, force=force, rms=rms, stdout_enabled=True)
File "/Users/sdrwacker/workspace/covfee/covfee/utils.py", line 31, in covfee_make
project_folder.validate(with_spinner=stdout_enabled)
File "/Users/sdrwacker/workspace/covfee/covfee/covfee_folder.py", line 99, in validate
raise e
File "/Users/sdrwacker/workspace/covfee/covfee/covfee_folder.py", line 96, in validate
self.validate_project(project_spec, cf, with_spinner=with_spinner)
File "/Users/sdrwacker/workspace/covfee/covfee/covfee_folder.py", line 75, in validate_project
filter = AjvValidator()
^^^^^^^^^^^^^^
File "/Users/sdrwacker/workspace/covfee/covfee/shared/validator/ajv_validator.py", line 29, in __init__
raise e
Exception: Error running JS validator /Users/sdrwacker/workspace/covfee/covfee/server/../shared/validator/validator_service.js
/Users/sdrwacker/workspace/covfee/node_modules/node-gyp-build/node-gyp-build.js:60
throw new Error('No native build was found for ' + target + '\n loaded from: ' + dir + '\n')
^
Error: No native build was found for platform=darwin arch=arm64 runtime=node abi=108 uv=1 armv=8 libc=glibc node=18.16.0
loaded from: /Users/sdrwacker/workspace/covfee/node_modules/zeromq
at load.resolve.load.path (/Users/sdrwacker/workspace/covfee/node_modules/node-gyp-build/node-gyp-build.js:60:9)
at load (/Users/sdrwacker/workspace/covfee/node_modules/node-gyp-build/node-gyp-build.js:22:30)
at Object.<anonymous> (/Users/sdrwacker/workspace/covfee/node_modules/zeromq/lib/native.js:6:43)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/Users/sdrwacker/workspace/covfee/node_modules/zeromq/lib/index.js:3:16)
Node.js v18.16.0
{
"id": "getting_started",
"name": "My Covfee Project",
"email": "[email protected]",
"hits": [
{
"id": "hit1",
"name": "HIT1",
"tasks": [
{
"name": "Demographics",
"type": "QuestionnaireTask",
"form": {
"fields": [
{
"name": "age",
"label": "Your age:",
"input": {
"inputType": "InputNumber"
}
},
{
"name": "sex",
"label": "Your sex:",
"input": {
"inputType": "Select",
"options": [
{"label": "Male", "value": "m"},
{"label": "Female", "value": "f"}
]
}
},
{
"name": "nationality",
"label": "Your nationality:",
"input": {
"inputType": "Input"
}
}
]
}
},
{
"name": "Instructions",
"type": "InstructionsTask",
"content": {
"type": "link",
"url": "$$www$$/instructions.md"
}
},
{
"name": "Arousal annotation",
"type": "Continuous1DTask",
"media": {
"type": "video",
"url": "https://cdn.jsdelivr.net/gh/josedvq/covfee@master/samples/keypoints/www/person_reading.mp4"
},
"intensityInput": {
"mode": "ranktrace"
}
},
{
"name": "Feedback",
"type": "QuestionnaireTask",
"form": {
"fields": [
{
"name": "rating",
"label": "How would you rate your experience in completing this experiment?",
"required": true,
"input": {
"inputType": "Rate",
"half": true
}
},{
"name": "feedback",
"label": "Do you have any comments that can help us improve the experience?",
"input": {
"inputType": "Input.TextArea"
}
}
]
}
}
],
"interface": {
"type": "timeline"
}
}
]
}
.
├── example.covfee.json
└── www
└── instructions.md