Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

HTML Plugin-seed 0.95: Problems compiling (webpack: Failed to compile)

$
0
0

(continued from Re: HTML plugin-seed 0.9.5 is available, upgraded to Angular 4, CLI 1.0 and Clarity 0.9.0)

 

Hi, I'm trying to build this environment using my Mac development environment.

 

I've followed the instructions to install, and have used all defaults to create the "myplugin" plugin.

 

The json server starts correctly, as expected:

 

MacBook-Pro-10:myplugin-ui wodge$ json-server --watch db.json --static ./src/webapp

 

 

 

  \{^_^}/ hi!

 

 

 

  Loading db.json

 

  Done

 

 

 

  Resources

 

  http://localhost:3000/echos

 

  http://localhost:3000/hosts

 

 

 

  Home

 

  http://localhost:3000

 

 

 

  Type s + enter at any time to create a snapshot of the database

 

  Watching...

 

 

 

 

 

However, when I attempt to compile I get:

 

MacBook-Pro-10:myplugin-ui wodge$ npm start

 

 

 

> myplugin@0.9.2 start /Users/wodge/runecast/WebClientPlugin/WebClientPlugin-Resources/plugin-seed-0.9.5/tools/myplugin-ui

 

> ng serve  --port 4201 --proxy-config proxy.conf.json

 

 

 

** NG Live Development Server is running on http://localhost:4201 **

 

Hash: 1f53bfd0301c4e004f76                                                               

 

Time: 17774ms

 

chunk    {0} main.bundle.js, main.bundle.js.map (main) 156 kB {3} [initial] [rendered]

 

chunk    {1} scripts.bundle.js, scripts.bundle.js.map (scripts) 576 kB {4} [initial] [rendered]

 

chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 396 kB {4} [initial] [rendered]

 

chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 4.02 MB [initial] [rendered]

 

chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]

 

 

 

ERROR in /Users/wodge/runecast/WebClientPlugin/WebClientPlugin-Resources/plugin-seed-0.9.5/tools/myplugin-ui/node_modules/@types/jasmine/index.d.ts (40,52): '=' expected.

 

/Users/wodge/runecast/WebClientPlugin/WebClientPlugin-Resources/plugin-seed-0.9.5/tools/myplugin-ui/node_modules/@types/jasmine/index.d.ts (42,62): '=' expected.

 

/Users/wodge/runecast/WebClientPlugin/WebClientPlugin-Resources/plugin-seed-0.9.5/tools/myplugin-ui/node_modules/@types/jasmine/index.d.ts (40,38): A parameter initializer is only allowed in a function or constructor implementation.

 

/Users/wodge/runecast/WebClientPlugin/WebClientPlugin-Resources/plugin-seed-0.9.5/tools/myplugin-ui/node_modules/@types/jasmine/index.d.ts (40,46): Cannot find name 'keyof'.

 

/Users/wodge/runecast/WebClientPlugin/WebClientPlugin-Resources/plugin-seed-0.9.5/tools/myplugin-ui/node_modules/@types/jasmine/index.d.ts (42,46): A parameter initializer is only allowed in a function or constructor implementation.

 

/Users/wodge/runecast/WebClientPlugin/WebClientPlugin-Resources/plugin-seed-0.9.5/tools/myplugin-ui/node_modules/@types/jasmine/index.d.ts (42,56): Cannot find name 'keyof'.

 

/Users/wodge/runecast/WebClientPlugin/WebClientPlugin-Resources/plugin-seed-0.9.5/tools/myplugin-ui/node_modules/@types/jasmine/index.d.ts (58,42): Cannot find name 'Partial'.

 

/Users/wodge/runecast/WebClientPlugin/WebClientPlugin-Resources/plugin-seed-0.9.5/tools/myplugin-ui/node_modules/@types/jasmine/index.d.ts (99,22): Cannot find name 'Partial'.

 

/Users/wodge/runecast/WebClientPlugin/WebClientPlugin-Resources/plugin-seed-0.9.5/tools/myplugin-ui/node_modules/@types/jasmine/index.d.ts (99,35): Cannot find name 'Partial'.

 

webpack: Failed to compile.

 

 

 

 

 

Could you please advise how to resolve this issue?

 

N.B. I have also built the environment using a Windows OS, and have the same issue.

 

I've enclosed the "npm list" output with this post.

 

 

Many thanks

 


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>