-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Running npm install returns the error below when running node v14.19.0 and npm v6.14.16:
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.
> jsonapi-deserializer@0.1.1 prepublish [path-to-repo]/js/jsonapi-deserializer
> tsc
node_modules/@types/node/index.d.ts:20:1 - error TS1084: Invalid 'reference' directive syntax.
20 /// <reference lib="es2016" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! jsonapi-deserializer@0.1.1 prepublish: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the jsonapi-deserializer@0.1.1 prepublish script.
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! [path-to-home-directory]/.npm/_logs/2022-03-21T18_17_17_439Z-debug.log
Metadata
Metadata
Assignees
Labels
No labels