#When im trying to build the project.. it keeps giving me this error on both vercel & local

1 messages · Page 1 of 1 (latest)

vast tinsel
#
Cannot add property 0, object is not extensible
    at Array.push (<anonymous>)
    at ConditionalExpression.getLiteralValueAtPath (file:///C:/Users/Kaushik/Documents/Programming/Portfolio/v2/node_modules/rollup/dist/es/shared/node-entry.js:12270:45)
    at file:///C:/Users/Kaushik/Documents/Programming/Portfolio/v2/node_modules/rollup/dist/es/shared/node-entry.js:5064:30
    at EntityPathTracker.withTrackedEntityAtPath (file:///C:/Users/Kaushik/Documents/Programming/Portfolio/v2/node_modules/rollup/dist/es/shared/node-entry.js:2014:24)
    at LocalVariable.getLiteralValueAtPath (file:///C:/Users/Kaushik/Documents/Programming/Portfolio/v2/node_modules/rollup/dist/es/shared/node-entry.js:5062:33)
    at Identifier.getLiteralValueAtPath (file:///C:/Users/Kaushik/Documents/Programming/Portfolio/v2/node_modules/rollup/dist/es/shared/node-entry.js:5207:48)
    at BinaryExpression.getLiteralValueAtPath (file:///C:/Users/Kaushik/Documents/Programming/Portfolio/v2/node_modules/rollup/dist/es/shared/node-entry.js:11785:37)
    at IfStatement.getTestValue (file:///C:/Users/Kaushik/Documents/Programming/Portfolio/v2/node_modules/rollup/dist/es/shared/node-entry.js:12806:77)
    at IfStatement.hasEffects (file:///C:/Users/Kaushik/Documents/Programming/Portfolio/v2/node_modules/rollup/dist/es/shared/node-entry.js:12722:32)
    at IfStatement.shouldBeIncluded (file:///C:/Users/Kaushik/Documents/Programming/Portfolio/v2/node_modules/rollup/dist/es/shared/node-entry.js:2928:62)
bronze flower
#

Hi @vast tinsel! Could you provide more context? I see the error is being thrown from the rollup package, but can you provide your rollup configuration/implementation code?

vast tinsel