Skip to content

build v1.0.0 - fs: re-evaluating native module sources is not supported. #303

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
hailiang-wang opened this issue Nov 16, 2016 · 1 comment

Comments

@hailiang-wang
Copy link
Contributor

hailiang-wang commented Nov 16, 2016

In order to try v1.0.0, get the source code and run npm build.

Expected Behavior

The app should be built with babel.

Current Behavior

Come to an error.

fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

Possible Solution

After searching , it seems to be node version issue.
sequelize/cli#291
Fallback nodejs version to v4.x.
I am using v6.9.1 right now.

Steps to Reproduce (for bugs)

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. PHP 5.4 on nginx 1.9.1): Node.js v6.9.1
  • Server type and version:
  • Operating System and version: Mac OSX
  • Link to your project:
@hailiang-wang
Copy link
Contributor Author

With a double check, I found it is not an error, but a warning.
The warning can be removed with

sudo npm upgrade -g npm

sequelize/cli#291

Now, build

npm build

Test

npm test

image

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

No branches or pull requests

1 participant