Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code breaks after an npm upgrade. Cannot create a new event with final version of the code #23

Open
keyone opened this issue Apr 19, 2020 · 2 comments

Comments

@keyone
Copy link

keyone commented Apr 19, 2020

Code breaks after an npm upgrade. Cannot create a new event with final version of the code

Run a:

npm upgrade

then run the code with the json-server.

The code breaks when we try to create a new event from the UI.

Here is the Error from the DevTools

Invalid prop: type check failed for prop "value". Expected String, Number, got Event 

found in

---> <BaseSelect> at src/components/BaseSelect.vue
       <EventCreate> at src/views/EventCreate.vue
         <App> at src/App.vue
           <Root>
@dubiety
Copy link

dubiety commented Dec 1, 2020

I have the same issue.

@alec-jumpstart
Copy link

also encountered this! verified that it comes from the update by running it as-downloaded and having it work, then

  1. rm package-lock.json
  2. rm -rf node_modules
  3. npm install
  4. npm run serve
  5. it breaks
  6. git checkout package-lock.json (to reset it back to how it was when downloaded
  7. rm -rf node_modules
  8. npm install
  9. npm run serve
  10. it works again

bummer after crawling through my code for so long trying to figure out where my typo was!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants