question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Invalid definition for pick field

See original GitHub issue

I get the following at Meteor startup which throws it into a death cycle. Any ideas?

Error: Invalid definition for pick field

To use SS, I’m doing the following (if it helps): File 1: import PersonSchema from '../../api/person/schema.js'; Members.attachSchema(PersonSchema);

File 2: import SimpleSchema from 'simpl-schema'; const PersonSchema = new SimpleSchema({ ... }); export default PersonSchema;

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:7
  • Comments:18

github_iconTop GitHub Comments

17reactions
ivansglazunovcommented, Dec 10, 2016
meteor remove aldeed:simple-schema aldeed:collection2
meteor add aldeed:collection2-core@2.0.0

It helped me

7reactions
eminxcommented, Aug 17, 2017

Thanks guys, fixed it for me too ^^

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Invalid definition for pick field · Issue #25 - GitHub
I get the following at Meteor startup which throws it into a death cycle. Any ideas? Error: Invalid definition for pick field.
Read more >
MS Access Error: Invalid field definition '|' - Microsoft Community
Hello, I have been having issues with my MS Access Database. The Error says "Invalid field definition '|' in definition of index or ......
Read more >
Schema error when reusing same field - Stack Overflow
I've tried to create schemaComponents so that I can update both schemas in one location however I get an error Error: Invalid definition...
Read more >
Error 'bad value for restricted picklist field' appears when a ...
The referenced picklist field has 'Restrict picklist to the values defined in the value set' set to Enabled. The referenced picklist field is...
Read more >
How to fix 'Bad value for restricted picklist field' error - Medium
Solution: You need to make sure that you set the right value and it contains in value set or you need to uncheck...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found