Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plan to adapt jspsych V8? #56

Closed
Tongzhao9417 opened this issue Aug 10, 2024 · 1 comment
Closed

Any plan to adapt jspsych V8? #56

Tongzhao9417 opened this issue Aug 10, 2024 · 1 comment

Comments

@Tongzhao9417
Copy link

I install jspsych-builder and update jspsych manually. There are some errors to lanuch.

> jspsych -e experiment run

  ✖ Building experiment
    → Add the extension to the request.
    Starting development server

Error:
ERROR in ./node_modules/jspsych/dist/index.js 3:0-45
Module not found: Error: Can't resolve 'seedrandom/lib/alea' in '/Users/tongzhao/Documents/Experiment_for_Doctoral_Thesis/corruption_exp/node_modules/jspsych/dist'
Did you mean 'alea.js'?
BREAKING CHANGE: The request 'seedrandom/lib/alea' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

If some help I can provide, it's my pleasure.

@Tongzhao9417
Copy link
Author

Oh, I sovled it by jspsych/jsPsych#3365. Just add ".js" at ./node_modules/jspsych/dist/index.js 3:0-45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant