Comments (5)
Seems to be an issue with Scrypt not building properly on your Node version. Can you try running it on the latest v11 Node?
from drizzle-legacy.
@adrianmcli okay i'll try.
from drizzle-legacy.
node 12 installed and yet installation fails with new error,
E:\Dev\drizzle-react-tutorial\client\node_modules\keccak>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
addon.cc
win_delay_load_hook.cc
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\src\addon.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\keccak\build\keccak.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd E:\Dev\drizzle-react-tutorial\client\node_modules\keccak
gyp ERR! node -v v12.3.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] rebuild: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] rebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Pathum\AppData\Roaming\npm-cache_logs\2019-05-22T13_40_55_134Z-debug.log
"Keccak bindings compilation fail. Pure JS implementation will be used."
[email protected] install E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt
node-gyp rebuild
E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Warning: Missing input files:
E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build..\scrypt\win\include\config.h
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Copying scrypt/win/include/config.h to scrypt/scrypt-1.2.0/config.h
The system cannot find the file specified.
win_delay_load_hook.cc
copied_files.vcxproj -> E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\Release\copied_files.node
memlimit.c
keyderivation.c
pickparams.c
hash.c
win_delay_load_hook.cc
scrypt_wrapper.vcxproj -> E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\Release\scrypt_wrapper.lib
crypto_scrypt.c
crypto_scrypt_smix.c
warnp.c
sha256.c
insecure_memzero.c
scryptenc_cpuperf.c
mman.c
gettimeofday.c
win_delay_load_hook.cc
scrypt_lib.vcxproj -> E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\Release\scrypt_lib.lib
scrypt_common.cc
scrypt_params_async.cc
scrypt_params_sync.cc
scrypt_kdf_async.cc
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\src\node-boilerplate\scrypt_common.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\scrypt.vcxproj]
scrypt_kdf_sync.cc
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\src\node-boilerplate\scrypt_params_sync.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\scrypt.vcxproj]
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\src\node-boilerplate\scrypt_params_async.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\scrypt.vcxproj]
scrypt_kdf-verify_sync.cc
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\src\node-boilerplate\scrypt_kdf_async.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\scrypt.vcxproj]
scrypt_kdf-verify_async.cc
scrypt_hash_sync.cc
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\src\node-boilerplate\scrypt_kdf_sync.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\scrypt.vcxproj]
scrypt_hash_async.cc
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\src\node-boilerplate\scrypt_kdf-verify_async.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\scrypt.vcxproj]
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\src\node-boilerplate\scrypt_hash_sync.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\scrypt.vcxproj]
scrypt_node.cc
win_delay_load_hook.cc
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\src\node-boilerplate\scrypt_kdf-verify_sync.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\scrypt.vcxproj]
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\scrypt_node.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\scrypt.vcxproj]
c:\users\pathum.node-gyp\12.3.0\include\node\node.h(107): fatal error C1083: Cannot open include file: 'util-inl.h': No such file or directory (compiling source file
..\src\node-boilerplate\scrypt_hash_async.cc) [E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt\build\scrypt.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd E:\Dev\drizzle-react-tutorial\client\node_modules\scrypt
gyp ERR! node -v v12.3.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): EPERM: operation not permitted, lstat 'E:\Dev\drizzle-react-tutorial\client\node_modules\jest-haste-map\node_modules\fsevents\node_modules'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\jest-haste-map\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
from drizzle-legacy.
I think you misread my last comment. I suggested to try Node v11, not v12.
from drizzle-legacy.
i thought node 12v do better, it seems i wrong. althoug installation is success. Thanks @adrianmcli
from drizzle-legacy.
Related Issues (20)
- Drizzle cache does not clear error message HOT 3
- Allow empty drizzleOptions HOT 1
- Better error message for invalid event name HOT 3
- incorrect from address when switching account with Metamask HOT 2
- Potential error in polling
- cacheCall() sometimes hangs. Needs a browser restart to fix. HOT 4
- Calling function with multiple return values HOT 2
- npm install with app directory fails for Drizzle HOT 1
- print revert() in new Contract function HOT 1
- Support for meta transactions HOT 4
- H
- H
- Question: Can I generateStore() with extra initialState? HOT 2
- Support for Typescript HOT 3
- Fallback issue with infura ws HOT 2
- Calling cacheCall on a contract method which returns a struct gives an error - Web3 related HOT 3
- If user denies access through MetaMask (6.6.0+) drizzle does not fail gracefully HOT 2
- ..
- Failed to compile. Module not found: Can't resolve 'drizzle' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drizzle-legacy.