Skip to content

npm run build fails #5

Description

@ArturBaybulatov
node_modules/odata-v4-server/build/lib/processor.d.ts:20:22 - error TS2415: Class 'ODataProcessor' incorrectly extends base class 'Transform'.
  Property '_flush' is protected in type 'ODataProcessor' but public in type 'Transform'.

20 export declare class ODataProcessor extends Transform {
                        ~~~~~~~~~~~~~~


npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! odata-v4-server-pgsql-example@0.1.0 tsc: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the odata-v4-server-pgsql-example@0.1.0 tsc 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!     C:\Users\Baybulatov.Artur\AppData\Roaming\npm-cache\_logs\2018-10-01T13_40_56_422Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! odata-v4-server-pgsql-example@0.1.0 build: `npm run tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the odata-v4-server-pgsql-example@0.1.0 build 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!     C:\Users\Baybulatov.Artur\AppData\Roaming\npm-cache\_logs\2018-10-01T13_40_56_459Z-debug.log

C:\Users\Baybulatov.Artur\AppData\Roaming\npm-cache\_logs\2018-10-01T13_40_56_459Z-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\prog\\nodejs\\node.exe',
1 verbose cli   'C:\\prog\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using npm@5.6.0
3 info using node@v8.11.2
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle odata-v4-server-pgsql-example@0.1.0~prebuild: odata-v4-server-pgsql-example@0.1.0
6 info lifecycle odata-v4-server-pgsql-example@0.1.0~build: odata-v4-server-pgsql-example@0.1.0
7 verbose lifecycle odata-v4-server-pgsql-example@0.1.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle odata-v4-server-pgsql-example@0.1.0~build: PATH: C:\prog\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Baybulatov.Artur\AppData\Local\Temp\ggg\odata-v4-server-pgsql-example\node_modules\.bin;C:\Program Files\ImageMagick-7.0.6-Q16;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd;C:\Users\Baybulatov.Artur\AppData\Roaming\npm;C:\prog\WinMerge;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Yarn\bin;C:\prog\nodejs\;C:\Go\bin;C:\Program Files\Git\cmd;C:\Users\Baybulatov.Artur\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\Baybulatov.Artur\AppData\Local\Programs\Python\Python36-32\;C:\Program Files\Sublime Text 3;C:\Users\Baybulatov.Artur\Documents\projects\windows-shortcuts;C:\Users\Baybulatov.Artur\AppData\Local\Programs\Fiddler;C:\Users\Baybulatov.Artur\AppData\Local\Yarn\bin;C:\Program Files\PostgreSQL\10\bin;C:\Users\Baybulatov.Artur\AppData\Roaming\npm;%GOPATH%\bin
9 verbose lifecycle odata-v4-server-pgsql-example@0.1.0~build: CWD: C:\Users\Baybulatov.Artur\AppData\Local\Temp\ggg\odata-v4-server-pgsql-example
10 silly lifecycle odata-v4-server-pgsql-example@0.1.0~build: Args: [ '/d /s /c', 'npm run tsc' ]
11 silly lifecycle odata-v4-server-pgsql-example@0.1.0~build: Returned: code: 2  signal: null
12 info lifecycle odata-v4-server-pgsql-example@0.1.0~build: Failed to exec build script
13 verbose stack Error: odata-v4-server-pgsql-example@0.1.0 build: `npm run tsc`
13 verbose stack Exit status 2
13 verbose stack     at EventEmitter.<anonymous> (C:\prog\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (C:\prog\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid odata-v4-server-pgsql-example@0.1.0
15 verbose cwd C:\Users\Baybulatov.Artur\AppData\Local\Temp\ggg\odata-v4-server-pgsql-example
16 verbose Windows_NT 10.0.10586
17 verbose argv "C:\\prog\\nodejs\\node.exe" "C:\\prog\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
18 verbose node v8.11.2
19 verbose npm  v5.6.0
20 error code ELIFECYCLE
21 error errno 2
22 error odata-v4-server-pgsql-example@0.1.0 build: `npm run tsc`
22 error Exit status 2
23 error Failed at the odata-v4-server-pgsql-example@0.1.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions