Comments (9)
I have the same problem. My browser window is completely blank. I tried adding the meta tags, but they didn't help. Any thoughts?
from create-contentful-extension.
@svandersteene I just verified scenario in Firefox 66 and could not reproduce the issue. Can you try to reproduce on your side?
from create-contentful-extension.
@svandersteene What do mean by 'didn't receive any content from my dev-UI-extension'? Can you provide more details?
from create-contentful-extension.
@suevalov I tried creating an extension served from localhost, but I didn't get the content of my Component (as created per $ npx @contentful/create-contentful-extension) in the webapp of Contentful.
The first problem was "mixed content" 'cause I was serving my localhost over HTTP instead of HTTPS, so that was an easy fix.
But then I still didn't get the content from my Component, it was just blank in the webapp. I got this second problem fixed by simply adding line 5 & 6 (screenshot first post) in my index.html. These lines are not included in the "create-contentful-extension".
I don't know if this was a user-specific problem, but that's why I made this issue, so you could, if necessary, fix this.
from create-contentful-extension.
@svandersteene Interesting, I'll take a look
from create-contentful-extension.
@svandersteene I investigated the problem and see no correlation between meta tags that we've added to index.html
and extension that is not rendered.
If you HTTPS=true
and extension is being served from https://localhost:1234
then you need to open https://localhost:1234
in your browser and proceed with unsafe mode. If you don't want to unable unsafe mode, then you need to install SSL certificate that is generated by create-contentful-extension
(it's located in .cache
folder at the root the extension after you run npm run start
)
But in general I see no problem using cli without HTTPS=true
and enable mixed-content
for your current development session. It is automatically turned off after you close your browser.
P.S. What browser and OS are you using?
from create-contentful-extension.
@suevalov I did all that, I didn't understand either why it wasn't working.
I'm using Firefox 65.0.1 and macOS Mojave 10.14.3.
from create-contentful-extension.
@suevalov I just tried it and it worked. I don't know what the problem was then.. I guess I must have made a mistake. Sorry for the inconvenience.
from create-contentful-extension.
I am facing the same problem, the page is blank.
http://localhost:52563 - configured port 1234 could not be used.
🚨 /Users/apple/Documents/GitHub/my-first-extension/src/index.js: 'loose' mode configuration must be the same for both @babel/plugin-proposal-class-properties and @babel/plugin-proposal-private-methods
from create-contentful-extension.
Related Issues (20)
- Upgrade dependency htmlnano to v1.0.0 to fix transitive security vulnerability HOT 1
- Building extensions does not support tsconfig `extends` property HOT 1
- Enable autoprefixer HOT 1
- zlib usage HOT 1
- Cannot find module on start HOT 2
- Added ability to pass installation parameters
- Npm audit got high vulnerabilities. HOT 2
- On Hot Reload, `getValue()` returns initial entry values instead of current values HOT 2
- Npm install high vulnerabilities.
- @contentful\contentful-extension-scripts Missing from node_modules on Windows 10 HOT 5
- Neither Javascript or Typescript sidebar project are working HOT 4
- Choose Between Class or Functional Component HOT 1
- React Dev Tools HOT 1
- Issue with UI extension creation HOT 1
- Feature: support code reuse for multiple-extension repos HOT 7
- Support deployment to subfolders
- Unhandled Promise Rejection on run build
- Detect compare mode for contentful app HOT 1
- Jest test configuration generated is ignored by scripts/test.js
- Version Mismatch of with @contentful/field-editor-reference causing TypeScript errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-contentful-extension.