Giter VIP home page Giter VIP logo

Comments (10)

baudehlo avatar baudehlo commented on September 6, 2024

Pretty sure this was fixed by #73

Just published 1.2.0. Try it. Closing, but re-open if it's still a problem.

from node-fs-ext.

martinwin avatar martinwin commented on September 6, 2024

Now fails with

> [email protected] install /Users/martin/Projects/sitar-client-js/node_modules/fs-ext
> node-gyp configure build

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
  CXX(target) Release/obj.target/fs-ext/fs-ext.o
../fs-ext.cc:156:21: error: expected ';' after expression
  Nan::AsyncResource async_resource("fs-ext:EIO_After");
                    ^
                    ;
../fs-ext.cc:156:8: error: no member named 'AsyncResource' in namespace 'Nan'
  Nan::AsyncResource async_resource("fs-ext:EIO_After");
  ~~~~~^
../fs-ext.cc:156:22: error: use of undeclared identifier 'async_resource'
  Nan::AsyncResource async_resource("fs-ext:EIO_After");
                     ^
../fs-ext.cc:157:37: error: use of undeclared identifier 'async_resource'
  store_data->cb->Call(argc, argv, &async_resource);
                                    ^
4 errors generated.
make: *** [Release/obj.target/fs-ext/fs-ext.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/martin/.nvm/versions/node/v8.9.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 17.6.0
gyp ERR! command "/Users/martin/.nvm/versions/node/v8.9.1/bin/node" "/Users/martin/.nvm/versions/node/v8.9.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /Users/martin/Projects/sitar-client-js/node_modules/fs-ext
gyp ERR! node -v v8.9.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.

from node-fs-ext.

baudehlo avatar baudehlo commented on September 6, 2024

@davedoesdev - can you help with this one?

from node-fs-ext.

davedoesdev avatar davedoesdev commented on September 6, 2024

@martinwin what if you just do

npm install fs-ext

from the command line?

from node-fs-ext.

davedoesdev avatar davedoesdev commented on September 6, 2024

@baudehlo I'm wondering if the nan depedency needs to be updated in package.json so it demands the latest version?

from node-fs-ext.

davedoesdev avatar davedoesdev commented on September 6, 2024

#75 for dependency update

from node-fs-ext.

martinwin avatar martinwin commented on September 6, 2024

@davedoesdev yes it works if I only install fs-ext but not if I npm install. I do have something else using nan, so I hope your change will fix it.

from node-fs-ext.

davedoesdev avatar davedoesdev commented on September 6, 2024

@martinwin what if you temporarily change your dependency to "@davedoesdev/fs-ext": "~1.2.1"

I've published that with my change.

from node-fs-ext.

martinwin avatar martinwin commented on September 6, 2024

@davedoesdev, that's working great for me. Thanks!

from node-fs-ext.

davedoesdev avatar davedoesdev commented on September 6, 2024

Cool - thanks for trying it. Once #75 is merged and a new version published we can stop using the scoped package.

from node-fs-ext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.