Error after upgrading @frontity/wp-source to 1.5.0
See original GitHub issueBug report
- I’ve searched for existing issues
- I’ve checked documentation: https://docs.frontity.org
- I’ve checked community forum: https://community.frontity.org
Describe the expected behavior getting the data from source as expected
Describe the observed behavior strange error appears in the console when navigating to any page
TypeError: Cannot read property 'func' of null
at eval (actions.ts?f1c8:46)
at Generator.next (<anonymous>)
at asyncGeneratorStep (actions.ts:6)
at _next (actions.ts:6)
at eval (actions.ts:6)
at new Promise (<anonymous>)
at eval (actions.ts:6)
at eval (actions.ts?f1c8:12)
at Object.eval [as fetch] (create-store.js?81b0:27)
at eval (actions.ts?fe69:18)
Describe the steps involved to reproduce the problem
upgrade the wp-source by running this command
npm install @frontity/wp-source@latest
Add info about your system
System:
- OS: Windows 10 10.0.18362
- CPU: (8) x64 Intel® Core™ i7-7700HQ CPU @ 2.80GHz
- Memory: 2.72 GB / 15.89 GB
Binaries:
- Node: 12.13.1 - C:\Program Files\nodejs\node.EXE
- npm: 6.11.3 - C:\Program Files\nodejs\npm.CMD
Browsers:
- Edge: 44.18362.449.0
- Internet Explorer: 11.0.18362.1
npmPackages:
- bootstrap: ^4.4.1 => 4.4.1
- frontity: ^1.4.4 => 1.4.4
- prop-types: ^15.7.2 => 15.7.2
- react: ^16.12.0 => 16.12.0
- react-slick: ^0.25.2 => 0.25.2
- react-spinners: ^0.7.2 => 0.7.2
- react-spring: ^8.0.27 => 8.0.27
- slick-carousel: ^1.8.1 => 1.8.1
npmGlobalPackages:
- frontity: Not Found
- npx: Not Found
it was working will before updating to 1.5.0 to use REST API - Head Tags
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (17 by maintainers)
Top Results From Across the Web
Help with First Time Frontity Quick Start Not Working
In a nut shell, I'm able to create a new Frontity project, but when I go to the “Start Development” step and run...
Read more >Error during Plug-in Update - WordPress.org
I periodically see errors like the following when I use the Plugins page to update to the latest plugin versions. It doesn't happen...
Read more >test code, not working (8c72ea68) · Commits - GitLab
Seems like you encountered an error. If this persists,. <a href="https://community.frontity.org"> let us know </a> or try refreshing.
Read more >@frontity/wp-source - npm
A Frontity source package for the REST API of self-hosted and WordPress.com sites. Latest version: 1.11.7, last published: a year ago.
Read more >wp-menu - CodeSandbox
This Sandbox is in sync with master on GitHub. You have to fork to make changes. Fork. Files. packages. README.md. favicon.ico. frontity.settings.js.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not sure if it’ll help in this case, but I had a similar problem and it was solved after deleting
node_modules
and thepackage-lock.json
, and runningnpm install
at the root again as explained here. If you haven’t done it yet, I guess it’d be a good idea to try this.Sure, I guess that if a
done
issue is reopened it should go back to theto-do
column, not toin-progress
.Yes, I agree that if this is happening on every update, and it’s “breaking” Frontity, it should be fixed.