Code Monkey home page Code Monkey logo

oliviercc / spfx-40-fantastics Goto Github PK

View Code? Open in Web Editor NEW
407.0 72.0 279.0 115.57 MB

This package is a sample kit of Client Side Web Parts built on the SharePoint Framework SPFx. You can find here different kind of high visual web parts as carousel, images galleries, animations, map, editors, etc.

License: MIT License

JavaScript 24.21% CSS 22.88% TypeScript 52.90% Batchfile 0.01%
sharepoint-framework sample-kit spfx sharepoint sharepoint-online images-galleries charts carousels webpart

spfx-40-fantastics's Issues

Components don't work in Classic pages

I have tested almost all the components in classic and modern pages and I have found that most of them only work in modern pages. For instance, none of the chart web parts work in classic pages, nor does the message bar, accordion, tabs, news slider, and several others that could be of prime value on my current SPO tenant. The error message is usually "failed to load url. There may be a problem with the HTTPS certificate" This only occurs on classic pages. On modern pages there are no issues. Can you account for the difference in behavior between classic and modern pages. Are there design guideline for the two scenarios for creating SPFx web parts?

The PropertyFieldPeoplePicker Control is not Reactive

Whenever I add or remove any value in PropertyFieldPeoplePicker, it doesn't reflect the new value on the page. I have to refresh the page to see it. This is only happening when I test the web part on SharePoint environment but it works in localhost environment.

Valid App Package = No

Hi,

I've tried to install the sppkg in the App Catalog but it doesn't seem to recognise the package. While there are no upload errors, "Valid App Package" is set to No, the product Id doesn't look right and I can't add the app to any site. See the image below...

image

Any ideas what's wrong?

Custom Classic Pages

Love the web parts, a wonderful example of what's possible with SPFx.

Testing these with pages built in custom page layouts and master pages proves problematic unfortunately. The web parts only fully render around 1 out of 10 page reloads.

In out of the box classic pages, everything works fine every time.

Is there anything we can do to ensure all the required resources are loaded every time?

Tabs Web Part Not Fully Functional in Modern Page

After adding the Tabs wp to my modern page, I noticed that I do not see the toolbars as pictured in your Overview, and I can only update the first tab. Clicking additional tabs kicks the wp out of edit mode.

Same results in Chrome version 58.0.3029.110 (64-bit), Internet Explorer 11 version 11.672.105860.0, and Edge 25.10586.672.0 (HTML 13.10586)

To better illustrate, see this video snip. Any words of wisdom?

Make Tiles clickable

My users seem to prefer having clickable links in the tiles gallery instead of showing a large version of the tile picture. Is there a way to associate a link with the tile so that users could click on it and load a new page?

***Failed to load component "ee6ccc68-d0ec-456c-8968-08a705191cf1"

Anyone else seeing this in their Tenant, none of the 40 webparts are loading due to not being able to load the js file. Browsing to the JS file url opens it fine.

Any Ideas?

[SPLoaderError.loadComponentError]:
***Failed to load component "ee6ccc68-d0ec-456c-8968-08a705191cf1" (TilesMenu).
Original error: ***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/unitegallery_7d9eb985d2d3c164e19835ea4e33161e.js' for resource 'unitegallery' in component 'ee6ccc68-d0ec-456c-8968-08a705191cf1' (TilesMenu). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.

***INNERERROR:
***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/unitegallery_7d9eb985d2d3c164e19835ea4e33161e.js' for resource 'unitegallery' in component 'ee6ccc68-d0ec-456c-8968-08a705191cf1' (TilesMenu). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
***CALLSTACK:
Error
at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.013/sp-pages-assembly_en-us_2c73e80d5a13bd005205d9613ee5cdc2.js:351:10483)
at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.013/sp-pages-assembly_en-us_2c73e80d5a13bd005205d9613ee5cdc2.js:911:17735)
at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.013/sp-pages-assembly_en-us_2c73e80d5a13bd005205d9613ee5cdc2.js:911:14892)
at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.013/sp-pages-assembly_en-us_2c73e80d5a13bd005205d9613ee5cdc2.js:911:12701)
at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.013/sp-pages-assembly_en-us_2c73e80d5a13bd005205d9613ee5cdc2.js:911:104583
at

