tbaltrushaitis / cv

:mortar_board: Best in Class modern CV, Resume and Portfolio website template. All-in-One-Page site with simply customizable builder.
http://bit.ly/tomascv
MIT License
575 stars 206 forks source link

ReferenceError thrown during deployment #33

Closed jhademcconnell closed 3 years ago

jhademcconnell commented 3 years ago

Ran the setup steps as outlined but when trying to deploy, the following error is thrown:

fs.js:27 const { Math, Object } = primordials; ^ ReferenceError: primordials is not defined at fs.js:27:26

at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)

============================================================= Error message: > cv@0.2.6 preinstall /workspace

set echo off; figlet-toilet -t -f small -F border 'NPM:PRE-INSTALL'

sh: 1: figlet-toilet: not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! cv@0.2.6 preinstall: set echo off; figlet-toilet -t -f small -F border 'NPM:PRE-INSTALL' npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the cv@0.2.6 preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

tbaltrushaitis commented 3 years ago

Hi, @jhademcconnell.

Looks like you need to install figlet-toilet package in your system first. Do it with your system installer. For example in ubuntu OS the command will look like:

$ sudo apt install figlet-toilet

Regards!

tbaltrushaitis commented 3 years ago

@jhademcconnell ,

do you need assistance on this or it may be closed?

Thanks in advance!

tbaltrushaitis commented 3 years ago

Closing due to reporter inactivity

SamGreenwood1 commented 2 years ago

I'm having a similar issue but have figlet-toilet installed.

image image
tbaltrushaitis commented 2 years ago

@SamGreenwood1 ,

run npm i dotenv

Regards!