I get this error when I try to run Meteor app
While building for web.browser:
node_modules/cssstyle/lib/properties.js:5029:9: Identifier ‘parse’ has
already been declared (5029:9)
While building for web.browser.legacy:
node_modules/cssstyle/lib/properties.js:5029:9: Identifier ‘parse’ has
already been declared (5029:9)
Please help
it seems not related to Meteor upgrade, can you check if you declare only one time the variable “parse” ?
cssstyle is not a dependency that I added in my project. Anyway I’ll check the source code of the library.
have you update @babel/runtime
and meteor-node-stubs
, how says https://blog.meteor.com/announcing-meteor-1-8-2-13eab70a4bec
meteor npm install @babel/runtime@latest
meteor npm install meteor-node-stubs@next
pbeato
5
I have the same problem, does anyone have a solution?
I did install these two things. Still not solved.
Same problem, trying to migrate an older app from 1.4.2 to 1.9…
Error trips when adding pwstrength-bootstrap plugin (https://github.com/ablanco/jquery.pwstrength.bootstrap) in /client/lib/plugins
folder used for JS-JQuery plugins.
Maybe a jQuery related conflict?
Note: Updating the plugin to the newest version did not solve the error.
As @jithinks noted if you check the library source there’s a function repeated at line 5029:9 that was declared earlier at line 1644:
function parse(v) {
if (String(v).toLowerCase() === 'auto') {
return 'auto';
}
if (String(v).toLowerCase() === 'inherit') {
return 'inherit';
}
Why is this an error? Isn’t function overriding okay in JS?
1 Like
annie
9
Hi,
I just started getting this today after updating an old project to latest meteor version.
Did anyone figure out what the solution is ?
Thanks