question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

installation from sources doesn't work: fibers@1.0.5 error

See original GitHub issue

I follow the wiki for installation from sources and I get the following error:

$ git clone https://github.com/wekan/wekan.git && cd wekan
Cloning into 'wekan'...
remote: Counting objects: 3627, done.
remote: Total 3627 (delta 0), reused 0 (delta 0), pack-reused 3627
Receiving objects: 100% (3627/3627), 1.22 MiB | 1.21 MiB/s, done.
Resolving deltas: 100% (2370/2370), done.
Checking connectivity... done.
$ meteor build .build --directory

WARNING: The output directory is under your source tree.

$ cd .build/bundle/programs/server/ && sudo npm install
npm WARN package.json meteor-dev-bundle@0.0.0 No description
npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
npm WARN package.json meteor-dev-bundle@0.0.0 No README data
/
> fibers@1.0.5 install /Users/eboily/Downloads/wekan/.build/bundle/programs/server/node_modules/fibers
> node ./build.js

(node) child_process: options.customFds option is deprecated. Use options.stdio instead.
  CXX(target) Release/obj.target/fibers/src/fibers.o
../src/fibers.cc:132:44: error: too many arguments to function call, expected at most 2, have 4
                return Signature::New(isolate, receiver, argc, argue)
                       ~~~~~~~~~~~~~~                    ^~~~~~~~~~
/Users/eboily/.node-gyp/4.2.4/include/node/v8.h:4675:3: note: 'New' declared here
  static Local<Signature> New(
  ^
../src/fibers.cc:140:3: error: no member named 'SetResourceConstraints' in namespace 'v8'; did you mean simply 'SetResourceConstraints'?
                v8::SetResourceConstraints(isolate, constraints);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
                SetResourceConstraints
../src/fibers.cc:139:7: note: 'SetResourceConstraints' declared here
        void SetResourceConstraints(Isolate* isolate, ResourceConstraints* constraints) {
             ^
2 errors generated.
make: *** [Release/obj.target/fibers/src/fibers.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/eboily/Downloads/wekan/.build/bundle/programs/server/node_modules/fibers
gyp ERR! node -v v4.2.4
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 
Build failed
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.2.4
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE

npm ERR! fibers@1.0.5 install: `node ./build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the fibers@1.0.5 install script 'node ./build.js'.
npm ERR! This is most likely a problem with the fibres package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls fibres
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/eboily/Downloads/wekan/.build/bundle/programs/server/npm-debug.log
$

I am attaching the npm-debug.log file as a txt file: npm-debug.txt

The error seems to be with fibers 1.0.5 but I can’t find where to set the wekan dependency to this package to a newer version. Any idea?

Thanks!

  • Edouard

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:6
  • Comments:19 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
CodeBrauercommented, Oct 5, 2017

@ASES573 - you still need node v4 - node 6 is not supported.

1reaction
aswathmadhubabu-dotcommented, Oct 5, 2017

Error not solved till now C:\Users\Documents\i\node_modules\fibers>if not defined npm_config_node_gyp (node “C:\Program Files
nodejs\node_modules\npm\bin\node-gyp-bin\…..\node_modules\node-gyp\bin\node-gyp.js” rebuild --release ) else (node “” rebuild --release ) Building the projects in this solution one at a time. To enable parallel build, please add the “/m” switch. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK ve rsion 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking t he solution and selecting “Retarget solution”. [C:\Users\Documents\i\node_modules\fibers\build\fibe rs.vcxproj] gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “reb uild” “–release” gyp ERR! cwd C:\Users\Documents\i\node_modules\fibers gyp ERR! node -v v6.11.2 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok Build failed ‘nodejs’ is not recognized as an internal or external command, operable program or batch file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”," arch":“x64”}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\pm2\node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”," arch":“x64”}) npm WARN browserify-shim@2.0.10 requires a peer of browserify@>= 2.3.0 < 4 but none was installed. npm WARN mongodb-core@1.2.31 requires a peer of kerberos@~0.0 but none was installed. npm ERR! Windows_NT 6.1.7601 npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “install” “fibers@1.0.10” “–sav e” npm ERR! node v6.11.2 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE

npm ERR! fibers@1.0.10 install: node build.js || nodejs build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the fibers@1.0.10 install script ‘node build.js || nodejs build.js’. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the fibers package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node build.js || nodejs build.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs fibers npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls fibers npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Documents\i\npm-debug.log

C:\Users\Documents\i>npm install fibers@1.0.11 --save npm ERR! fetch failed https://registry.npmjs.org/fibers/-/fibers-1.0.11.tgz npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404 npm ERR! fetch failed https://registry.npmjs.org/fibers/-/fibers-1.0.11.tgz npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Click Start windows icon · At the command prompt, type MSIExec, and then press Enter. · If the MSI engine is working, you...
Read more >
Meaning of common message when install a package "There ...
When installing packages, the message There are binary versions available but the source versions are later often appears. This is (I think) followed...
Read more >
Error installing mysql2: Failed to build gem native extension
I'm on a mac and use homebrew to install open source programs. I did have to install mac Dev tools in order to...
Read more >
I can't install TensorFlow-macos a… | Apple Developer Forums
Installing Python 3.8 from anaconda or python.org both still give me the error in the original post. —. The Consul. 1 year ago....
Read more >
How to correctly install Keras and Tensorflow - ActiveState
Keras and TensorFlow are open source Python libraries for working with neural networks, creating machine learning models and performing deep ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found