You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2019. It is now read-only.
Hi, I've tried to get my own custom build with only a timeline and dataset. I used the code from the example and get the following error:
xxxxx:vis xx$ browserify custom.js -t babelify -o vis-custom.js -s vis
Error: Parsing file /Users/xx/vis/lib/timeline/Timeline.js: 'import' and 'export' may appear only with 'sourceType: module' (18:0)
at Deps.parseDeps (/usr/local/lib/node_modules/browserify/node_modules/module-deps/index.js:454:28)
at fromSource (/usr/local/lib/node_modules/browserify/node_modules/module-deps/index.js:391:44)
at /usr/local/lib/node_modules/browserify/node_modules/module-deps/index.js:385:17
at ConcatStream.<anonymous> (/usr/local/lib/node_modules/browserify/node_modules/concat-stream/index.js:36:43)
at emitNone (events.js:91:20)
at ConcatStream.emit (events.js:185:7)
at finishMaybe (/usr/local/lib/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:475:14)
at endWritable (/usr/local/lib/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:485:3)
at ConcatStream.Writable.end (/usr/local/lib/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:455:41)
at DuplexWrapper.onend (/usr/local/lib/node_modules/browserify/node_modules/readable-stream/lib/_stream_readable.js:500:10)
The custom.js is just from the official example too:
Hi, I've tried to get my own custom build with only a timeline and dataset. I used the code from the example and get the following error:
The custom.js is just from the official example too:
I have updated all the necessary utilities (node etc.):
What I am doing wrong?
The text was updated successfully, but these errors were encountered: