/Users/sam/mmsys/acm-mmsys-2020-grand-challenge-master/dash.js/index.js:31
import { MediaPlayer } from './index_mediaplayerOnly';
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'Warning: Error running grunt-browserify. Use --force to continue.
Aborted due to warnings.
Execution Time (2021-09-29 21:04:18 UTC-4)
loading tasks 1.5s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 57%
browserSync:bsFiles 552ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 21%
browserify:watch_dev 584ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 22%
Total 2.6s
What could be the reason for this error? is it a version mismatch between node and grunt.
I use node version 14.15.1 , grunt version 1.4.1 and grunt-cli version 1.4.3
Hi,
While setting up the project and when i run grunt dev, i get this error.
sam@mac dash.js % grunt dev
Loading "jscs.js" tasks...ERROR >> ReferenceError: primordials is not defined
Running "browserSync:bsFiles" (browserSync) task [HTML Injector] Running... [Browsersync] Access URLs:
UI External: http://localhost:3001
[Browsersync] Serving files from: ./ [Browsersync] Watching files...
Running "browserify:watch_dev" (browserify) task
Aborted due to warnings.
Execution Time (2021-09-29 21:04:18 UTC-4) loading tasks 1.5s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 57% browserSync:bsFiles 552ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 21% browserify:watch_dev 584ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 22% Total 2.6s
What could be the reason for this error? is it a version mismatch between node and grunt.
I use node version 14.15.1 , grunt version 1.4.1 and grunt-cli version 1.4.3