Primordials is not defined

Suganya's Avatar


18 Jan, 2021 05:01 AM


I am getting the following error during AppVeyor build of C# .NET, but the applications builds fine locally. Any suggestions pls?

ReferenceError: primordials is not defined
      at fs.js:45:5
      at req_ (C:\projects\portal-dev\src\Web\node_modules\natives\index.js:143:24)
      at Object.req [as require] (C:\projects\portal-dev\src\Web\node_modules\natives\index.js:55:10)
      at Object.<anonymous> (C:\projects\portal-dev\src\Web\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37)
      at Module._compile (internal/modules/cjs/loader.js:1063:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
      at Module.load (internal/modules/cjs/loader.js:928:32)
      at Function.Module._load (internal/modules/cjs/loader.js:769:14)
      at Module.require (internal/modules/cjs/loader.js:952:19)
      at require (internal/modules/cjs/helpers.js:88:18)
C:\projects\portal-dev\src\Web\Portal.csproj(889,5): error MSB3073: The command ".\node_modules\.bin\gulp build" exited with code 1.

  1. Support Staff 1 Posted by Feodor Fitsner on 18 Jan, 2021 05:07 AM

    Feodor Fitsner's Avatar
  2. 2 Posted by Suganya Karunan... on 19 Jan, 2021 12:01 AM

    Suganya Karunanidhi's Avatar


    I don't get this error when I build my solution locally. Only getting in
    AppVeyor build.


  3. Support Staff 3 Posted by Feodor Fitsner on 19 Jan, 2021 12:28 AM

    Feodor Fitsner's Avatar

    What version of Node do you use locally (output of node --version)?

  4. 4 Posted by Suganya Karunan... on 19 Jan, 2021 03:53 AM

    Suganya Karunanidhi's Avatar


  5. Support Staff 5 Posted by Feodor Fitsner on 19 Jan, 2021 04:46 AM

    Feodor Fitsner's Avatar

    OK, try using x64 version of Node 14.x by adding this into appveyor.yml:

    - ps: Install-Product node 14 x64
  6. Feodor Fitsner closed this discussion on 21 Mar, 2021 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

27 Jan, 2023 08:06 PM
27 Jan, 2023 08:05 PM
25 Jan, 2023 03:23 PM
25 Jan, 2023 03:22 PM
23 Jan, 2023 03:29 PM