collective / collective/generator-plonemockup
Make test fails with script errors
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Make test fails with the following output:
vagrant@mockup-generator:/vagrant$ make test-once
NODE_PATH=./node_modules ./node_modules/grunt-cli/bin/grunt test_once --pattern=
Running "jshint:all" (jshint) task
> > 5 files lint free.
Running "karma:testOnce" (karma) task
INFO [karma]: Karma v0.12.24 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
WARN [watcher]: Pattern "/vagrant/js/config.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/expect/index.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/plone-mockup/js/docsapp.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/plone-mockup/js/iframe.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/plone-mockup/js/iframe_init.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/plone-mockup/patterns/structure.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/plone-mockup/patterns/filemanager.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/plone-mockup/patterns/thememapper.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/plone-mockup/patterns/tinymce.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/plone-mockup/patterns/upload.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/plone-mockup/js/ui.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/bower_components/sinonjs/sinon.js" does not match any file.
WARN [watcher]: Pattern "/vagrant/patterns/*_/_" does not match any file.
INFO [PhantomJS 1.9.8 (Linux)]: Connected on socket wHNXpouiFHiOPjDORsG2 with id 26690022
WARN [web-server]: 404: /base/chai.js
WARN [web-server]: 404: /base/jquery.js
WARN [web-server]: 404: /base/fileupload-patterns-fileupload.js
WARN [web-server]: 404: /base/mockup-registry.js
PhantomJS 1.9.8 (Linux) ERROR: 'There is no timestamp for /base/chai.js!'
PhantomJS 1.9.8 (Linux) ERROR: 'There is no timestamp for /base/chai.js!'
PhantomJS 1.9.8 (Linux) ERROR LOG: 'There is no timestamp for /base/chai.js!'
PhantomJS 1.9.8 (Linux) ERROR: 'There is no timestamp for /base/jquery.js!'
PhantomJS 1.9.8 (Linux) ERROR: 'There is no timestamp for /base/jquery.js!'
PhantomJS 1.9.8 (Linux) ERROR LOG: 'There is no timestamp for /base/jquery.js!'
PhantomJS 1.9.8 (Linux) ERROR: 'There is no timestamp for /base/mockup-registry.js!'
PhantomJS 1.9.8 (Linux) ERROR: 'There is no timestamp for /base/mockup-registry.js!'
PhantomJS 1.9.8 (Linux) ERROR LOG: 'There is no timestamp for /base/mockup-registry.js!'
PhantomJS 1.9.8 (Linux) ERROR: 'There is no timestamp for /base/fileupload-patterns-fileupload.js!'
PhantomJS 1.9.8 (Linux) ERROR: 'There is no timestamp for /base/fileupload-patterns-fileupload.js!'
PhantomJS 1.9.8 (Linux) ERROR LOG: 'There is no timestamp for /base/fileupload-patterns-fileupload.js!'
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: chai
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: chai
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: chai
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: jquery
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: jquery
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: jquery
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: fileupload-patterns-fileupload
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: fileupload-patterns-fileupload
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: fileupload-patterns-fileupload
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: mockup-registry
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: mockup-registry
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux) ERROR
Error: Script error for: mockup-registry
http://requirejs.org/docs/errors.html#scripterror
at /vagrant/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux): Executed 0 of 0 ERROR (0.222 secs / 0 secs)
PhantomJS 1.9.8 (Linux): Executed 0 of 0 ERROR (0.222 secs / 0 secs)
Warning: Task "karma:testOnce" failed. Use --force to continue.
Aborted due to warnings.
make: **\* [test-once] Error 3
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure with make test-once and inspect the Grunt karma:testOnce output, especially the missing /base scripts and RequireJS errors for chai, jquery, mockup-registry, and fileupload-patterns-fileupload. Done means the test command loads these dependencies and executes the test suite without script errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100