SYntax Highlighter

Hi,

On a clean install I can't use the syntax highlighter webpart, due to the following error:
"Can't find brush for: x"

Installed on clean site on O365-tenant.

News Ticker

The News Ticker webpart only display the first 4 items in the list. It then cycles back to the beginning of the list rather than continuing on through the list, or looping back to the beginning (i.e. the animation rolls back up to the top rather than continuing on in the same direction but looping, this might just be a design choice though).

Also, when adding a new News Item, the text in the editor is always in capitals, although in the webpart itself, it renders as typed. Just a little confusing for users.

However, the webparts as a whole are great and really appreciate the work done. Thanks

MIT License for the Images?

Hi Olivier,

We would like to release our own version of these components for our SP users, but we were wondering if the images you are using are covered by any copyright restrictions? We are not selling anything, just using them internally. If there are any restrictions, we will use our own images, but I want to check with you first.

Error building source

I downloaded the last version and i'm trying to build src version. I found different errors.

Current environment setup : Node 8.20 , npm 4.4 , typescript 2.53

Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(3200,16): error TS230
4: Cannot find name 'DetailedHTMLFactory'.

Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(3380,24): error TS269
4: Namespace 'React' has no exported member 'DetailedHTMLProps'.

Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(3525,24): error TS269
4: Namespace 'React' has no exported member 'SVGProps'.

Error - typescript - node_modules@types\react\index.d.ts(2462,12): error TS2403: Subsequent variable declaration
s must have the same type. Variable 'blockquote' must be of type 'HTMLProps', but here has type 'HT
MLProps'.

Error - typescript - node_modules@types\react\index.d.ts(2611,12): error TS2403: Subsequent variable declaration
s must have the same type. Variable 'rect' must be of type 'SVGProps', but here has type 'SVGProps'.

Error - typescript - src\webparts\verticalTimeline\SPCalendarService.ts(55,53): error TS2345: Argument of type 'S
PHttpClientConfiguration' is not assignable to parameter of type 'SPHttpClientConfiguration'.

Thanks

Regards

StockInfo has wrong url?

Is makes use of chart.finance.yahoo.com and that doesnt exist anymore according to my dns query.

Error loading the webpart TilesMenu in O365

It seems that from last week until now has changed something in TilesMenu or SPFX-40 webpart, that send us an error to the production environment.

The error seems to be related with the HTTPS certificate, but we use the O365 security and it works until now.

The error indicate:
"https://spfx40fantastics.azureedge.net/spfx40fantastics/tilesmenu.bundle_478b4aca3cf99cc0e1c2f49eec24a78b.js" for resource "tilesMenu.bundle"
at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-14.011/sp-loader_es-es_95e5c53da9cf9fbf51a0731800beb6f3.js:88:47512)

Thanks in advance

Errors While Building the code

I am getting following errors when trying to build the code with Gulp Serve

[09:16:59] Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(3524,25): error TS2694: Namespace 'React' has no exported member 'SVGProps'.
[09:16:59] Error - typescript - src\webparts\sliderGallery\SPPicturesListService.ts(61,126): error TS2345: Argument of type 'SPHttpClientConfiguration' is not assignable to parameter of type 'SPHttpClientConfiguration'.
Also SpLoader seems to be a problem
Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(292,33): error TS1005: '(' expected.

I have installed all dependencies as per package.json. Am I missing something?

Multiple Instances

I am trying to add different web parts to the same page. When I add these only a single instance of the web part appears to work. Is there a way to make a news tiles and news carousel work on the same page?

MIT License rules

Hi Olivier,

In my company, we have re-engineered a set of 10 components based on the spfx-40-fantastics. We have rewritten some code and changed a few controls, but we have left in some of the compiled es6 code. We plan to publish these components as an app to our SPO site in a week or two to our O365 tenant to allow users to add them to their sites. We will include the MIT license in the SPFx package which is deployed to the app catalog on our site. Are there any other restrictions we need to be aware of? By the way, we are very grateful for the fine work you have done with these components and it's jump started our understanding of the SPFx in a very practical way.

