Skip to content

npm run build failed #5812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sarathak opened this issue Jun 16, 2019 · 3 comments
Closed

npm run build failed #5812

sarathak opened this issue Jun 16, 2019 · 3 comments
Labels
Support Support question

Comments

@sarathak
Copy link

I cloned and try build. it faild

fs.js:27
const { Math, Object } = primordials;
                         ^

ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (/home/code/github/readthedocs.org/node_modules/natives/index.js:137:5)
    at Object.req [as require] (/home/code/github/readthedocs.org/node_modules/natives/index.js:54:10)
    at Object.<anonymous> (/home/code/github/readthedocs.org/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)

same issue also reported on gulp github
i think we have to update gulp to latest version

gulpjs/gulp#2324
https://stackoverflow.com/questions/55921442/how-to-fix-referenceerror-primordials-is-not-defined-in-node

@dojutsu-user dojutsu-user added the Support Support question label Jun 16, 2019
@dojutsu-user
Copy link
Member

You can use nvm to change node version on your system.
I am using node v10.15.3 and npm 6.9.0 and it is running just fine.

@stsewd
Copy link
Member

stsewd commented Jun 17, 2019

I use nvm too. Closing as this isn't a Read the Docs issue.

Also, we'll be updating our frontend tooling soon

@stsewd stsewd closed this as completed Jun 17, 2019
@stsewd
Copy link
Member

stsewd commented Jun 17, 2019

Also, see #4843

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

3 participants