Primordials is not defined
Hi,
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.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Feodor Fitsner on 18 Jan, 2021 05:07 AM
Found this: https://stackoverflow.com/questions/55921442/how-to-fix-referenceer... - see if that helps.
2 Posted by Suganya Karunan... on 19 Jan, 2021 12:01 AM
Hi,
I don't get this error when I build my solution locally. Only getting in
AppVeyor build.
Thanks,
Suganya
Support Staff 3 Posted by Feodor Fitsner on 19 Jan, 2021 12:28 AM
What version of Node do you use locally (output of
node --version
)?4 Posted by Suganya Karunan... on 19 Jan, 2021 03:53 AM
v14.15.0
Support Staff 5 Posted by Feodor Fitsner on 19 Jan, 2021 04:46 AM
OK, try using x64 version of Node 14.x by adding this into
appveyor.yml
:Feodor Fitsner closed this discussion on 21 Mar, 2021 09:03 PM.