Copyright (c) 2016 Olivier Carpentier

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Cross site scripting warning

Hi Oliver,

Whenever i install any of this web part on my intranet portal,i get following warning in console.How can i resolve this

**# Warning!

Use of this tool exposes you to potential security threats which can result in others gaining access to your personal Office 365 data (documents, emails, conversations and more). Make sure you trust the person or organization that asked you to access this tool before proceeding.

Learn more here: https://technet.microsoft.com/en-us/library/bb794823.aspx**

issuewithnewsstreamconfig

ckeditor on classic pages

Does anyone know why the ckeditor doesn't work on classic pages? Is there a replacement that does work on classic pages?

News Webparts request

Hi,

These webparts are great, it would be brilliant if we were able to put the various news webparts into "List Mode" whereby we could select a list or library to populate our articles. Maybe a pages library so that articles can be created and then ordered using metadata to prioritize certain articles. Adhering to audiencing to allow targetted content would be another great feature.

Thanks for all the great work that's been done.

Problem to install

Hi
looks great but i dont really dont understand how to install it
could you push me in right direction to install it in our Tenant

/Tommy

Accordion web part causing issues with Text web part

When we use the Accordion web part in a multi-column page layout with 2 additional text boxes on the page, we're unable to edit text in those text boxes. The cursor is constantly returned to the beginning of the text box. When we remove the accordion web part, the text boxes work without issue.

Unite Gallery Loading Issue

Hi @OlivierCC
Firstly Thank you so much for this beautiful piece of work.
I am using News Carousel web part in one of my classic pages. It is working fine.
But Sometimes it is giving me Uncaught (in promise) TypeError: h(...).unitegallery is not a function Error.
After few refreshes it is loading again.
Could you please help me in this .

Many Thanks
Siddhartha

Unite Gallery error

The error below occurs after some fer minutes when the page is loaded

Unite Gallery Error: You have some jquery.js library include that comes after the gallery files js include.
This include eliminates the gallery libraries, and make it not work.

To fix it you can:
1. In the Gallery Settings -> Troubleshooting set option: Put JS Includes To Body option to true.
2. Find the double jquery.js include and remove it.

Retrieving Data from a list

Hi, I was searching for something like this spfx webparts collection since long, and it is a really good work. Appreciated.
But I have one idea, what if you make all of your web parts have the option to retrieve its data (items) from a list, so in the webpart settings i will choose the site collection, then i will choose which list in that site, and then I will choose which columns in that list to be mapped with specified columns in the webpart.
also adding filtering by specified column and item limit will be awesome.
are you going to make something like this soon?

THank you

Preview Web Part Issue

Hi Olivier,

I see that the web parts are now available as a precompiled package, but I was hoping to preview the web parts and run them on a local web server using "gulp serve" following your original installation instructions. Once I git clone the repo, run "npm install", and then attempt to run "gulp serve" a series of task errors arise that terminate the build. Is it no longer possible to run the web parts on a local web server using "gulp serve"?

Thanks for your help.

News or RSS request

We are trying to present an RSS feed and include images.
Could the RSS web part be modified or could the News web parts be modified to accept data from RSS?

Installation issue

Hi Oliver,
Great stuff to learn Sharepoint Framework
We installed as you recommended
git clone the repo
npm i
npm i -g gulp
gulp serve

It works in the local environment. However we run workbench hosted in Sharepoint we have the error "Cannot read property 'bind' of undefined"

Could you advise?
Thank you

Diplay user profile properties using SPFX webpart

Hi

