Can't install the box-ui-elements npm package (axios dependency issue)
I have the newest axios version installed, preventing me from installing the aforementioned package because it depends on me having .18.1, when I have .21.1. Any way around this issue? If I force installation, I'm unable to gulp build because of a Terser issue when importing the content explorer object into another js file. Here is the log:
[00:13:30] [Webpack errors]:
[00:13:30] activity-sidebar.js from Terser
Unexpected token: punc (:) [webpack://./node_modules/box-ui-elements/node_modules/setimmediate/setImmediate.js:80,12][activity-sidebar.js:30380,18]
at js_error (/Users/bustosman/Documents/GitHub/Box/Integration/node_modules/terser/dist/bundle.min.js:550:11)
at croak (/Users/bustosman/Documents/GitHub/Box/Integration/node_modules/terser/dist/bundle.min.js:1274:9)
at token_error (/Users/bustosman/Documents/GitHub/Box/Integration/node_modules/terser/dist/bundle.min.js:1282:9)
at unexpected (/Users/bustosman/Documents/GitHub/Box/Integration/node_modules/terser/dist/bundle.min.js:1288:9)
at semicolon (/Users/bustosman/Documents/GitHub/Box/Integration/node_modules/terser/dist/bundle.min.js:1326:56)
at simple_statement (/Users/bustosman/Documents/GitHub/Box/Integration/node_modules/terser/dist/bundle.min.js:1583:73)
at statement (/Users/bustosman/Documents/GitHub/Box/Integration/node_modules/terser/dist/bundle.min.js:1369:47)
at _embed_tokens_wrapper (/Users/bustosman/Documents/GitHub/Box/Integration/node_modules/terser/dist/bundle.min.js:1339:26)
at block_ (/Users/bustosman/Documents/GitHub/Box/Integration/node_modules/terser/dist/bundle.min.js:2172:20)
at statement (/Users/bustosman/Documents/GitHub/Box/Integration/node_modules/terser/dist/bundle.min.js:1403:29)[00:13:30]
Please sign in to leave a comment.
Comments
1 comment