vis-timeline icon indicating copy to clipboard operation
vis-timeline copied to clipboard

Cannot build project

Open ayberkcal opened this issue 3 years ago • 0 comments

I would like to build project however I faced exception.

branch: master npm version: 8.3.0 commands:

git pull origin master
npm install
npm run build

output:

......
created ., . in 5.7s                                                                                                              
                                                                                                                                  
lib/bundle-legacy.js → dist/vis-timeline-graph2d.esm.js...                                                                        
[!] Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)                                  
../../../../C:/development/playground/vis-timeline/lib/shared/bootstrap.css (3:0)                                                 
1: /* override some bootstrap styles screwing up the timelines css */                                                             
2:                                                                                                                                
3: .vis [class*="span"] {                                                                                                         
   ^                                                                                                                              
4:   min-height: 0;                                                                                                               
5:   width: auto;                                                                                                                 
Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)                                      
    at error (c:\development\playground\vis-timeline\node_modules\rollup\dist\shared\rollup.js:198:30)                            
    at Module.error (c:\development\playground\vis-timeline\node_modules\rollup\dist\shared\rollup.js:12555:16)                   
    at Module.tryParse (c:\development\playground\vis-timeline\node_modules\rollup\dist\shared\rollup.js:12932:25)                
    at Module.setSource (c:\development\playground\vis-timeline\node_modules\rollup\dist\shared\rollup.js:12837:24)               
    at ModuleLoader.addModuleSource (c:\development\playground\vis-timeline\node_modules\rollup\dist\shared\rollup.js:22311:20) 

ayberkcal avatar Sep 12 '22 15:09 ayberkcal