-
Notifications
You must be signed in to change notification settings - Fork 3
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
Headtags.script Not Defined #1
Comments
Can you try updating to the latest Vulcan ( |
Sure, let me try that |
@SachaG I have tried with Vulcan 1.8.9 latest I am having a similar problem Initially with PlaceControl.jsx:71:25 PlaceControl.propTypes = { TypeError: Cannot read property 'string' of undefined I changed my local version to import PropTypes directly, React no longer ships with it import PropTypes from 'prop-types' PlaceControl.propTypes = { Now I get the same error as before on went this executes Headtags.script.push({ TypeError: Cannot read property 'script' of undefined Let me know what other details you require. I will say that I have been working on this project of mine on-off for some time. I may be missing some crucial changes required since multiple upgrades to vulcan core have taken place throughout that time |
I found something Looks like a typo, the import should be import { HeadTags, getSetting } from 'meteor/vulcan:core'; however, script is undefined on my local copy i just added HeadTags.script = [] |
You must change 'HeadTag' name. 'Head' instead of 'HeadTag' |
you have also to migrate
with last version of https://github.com/kenny-hibino/react-places-autocomplete/wiki/Migration-Guide-(From-v6.x-to-v7.x) |
Hi Guys
Still getting my feet wet with vulcan, today I tried to use this package
TypeError: Cannot read property 'script' of undefined
at meteorInstall.node_modules.meteor.vulcan:places.lib.modules.headtags.js
(packages/vulcan:places/lib/modules/headtags.js:7:7)
I am on vulcan/core 1.7.0, I have not used headtags anywhere yet
wondering if i need to include somewhere in the server start up
Thanks in advise
The text was updated successfully, but these errors were encountered: