Error when installing sapphire-ng-8.0.0

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
ThomasSchindler
Posts: 17
Joined: 27 Mar 2014, 09:44

18 Dec 2019, 11:43

Hi,

I bought the Basic Licence of the Sapphire Layout today and tried to install it now. When running "npm install" in the unzipped directory I get the following error:

Code: Select all

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.2.tgz
npm ERR! 404
npm ERR! 404  'websocket-driver@0.7.2' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'sapphire-ng-8.0.0'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\tschindler\AppData\Roaming\npm-cache\_logs\2019-12-18T09_27_04_037Z-debug.log
I'm running it on
  • Windows 10 Enterprise 1803 Build 17134.1130
  • node v12.14.0
  • npm --version 6.12.0
  • Angular CLI v. 8.1.2
When inspecting the npm registry, I discovered, that only websocket-driver-0.7.1.tgz and websocket-driver-0.7.3.tgz is avalable. Maybe the dependencies must be updated?
PrimeFaces Version: PrimeFaces 11.0.1

PrimeNG Version: 12.0.0

Application Server: JBoss Wildfly 23.0.2 Final

JSF Implementation: Mojarra 2.3.14.SP04

ThomasSchindler
Posts: 17
Joined: 27 Mar 2014, 09:44

18 Dec 2019, 11:52

I fixed the problem by changing the version of the websocket-driver in package-lock.json to 0.7.3. But I didn't check whether the required Versions of "http-parser-js", "safe-buffer" and "websocket-extenstions" need to be updated as well.
PrimeFaces Version: PrimeFaces 11.0.1

PrimeNG Version: 12.0.0

Application Server: JBoss Wildfly 23.0.2 Final

JSF Implementation: Mojarra 2.3.14.SP04

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

20 Dec 2019, 14:10

Hi,
Glad to hear :)

Post Reply

Return to “Sapphire - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests