Our state of the art Gantt chart


Post by namratapatil »

Hi,

I am trying to build aspnet/aspnetcore projects from examples. Using version gantt-5.6.8.
I have followed steps from ReadMe.
Got the following error at stage "npm run build".
Any pointers please to resolve the issue?

> aspnetcore@5.6.8 build C:\temp\bryntum-gantt-5.6.8\gantt-5.6.8\examples\frameworks\aspnetcore\BryntumGanttDemo\wwwroot\app
webpack --config webpack.config.js

Hash: a03bac160422bc055640ec73af865d56e60bd6cb
Version: webpack 4.41.6
Child
    Hash: a03bac160422bc055640
    Time: 1479ms
    Built at: 28/03/2024 09:10:20
     1 asset
    Entrypoint cruddemo = cruddemo.js
    [0] ./app.js 5.98 KiB {0} [built] [failed] [1 error]
    
WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/ ERROR in ./app.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: [BABEL] C:\temp\bryntum-gantt-5.6.8\gantt-5.6.8\examples\frameworks\aspnetcore\BryntumGanttDemo\wwwroot\app\app.js: Could not find plugin "transform-unicode-sets-regex". Ensure there is an entry in ./available-plugins.js for it. (While processing: "C:\\temp\\bryntum-gantt-5.6.8\\\gantt-5.6.8\\examples\\frameworks\\aspnetcore\\BryntumGanttDemo\\wwwroot\\app\\node_modules\\@babel\\preset-env\\lib\\index.js") at getPlugin (C:\temp\bryntum-gantt-5.6.8\gantt-5.6.8\examples\frameworks\aspnetcore\BryntumGanttDemo\wwwroot\app\node_modules\@babel\preset-env\lib\index.js:67:11) at C:\temp\bryntum-gantt-5.6.8\gantt-5.6.8\examples\frameworks\aspnetcore\BryntumGanttDemo\wwwroot\app\node_modules\@babel\preset-env\lib\index.js:258:62 at Array.map (<anonymous>)

Thanks


Post by marcio »

Hey namratapatil,

Thanks for reaching out and welcome to our forums! :)

Could you please provide a sample project with your environment? You can have more information by checking our guidelines https://www.bryntum.com/forum/viewtopic.php?f=1&t=772

You can adapt one of our demos to match your environment, then zip it without the node_modules, and then send it here.

Best regards,
Márcio


Post by namratapatil »

Hi Marcio,

Thanks for getting back.

I have not created any additional project. I am using aspnet projects directly from examples folder.
Steps I followed, (Note: I tried with latest version of Gantt too to check if error goes away. But no, same error for version 5.6.8 and 6-alpha-2)

Registered Bryntum private NPM repository
Downloaded bryntum-gantt-6.0.0-alpha-2
Opened the solution from bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet
Build the solution - compiled successfully
Created database and updated connection string
While building JavaScript application, got error on npm run build (adding package manager console output for details)