I am using the library "sp-client-custom-fields" licensed by MIT to use the SharePoint People Picker control in a SPFX webpart. I am able to use the code successfully to pull some of the property values using the available codebase. However, my requirement is to display some custom users properties when users select a specific user from the people picker but I am not able to show the values from any other profile properties. I wanted to create my own library on top of the MIT one but I was not able to do that. The available codebase shows the username, email id, designation and profile picture only. Please provide a solution to display other custom properties as well.
PropertyFieldPeoplePickerHost.js file is the one that's populating the user profile property values and I am
trying to understand the entitydata from the below code snippet - kindly help-
return _this.context.spHttpClient.post(userRequestUrl, sp_http_1.SPHttpClient.configurations.v1, httpPostOptions).then(function (searchResponse) {
return searchResponse.json().then(function (usersResponse) {
var res = [];
var values = JSON.parse(usersResponse.value);
values.map(function (element) {
var persona = { fullName: element.DisplayText, login: element.Description };
persona.email = element.EntityData.Email;
persona.jobTitle = element.EntityData.Title;
persona.initials = _this.getFullNameInitials(persona.fullName);
persona.imageUrl = _this.getUserPhotoUrl(persona.email, _this.context.pageContext.web.absoluteUrl);
res.push(persona);
});
return res;
Thank you !!

Thanks and regards
Paromita

Suddenly stopped working

We added these webparts to our SP online sites, worked great. Suddenly stopped working.
Discovered that the following error is due to me being the first release customer. Will this be fixed please?
Error:
[SPLoaderError.loadComponentError]:

***Failed to load component "3f3e8f3d-033d-34b6-8450-173122222275" (SimpleCarousel).

Original error: ***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/unitegallery_7d9eb985d2d3c164e19835ea4e33161e.js' for resource 'unitegallery' in component '3f3e8f3d-033d-34b6-8450-173122222275' (SimpleCarousel). There was a network problem.

This may be a problem with a HTTPS certificate. Make sure you have the right certificate.

***INNERERROR:

***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/unitegallery_7d9eb985d2d3c164e19835ea4e33161e.js' for resource 'unitegallery' in component '3f3e8f3d-033d-34b6-8450-173122222275' (SimpleCarousel). There was a network problem.

This may be a problem with a HTTPS certificate. Make sure you have the right certificate.

***CALLSTACK:

Error
at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.013/sp-pages-assembly_en-us_12ebeae6ae845ba9a2f4bd9de962fb90.js:351:10315)
at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.013/sp-pages-assembly_en-us_12ebeae6ae845ba9a2f4bd9de962fb90.js:905:16696)
at e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.013/sp-pages-assembly_en-us_12ebeae6ae845ba9a2f4bd9de962fb90.js:905:13911)
at e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.013/sp-pages-assembly_en-us_12ebeae6ae845ba9a2f4bd9de962fb90.js:905:11714)
at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.013/sp-pages-assembly_en-us_12ebeae6ae845ba9a2f4bd9de962fb90.js:905:104715)

downloaded the webpart and added into app catolog. getting error while adding webpart on modern pages

Something went wrong

If the problem persists, contact the site administrator and give them the information in Technical Details.
TECHNICAL DETAILS
[SPLoaderError.loadComponentError]:
***Failed to load component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: ***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/jquery_510295b52d8a7cc774bf4fb013893d1e.js' for resource 'jquery' in component 'b6330715-c92a-479c-ae83-510474079988' (3DCarousel). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.

***INNERERROR:
***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/jquery_510295b52d8a7cc774bf4fb013893d1e.js' for resource 'jquery' in component 'b6330715-c92a-479c-ae83-510474079988' (3DCarousel). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
***CALLSTACK:
Error
at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:351:10483)
at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:16704)
at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:13917)
at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:11726)
at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:110506
at

. Press Enter to navigate inside the web part. When inside, use Alt+F10 to go to toolbar, use Alt+P to move focus to the property pane and use Escape to exit the web part.

There is an error in the config file:

Hello,

The line 274 says:
"SyntaxHighlighterStrings": "webparts/code/loc/{locale}.js",

But it should be:
"SyntaxHighlighterStrings": "webparts/qrCode/loc/{locale}.js",

Great webparts!

Regards

Fck Text (Rich Text Editor) toolbar isn't loading.