PM> cd C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app
PM> npm install
npm : npm WARN deprecated core-js@3.6.4: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in 
old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of 
core-js.
At line:1 char:1
+ npm install
+ ~~~~~~~~~~~    + CategoryInfo          : NotSpecified: (npm WARN deprec...ion of core-js.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
npm WARN deprecated @babel/polyfill@7.8.3: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs 
(https://babeljs.io/docs/en/babel-polyfill) for more information.
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old 
core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated @babel/plugin-proposal-json-strings@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use 
@babel/plugin-transform-json-strings instead.
npm WARN deprecated @babel/plugin-proposal-dynamic-import@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use 
@babel/plugin-transform-dynamic-import instead.
npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use 
@babel/plugin-transform-async-generator-functions instead.
npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use 
@babel/plugin-transform-nullish-coalescing-operator instead.
npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use 
@babel/plugin-transform-object-rest-spread instead.
npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use 
@babel/plugin-transform-optional-catch-binding instead.
npm WARN deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use 
@babel/plugin-transform-unicode-property-regex instead.
npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use 
@babel/plugin-transform-optional-chaining instead.
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated figgy-pudding@3.5.2: This module is no longer supported.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated fsevents@1.2.13: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2

> core-js@2.6.12 postinstall C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\polyfill\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m

[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m
[96m>[94m https://opencollective.com/core-js [0m
[96m>[94m https://www.patreon.com/zloirock [0m

[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m


> @bryntum/gantt@6.0.0-alpha-2 postinstall C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@bryntum\gantt
> node postinstall.js


> core-js@3.6.4 postinstall C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\watchpack-chokidar2\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN aspnet@6.0.0-alpha-2 No repository field.
npm WARN aspnet@6.0.0-alpha-2 license should be a valid SPDX license expression

added 590 packages from 262 contributors and audited 593 packages in 82.206s

40 packages are looking for funding
  run `npm fund` for details

found 7 vulnerabilities (3 moderate, 3 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
PM> npm run build

> aspnet@6.0.0-alpha-2 build C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app
> webpack --config webpack.config.js --progress

npm : <s> [webpack.Progress] 0% [0] compiling
At line:1 char:1
+ npm run build
+ ~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (<s> [webpack.Progress] 0% [0] compiling:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
<s> [webpack.Progress] 5% [0] building 0/0 modules 0 active 
<s> [webpack.Progress] 5% [1] compiling
<s> [webpack.Progress] 10% [1] building 0/0 modules 0 active 
<s> [webpack.Progress] 10% [0] building 0/1 modules 1 active C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\babel-loader
\lib\index.js!C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\app.js
<s> [webpack.Progress] 10% [1] building 0/1 modules 1 active C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\mini-css-ext
ract-plugin\dist\loader.js!C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\css-loader\dist\cjs.js!C:\temp\bryntum-gantt-6
.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\sass-loader\dist\cjs.js!C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\framewo
rks\aspnet\BryntumGanttCrudDemo\app\resources\app.css
<s> [webpack.Progress] 10% [0] building 1/1 modules 0 active 
<s> [webpack.Progress] 40% [0] building 1/1 modules 0 active 
<s> [webpack.Progress] 40% [0] finish module graph
<s> [webpack.Progress] 40% [0] finish module graph FlagDependencyExportsPlugin
<s> [webpack.Progress] 40% [0] finish module graph WasmFinalizeExportsPlugin
<s> [webpack.Progress] 40% [0] sealing
<s> [webpack.Progress] 40% [0] sealing WarnCaseSensitiveModulesPlugin
<s> [webpack.Progress] 41% [0] basic dependencies optimization
<s> [webpack.Progress] 41% [0] dependencies optimization
<s> [webpack.Progress] 41% [0] dependencies optimization SideEffectsFlagPlugin
<s> [webpack.Progress] 41% [0] dependencies optimization FlagDependencyUsagePlugin
<s> [webpack.Progress] 41% [0] advanced dependencies optimization
<s> [webpack.Progress] 41% [0] after dependencies optimization
<s> [webpack.Progress] 40% [0] chunk graph
<s> [webpack.Progress] 40% [0] after chunk graph
<s> [webpack.Progress] 40% [0] after chunk graph WebAssemblyModulesPlugin
<s> [webpack.Progress] 42% [0] optimizing
<s> [webpack.Progress] 42% [0] basic module optimization
<s> [webpack.Progress] 42% [0] module optimization
<s> [webpack.Progress] 42% [0] advanced module optimization
<s> [webpack.Progress] 43% [0] after module optimization
<s> [webpack.Progress] 43% [0] basic chunk optimization
<s> [webpack.Progress] 43% [0] basic chunk optimization EnsureChunkConditionsPlugin
<s> [webpack.Progress] 43% [0] basic chunk optimization RemoveParentModulesPlugin
<s> [webpack.Progress] 43% [0] basic chunk optimization RemoveEmptyChunksPlugin
<s> [webpack.Progress] 43% [0] basic chunk optimization MergeDuplicateChunksPlugin
<s> [webpack.Progress] 43% [0] chunk optimization
<s> [webpack.Progress] 43% [0] advanced chunk optimization
<s> [webpack.Progress] 43% [0] advanced chunk optimization SplitChunksPlugin
<s> [webpack.Progress] 43% [0] advanced chunk optimization RemoveEmptyChunksPlugin
<s> [webpack.Progress] 43% [0] after chunk optimization
<s> [webpack.Progress] 44% [0] module and chunk tree optimization
<s> [webpack.Progress] 44% [0] after module and chunk tree optimization
<s> [webpack.Progress] 44% [0] basic chunk modules optimization
<s> [webpack.Progress] 44% [0] chunk modules optimization
<s> [webpack.Progress] 44% [0] chunk modules optimization ModuleConcatenationPlugin
<s> [webpack.Progress] 45% [0] advanced chunk modules optimization
<s> [webpack.Progress] 45% [0] after chunk modules optimization
<s> [webpack.Progress] 45% [0] module reviving
<s> [webpack.Progress] 45% [0] module reviving RecordIdsPlugin
<s> [webpack.Progress] 46% [0] module order optimization
<s> [webpack.Progress] 46% [0] module order optimization OccurrenceOrderModuleIdsPlugin
<s> [webpack.Progress] 46% [0] advanced module order optimization
<s> [webpack.Progress] 46% [0] before module ids
<s> [webpack.Progress] 46% [0] module ids
<s> [webpack.Progress] 47% [0] module id optimization
<s> [webpack.Progress] 47% [0] module id optimization
<s> [webpack.Progress] 47% [0] chunk reviving
<s> [webpack.Progress] 47% [0] chunk reviving RecordIdsPlugin
<s> [webpack.Progress] 47% [0] chunk order optimization
<s> [webpack.Progress] 47% [0] chunk order optimization OccurrenceOrderChunkIdsPlugin
<s> [webpack.Progress] 48% [0] before chunk ids
<s> [webpack.Progress] 48% [0] chunk id optimization
<s> [webpack.Progress] 48% [0] chunk id optimization FlagIncludedChunksPlugin
<s> [webpack.Progress] 48% [0] after chunk id optimization
<s> [webpack.Progress] 49% [0] hashing
<s> [webpack.Progress] 49% [0] after hashing
<s> [webpack.Progress] 49% [0] module assets processing
<s> [webpack.Progress] 50% [0] chunk assets processing
<s> [webpack.Progress] 50% [0] additional chunk assets processing
<s> [webpack.Progress] 51% [0] additional asset processing
<s> [webpack.Progress] 51% [0] chunk asset optimization
<s> [webpack.Progress] 51% [0] chunk asset optimization TerserPlugin
<s> [webpack.Progress] 51% [1] building 1/1 modules 0 active 
<s> [webpack.Progress] 51% [1] building 1/2 modules 1 active css C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\css-load
er\dist\cjs.js!C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\resources\fonts\fonts.css 0
<s> [webpack.Progress] 51% [1] building 2/2 modules 0 active 
<s> [webpack.Progress] 51% [1] building 2/3 modules 1 active css C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\css-load
er\dist\cjs.js!C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@bryntum\gantt\gantt.stockholm.css 0
<s> [webpack.Progress] 51% [1] building 3/3 modules 0 active 
<s> [webpack.Progress] 51% [1] building 3/4 modules 1 active css C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\css-load
er\dist\cjs.js!C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\sass-loader\dist\cjs.js!C:\temp\bryntum-gantt-6.0.0-alpha-
2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\resources\app.css 0
<s> [webpack.Progress] 51% [1] building 4/4 modules 0 active 
<s> [webpack.Progress] 81% [1] building 4/4 modules 0 active 
<s> [webpack.Progress] 81% [1] finish module graph
<s> [webpack.Progress] 81% [1] finish module graph FlagDependencyExportsPlugin
<s> [webpack.Progress] 81% [1] finish module graph WasmFinalizeExportsPlugin
<s> [webpack.Progress] 81% [1] sealing
<s> [webpack.Progress] 81% [1] sealing WarnCaseSensitiveModulesPlugin
<s> [webpack.Progress] 82% [1] basic dependencies optimization
<s> [webpack.Progress] 82% [1] dependencies optimization
<s> [webpack.Progress] 82% [1] dependencies optimization SideEffectsFlagPlugin
<s> [webpack.Progress] 82% [1] dependencies optimization FlagDependencyUsagePlugin
<s> [webpack.Progress] 82% [1] advanced dependencies optimization
<s> [webpack.Progress] 83% [1] after dependencies optimization
<s> [webpack.Progress] 81% [1] chunk graph
<s> [webpack.Progress] 82% [1] after chunk graph
<s> [webpack.Progress] 82% [1] after chunk graph WebAssemblyModulesPlugin
<s> [webpack.Progress] 83% [1] optimizing
<s> [webpack.Progress] 83% [1] basic module optimization
<s> [webpack.Progress] 83% [1] module optimization
<s> [webpack.Progress] 84% [1] advanced module optimization
<s> [webpack.Progress] 84% [1] after module optimization
<s> [webpack.Progress] 84% [1] basic chunk optimization
<s> [webpack.Progress] 84% [1] basic chunk optimization EnsureChunkConditionsPlugin
<s> [webpack.Progress] 84% [1] basic chunk optimization RemoveParentModulesPlugin
<s> [webpack.Progress] 84% [1] basic chunk optimization RemoveEmptyChunksPlugin
<s> [webpack.Progress] 84% [1] basic chunk optimization MergeDuplicateChunksPlugin
<s> [webpack.Progress] 84% [1] chunk optimization
<s> [webpack.Progress] 84% [1] advanced chunk optimization
<s> [webpack.Progress] 84% [1] advanced chunk optimization SplitChunksPlugin
<s> [webpack.Progress] 84% [1] advanced chunk optimization RemoveEmptyChunksPlugin
<s> [webpack.Progress] 85% [1] after chunk optimization
<s> [webpack.Progress] 85% [1] module and chunk tree optimization
<s> [webpack.Progress] 85% [1] after module and chunk tree optimization
<s> [webpack.Progress] 85% [1] basic chunk modules optimization
<s> [webpack.Progress] 86% [1] chunk modules optimization
<s> [webpack.Progress] 86% [1] chunk modules optimization ModuleConcatenationPlugin
<s> [webpack.Progress] 86% [1] advanced chunk modules optimization
<s> [webpack.Progress] 86% [1] after chunk modules optimization
<s> [webpack.Progress] 86% [1] module reviving
<s> [webpack.Progress] 86% [1] module reviving RecordIdsPlugin
<s> [webpack.Progress] 87% [1] module order optimization
<s> [webpack.Progress] 87% [1] module order optimization OccurrenceOrderModuleIdsPlugin
<s> [webpack.Progress] 87% [1] advanced module order optimization
<s> [webpack.Progress] 87% [1] before module ids
<s> [webpack.Progress] 87% [1] module ids
<s> [webpack.Progress] 88% [1] module id optimization
<s> [webpack.Progress] 88% [1] module id optimization
<s> [webpack.Progress] 88% [1] chunk reviving
<s> [webpack.Progress] 88% [1] chunk reviving RecordIdsPlugin
<s> [webpack.Progress] 88% [1] chunk order optimization
<s> [webpack.Progress] 88% [1] chunk order optimization OccurrenceOrderChunkIdsPlugin
<s> [webpack.Progress] 89% [1] before chunk ids
<s> [webpack.Progress] 89% [1] chunk id optimization
<s> [webpack.Progress] 89% [1] chunk id optimization FlagIncludedChunksPlugin
<s> [webpack.Progress] 89% [1] after chunk id optimization
<s> [webpack.Progress] 89% [1] record modules
<s> [webpack.Progress] 89% [1] record modules RecordIdsPlugin
<s> [webpack.Progress] 90% [1] record chunks
<s> [webpack.Progress] 90% [1] record chunks RecordIdsPlugin
<s> [webpack.Progress] 90% [1] hashing
<s> [webpack.Progress] 90% [1] after hashing
<s> [webpack.Progress] 90% [1] record hash
<s> [webpack.Progress] 91% [1] module assets processing
<s> [webpack.Progress] 91% [1] chunk assets processing
<s> [webpack.Progress] 91% [1] additional chunk assets processing
<s> [webpack.Progress] 92% [1] recording
<s> [webpack.Progress] 92% [1] additional asset processing
<s> [webpack.Progress] 92% [1] chunk asset optimization
<s> [webpack.Progress] 92% [1] chunk asset optimization TerserPlugin
<s> [webpack.Progress] 92% [1] after chunk asset optimization
<s> [webpack.Progress] 93% [1] asset optimization
<s> [webpack.Progress] 93% [1] after asset optimization
<s> [webpack.Progress] 93% [1] after seal
<s> [webpack.Progress] 93% [1] emitting
<s> [webpack.Progress] 95% [1] after emitting
<s> [webpack.Progress] 95% [1] after emitting SizeLimitsPlugin
<s> [webpack.Progress] 96% [1] 
<s> [webpack.Progress] 96% [0] after chunk asset optimization
<s> [webpack.Progress] 96% [0] asset optimization
<s> [webpack.Progress] 97% [0] after asset optimization
<s> [webpack.Progress] 97% [0] after seal
<s> [webpack.Progress] 100% [0] 

Hash: d37a674487b1840b0a3bcc4aceff919e0c4cab46
Version: webpack 4.41.6
Child
    Hash: d37a674487b1840b0a3b
    Time: 1463ms
    Built at: 02/04/2024 06:20:30
     1 asset
    Entrypoint cruddemo = cruddemo.js
    [0] ./app.js 5.72 KiB {0} [built] [failed] [1 error]
    
WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
ERROR in ./app.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: [BABEL] C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\app.js: Could not find plugin "transform-unicode-sets-regex". Ensure there is an entry in ./available-plugins.js for it. (While processing: "C:\\temp\\bryntum-gantt-6.0.0-alpha-2\\gantt-6.0.0-alpha-2\\examples\\frameworks\\aspnet\\BryntumGanttCrudDemo\\app\\node_modules\\@babel\\preset-env\\lib\\index.js") at getPlugin (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\preset-env\lib\index.js:67:11) at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\preset-env\lib\index.js:258:62 at Array.map (<anonymous>) at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\preset-env\lib\index.js:258:43 at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\helper-plugin-utils\lib\index.js:33:12 at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\core\lib\config\full.js:199:14 at Generator.next (<anonymous>) at Function.<anonymous> (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\core\lib\gensync-utils\async.js:26:3) at Generator.next (<anonymous>) at step (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:261:32) at evaluateAsync (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:291:5) at Function.errback (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:113:7) at errback (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\core\lib\gensync-utils\async.js:70:18) at async (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:188:31) at onFirstPause (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:216:13) at Generator.next (<anonymous>) at cachedFunction (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\core\lib\config\caching.js:68:46) at cachedFunction.next (<anonymous>) at loadPresetDescriptor (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\core\lib\config\full.js:292:44) at loadPresetDescriptor.next (<anonymous>) at recurseDescriptors (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\core\lib\config\full.js:107:30) at recurseDescriptors.next (<anonymous>) at loadFullConfig (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\core\lib\config\full.js:142:6) at loadFullConfig.next (<anonymous>) at Function.transform (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\core\lib\transform.js:25:45) at transform.next (<anonymous>) at step (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:269:25) at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:273:13 at async.call.result.err.err (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:223:11) at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:189:28 at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\core\lib\gensync-utils\async.js:72:7 at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:113:33 at step (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:287:14) at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:273:13 at async.call.result.err.err (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:223:11) at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\gensync\index.js:189:28 Child Hash: cc4aceff919e0c4cab46 Time: 1441ms Built at: 02/04/2024 06:20:30 Asset Size Chunks Chunk Names cruddemo.css 450 KiB 0 [emitted] [big] main favicon.png 579 bytes [emitted]
fonts/bryntum-symbol-white.svg 518 bytes [emitted]
fonts/fa-solid-900.ttf 410 KiB [emitted] [big]
fonts/fa-solid-900.woff2 153 KiB [emitted]
fonts/poppins-v20-latin-100.woff 9.81 KiB [emitted]
fonts/poppins-v20-latin-100.woff2 7.31 KiB [emitted]
fonts/poppins-v20-latin-200.woff 10.3 KiB [emitted]
fonts/poppins-v20-latin-200.woff2 7.75 KiB [emitted]
fonts/poppins-v20-latin-300.woff 10.3 KiB [emitted]
fonts/poppins-v20-latin-300.woff2 7.66 KiB [emitted]
fonts/poppins-v20-latin-500.woff 10.1 KiB [emitted]
fonts/poppins-v20-latin-500.woff2 7.57 KiB [emitted]
fonts/poppins-v20-latin-600.woff 10.4 KiB [emitted]
fonts/poppins-v20-latin-600.woff2 7.81 KiB [emitted]
fonts/poppins-v20-latin-700.woff 10.2 KiB [emitted]
npm ERR! code ELIFECYCLE npm ERR! errno 2 fonts/poppins-v20-latin-700.woff2 7.63 KiB [emitted]
fonts/poppins-v20-latin-800.woff 10.2 KiB [emitted]
fonts/poppins-v20-latin-800.woff2 7.64 KiB [emitted]
npm ERR! aspnet@6.0.0-alpha-2 build: `webpack --config webpack.config.js --progress` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the aspnet@6.0.0-alpha-2 build script. fonts/poppins-v20-latin-900.woff 9.95 KiB [emitted]
fonts/poppins-v20-latin-900.woff2 7.45 KiB [emitted]
fonts/poppins-v20-latin-regular.woff 10.3 KiB [emitted]
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\namrata.patil\AppData\Roaming\npm-cache\_logs\2024-04-02T05_20_30_519Z-debug.log fonts/poppins-v20-latin-regular.woff2 7.7 KiB [emitted]
tmp 3.63 KiB 0 [emitted] main Entrypoint main [big] = cruddemo.css tmp [0] ./resources/app.css 39 bytes {0} [built] + 3 hidden modules
WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. Assets: fonts/fa-solid-900.ttf (410 KiB) cruddemo.css (450 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. Entrypoints: main (454 KiB) cruddemo.css tmp

WARNING in webpack performance recommendations: You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application. For more info visit https://webpack.js.org/guides/code-splitting/ Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/sass-loader/dist/cjs.js!resources/app.css: Entrypoint mini-css-extract-plugin = * [2] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./resources/app.css 4.12 KiB {0} [built] [3] ./node_modules/css-loader/dist/cjs.js!./resources/fonts/fonts.css 6.64 KiB {0} [built] [4] ./resources/fonts/poppins/poppins-v20-latin-100.woff2 77 bytes {0} [built] [5] ./resources/fonts/poppins/poppins-v20-latin-100.woff 76 bytes {0} [built] [6] ./resources/fonts/poppins/poppins-v20-latin-200.woff2 77 bytes {0} [built] [7] ./resources/fonts/poppins/poppins-v20-latin-200.woff 76 bytes {0} [built] [8] ./resources/fonts/poppins/poppins-v20-latin-300.woff2 77 bytes {0} [built] [9] ./resources/fonts/poppins/poppins-v20-latin-300.woff 76 bytes {0} [built] [10] ./resources/fonts/poppins/poppins-v20-latin-regular.woff2 81 bytes {0} [built] [11] ./resources/fonts/poppins/poppins-v20-latin-regular.woff 80 bytes {0} [built] [12] ./resources/fonts/poppins/poppins-v20-latin-500.woff2 77 bytes {0} [built] [13] ./resources/fonts/poppins/poppins-v20-latin-500.woff 76 bytes {0} [built] [14] ./resources/fonts/poppins/poppins-v20-latin-600.woff2 77 bytes {0} [built] [25] ./resources/images/bryntum-symbol-white.svg 74 bytes {0} [built] [26] ./resources/images/favicon.png 55 bytes {0} [built] + 12 hidden modules PM>

Using Visual Studio 2019
Node version - v14.16.1

Thanks,
Namrata


Post by marcio »

Hey namratapatil,

Sorry for the late reply.

Could you please try to build the examples with a newer Node version? Do you have the same result?

Best regards,
Márcio


Post by namratapatil »

Tried with latest version.
On latest version, It was giving me error

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\webpack\lib\util\createHash.js:135:53)

fixed that but it still gives me

 ERROR in ./app.js
    Module build failed (from ./node_modules/babel-loader/lib/index.js):
    Error: [BABEL] C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\app.js: Could not find plugin "transform-unicode-sets-regex". Ensure there is an entry in ./available-plugins.js for it. (While processing: "C:\\temp\\bryntum-gantt-6.0.0-alpha-2\\gantt-6.0.0-alpha-2\\examples\\frameworks\\aspnet\\BryntumGanttCrudDemo\\app\\node_modules\\@babel\\preset-env\\lib\\index.js")
        at getPlugin (C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\preset-env\lib\index.js:67:11)
        at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\preset-env\lib\index.js:258:62
        at Array.map (<anonymous>)
        at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\preset-env\lib\index.js:258:43
        at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\helper-plugin-utils\lib\index.js:33:12
        at C:\temp\bryntum-gantt-6.0.0-alpha-2\gantt-6.0.0-alpha-2\examples\frameworks\aspnet\BryntumGanttCrudDemo\app\node_modules\@babel\core\lib\config\full.js:199:14

Post by namratapatil »

Hi Marcio,

If it's compiling and building on your environment, can you please send me crud.js and crud.css files.
I need to see this example working for integrating Gantt on my project.

Thanks,
Namrata


Post by marcio »

Hey Namrata,

Thanks for the update and the patience.

Actually, I found an error in the build process here as well. Created a ticket to fix that https://github.com/bryntum/support/issues/8978

Best regards,
Márcio


Post by namratapatil »

Hi Marcio,

Anything on this please?


Post by marcio »

Hey namratapatil,

Unfortunately not. But I sent a message to our team to check this as soon as possible.

Best regards,
Márcio


Post by Maxim Gorkovsky »

Hello.

I checked your error, it clearly states babel plugin is not loaded. We have not updated that js app for quite a while, you can try using latest babel. Or try installing missing plugin: https://www.npmjs.com/package/@babel/plugin-transform-unicode-sets-regex

Please let us know if it helps


Post Reply