We've recently noticed the toolbar for the Fck Text web part isn't loading. We're still able to copy/paste text into the web part from Word and styling is retained, just the toolbar won't load.

I've ensured the latest version of SPfx 40 is loaded on the site, but no joy. Here's what it looks like for us:

rich text editor

No localized files found

On executing gulp serve I get the following error:
Error - 'collectLocalizedResources' sub task errored after 8.27 ms
"Error for resource "testStrings": No localized files found under the "lib" directory matching pattern "webparts/test/loc/{locale}.js""
Any ideas on this one?

Upgrading to sp-client-custom-fields new version

I'm not sure if this needs to be done or not. But I was updating to the latest sp-client-custom-fields.

I've added "key" to the fields array. But I don't believe it's being referenced by the function. My picker data comes up empty.

Do I also need to update the ...WebPartProps.ts file?

Simple Poll doesn't work in Classic Page

When I try to configure the Simple Poll and I try to configure the Survey List, the list name disappears before I can select it. The same happens with the Results Chart Type. This only occurs on the classic page, not the modern page.

Most webparts are broken as of today

When adding a spfx-40 webpart to a page, I receive the following error. I am using version 1.0.2.0.

Most webparts give the same error. But the "Arc text", "Simple caroussel", and "Audio visualizer" still work.

Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.

Technical Details

***ERROR MESSAGE:
***Failed to load component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: ***Failed to load entry point from component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: Error loading https://component-id.invalid/b6330715-c92a-479c-ae83-510474079988_1.0
Module exports cannot be changed externally.

***CALLSTACK:
Error: ***Failed to load component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: ***Failed to load entry point from component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: Error loading https://component-id.invalid/b6330715-c92a-479c-ae83-510474079988_1.0
Module exports cannot be changed externally.
at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:47594)
at k (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:2381)
at L (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:2469)
at I (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:2291)
at D (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:1887)
at m (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:570)

Web Parts install but aren't available in modern or classic pages

After installation, web parts do not show up to be added. As an fyi, I tested the root site and another site, just to be thorough. I previously did have 1.02 installed without issue and several custom spfx web parts work fine.

  • Added 1.03 via app catalog -- no error present
  • Added to site successfully, no errors
  • In SITE SETTINGS all web parts are present and activated
  • When editing a modern page, none of them show up. No errors in the console
  • When editing a classic page, web parts are not preset and there are no groups where they should be either
  • Tried to deactivate and reactive a couple web parts to see if those would suddenly become available but that did not work
  • Previous version was removed from recycle bin and second recycle bin, just in case....

Multiple Media Players Issue

Inserting multiple "Media Player" parts on a page does not work correctly with version 1.0.4.0.

Steps to reproduce:

  1. Insert a media player part on a modern page.
  2. Configure HTML5 audio URL and media type.
  3. Insert a second media player part.

Expected behavior:

  • Both media player parts exist independently, with separate audio and un-linked play controls

Actual behavior:

  • Clicking "play" on one part causes both to display the current media play progress.
  • Inserting additional media player parts appears to cause an unpredictable repetition of media player parts previously added to the page.

image

Google Chrome

Hi,

I'm trying to use your Tabs app but it seems I can only do any customization using Edge and not in Google Chrome.

Any ideas?

Thanks

Issue While taking Package- in gulp serve

When I try to take package of the webparts it is showing the following error in the command prompt..
Kindly help through this.......

Task ' package-solution' is not in your gulpfile
[14:29:43] Please check the documentation for proper gulpfile formatting
About to exit with code: 1
Process terminated before summary could be written, possible error in async code not continuing!
Trying to exit with exit code 1

project fails during gulp serve

Hi,

I've been attempting to install and run these web parts but I have consistently encountered errors during the gulp serve. I have tried it on two separate machines and have used nvm to run the npm install with both 8.4.0 and 6.11.3 to see if it made a difference.

I have attached the output from the gulp serve:

gulpRun.txt

Cheers,

-JB

Regarding issue #2

Config.json - localizedResources:
It should be changed from "code" to "syntaxHighlighter" - not qrcode, as mentioned in issue #2:
image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.