expo start Cannot Find Module 'hoek'
I installed expo-cli and start project with expo init
.
Then i try to start project with expo start
. I'm getting an error: Cannot find module 'hoek'
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using npm@6.4.1
3 info using node@v11.2.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle empty-project-template@~prestart: empty-project-template@
6 info lifecycle empty-project-template@~start: empty-project-template@
7 verbose lifecycle empty-project-template@~start: unsafe-perm in lifecycle true
8 verbose lifecycle empty-project-template@~start: PATH: C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclenode-gyp-bin;C:projehoeknode_modules.bin;C:Program Files (x86)Common FilesOracleJavajavapath;C:ProgramDataOracleJavajavapath;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:Program Files (x86)Windows Kits8.1Windows Performance Toolkit;C:Program Files (x86)Microsoft SDKsTypeScript1.0;C:Program FilesMicrosoftWeb Platform Installer;C:Program Files (x86)Microsoft ASP.NETASP.NET Web Pagesv1.0;C:Program Files (x86)Microsoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft SQL Server100ToolsBinnVSShellCommon7IDE;C:Program Files (x86)Microsoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft Visual Studio 9.0Common7IDEPrivateAssemblies;C:Program FilesMicrosoft SQL Server130DTSBinn;C:Program FilesMicrosoft SQL ServerClient SDKODBC110ToolsBinn;C:Program Files (x86)Microsoft SQL Server130ToolsBinn;C:Program FilesMicrosoft SQL Server130ToolsBinn;C:Program Files (x86)Microsoft SQL Server130ToolsBinnManagementStudio;C:Program Files (x86)Microsoft SQL Server130DTSBinn;C:Program Files (x86)Microsoft SQL Server120ToolsBinnManagementStudio;C:Program Files (x86)Microsoft SQL Server120ToolsBinn;C:Program FilesMicrosoft SQL Server120ToolsBinn;C:Program Files (x86)Microsoft SQL Server120DTSBinn;C:Program FilesMicrosoft SQL Server120DTSBinn;C:Program Files (x86)SkypePhone;D:Matlabbin;C:WINDOWSSystem32OpenSSH;C:Program Filesnodejs;C:ProgramDatachocolateybin;C:Program FilesGitcmd;C:Program Files (x86)Yarnbin;C:UsersSeçil.SECILAppDataLocalMicrosoftWindowsApps;C:UsersSeçil.SECILAppDataRoamingnpm;C:UsersSeçil.SECILAppDataLocalYarnbin
9 verbose lifecycle empty-project-template@~start: CWD: C:projehoek
10 silly lifecycle empty-project-template@~start: Args: [ '/d /s /c', 'expo start' ]
11 silly lifecycle empty-project-template@~start: Returned: code: 1 signal: null
12 info lifecycle empty-project-template@~start: Failed to exec start script
13 verbose stack Error: empty-project-template@ start: `expo start`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecycleindex.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclelibspawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:978:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
14 verbose pkgid empty-project-template@
15 verbose cwd C:projehoek
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v11.2.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error empty-project-template@ start: `expo start`
22 error Exit status 1
23 error Failed at the empty-project-template@ start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
I tried these:
- remove node_modules folder and run
npm install
again
npm clear cache
and runexpo start
npm install hoek
andexpo start
Nothing resolves the problem, I'm still getting the same error when I start the expo project.
Here is my package.json
{
"name": "empty-project-template",
"main": "node_modules/expo/AppEntry.js",
"private": true,
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject"
},
"dependencies": {
"@expo/vector-icons": "^8.0.0",
"expo": "^31.0.2",
"native-base": "^2.8.1",
"react": "^16.6.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-31.0.1.tar.gz",
"react-native-sensors": "^4.1.0",
"react-navigation": "^2.18.2"
},
"devDependencies": {
"babel-preset-expo": "^5.0.0",
"schedule": "^0.4.0"
}
}
react-native expo
|
show 9 more comments
I installed expo-cli and start project with expo init
.
Then i try to start project with expo start
. I'm getting an error: Cannot find module 'hoek'
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using npm@6.4.1
3 info using node@v11.2.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle empty-project-template@~prestart: empty-project-template@
6 info lifecycle empty-project-template@~start: empty-project-template@
7 verbose lifecycle empty-project-template@~start: unsafe-perm in lifecycle true
8 verbose lifecycle empty-project-template@~start: PATH: C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclenode-gyp-bin;C:projehoeknode_modules.bin;C:Program Files (x86)Common FilesOracleJavajavapath;C:ProgramDataOracleJavajavapath;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:Program Files (x86)Windows Kits8.1Windows Performance Toolkit;C:Program Files (x86)Microsoft SDKsTypeScript1.0;C:Program FilesMicrosoftWeb Platform Installer;C:Program Files (x86)Microsoft ASP.NETASP.NET Web Pagesv1.0;C:Program Files (x86)Microsoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft SQL Server100ToolsBinnVSShellCommon7IDE;C:Program Files (x86)Microsoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft Visual Studio 9.0Common7IDEPrivateAssemblies;C:Program FilesMicrosoft SQL Server130DTSBinn;C:Program FilesMicrosoft SQL ServerClient SDKODBC110ToolsBinn;C:Program Files (x86)Microsoft SQL Server130ToolsBinn;C:Program FilesMicrosoft SQL Server130ToolsBinn;C:Program Files (x86)Microsoft SQL Server130ToolsBinnManagementStudio;C:Program Files (x86)Microsoft SQL Server130DTSBinn;C:Program Files (x86)Microsoft SQL Server120ToolsBinnManagementStudio;C:Program Files (x86)Microsoft SQL Server120ToolsBinn;C:Program FilesMicrosoft SQL Server120ToolsBinn;C:Program Files (x86)Microsoft SQL Server120DTSBinn;C:Program FilesMicrosoft SQL Server120DTSBinn;C:Program Files (x86)SkypePhone;D:Matlabbin;C:WINDOWSSystem32OpenSSH;C:Program Filesnodejs;C:ProgramDatachocolateybin;C:Program FilesGitcmd;C:Program Files (x86)Yarnbin;C:UsersSeçil.SECILAppDataLocalMicrosoftWindowsApps;C:UsersSeçil.SECILAppDataRoamingnpm;C:UsersSeçil.SECILAppDataLocalYarnbin
9 verbose lifecycle empty-project-template@~start: CWD: C:projehoek
10 silly lifecycle empty-project-template@~start: Args: [ '/d /s /c', 'expo start' ]
11 silly lifecycle empty-project-template@~start: Returned: code: 1 signal: null
12 info lifecycle empty-project-template@~start: Failed to exec start script
13 verbose stack Error: empty-project-template@ start: `expo start`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecycleindex.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclelibspawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:978:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
14 verbose pkgid empty-project-template@
15 verbose cwd C:projehoek
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v11.2.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error empty-project-template@ start: `expo start`
22 error Exit status 1
23 error Failed at the empty-project-template@ start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
I tried these:
- remove node_modules folder and run
npm install
again
npm clear cache
and runexpo start
npm install hoek
andexpo start
Nothing resolves the problem, I'm still getting the same error when I start the expo project.
Here is my package.json
{
"name": "empty-project-template",
"main": "node_modules/expo/AppEntry.js",
"private": true,
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject"
},
"dependencies": {
"@expo/vector-icons": "^8.0.0",
"expo": "^31.0.2",
"native-base": "^2.8.1",
"react": "^16.6.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-31.0.1.tar.gz",
"react-native-sensors": "^4.1.0",
"react-navigation": "^2.18.2"
},
"devDependencies": {
"babel-preset-expo": "^5.0.0",
"schedule": "^0.4.0"
}
}
react-native expo
Delete your lock file and reinstall the packages
– Raaj Nadar
Nov 24 '18 at 14:34
@RaajNadar I deleted package.json.lock then i run npm install. I m getting same error.
– erkan demir
Nov 24 '18 at 14:44
1
I had a lot of problem with npm, so try using yarn.. check if you there is anode_modules/hoek
folder
– Raaj Nadar
Nov 24 '18 at 14:45
One more step tryexpo start -c
this will clear the cache
– Raaj Nadar
Nov 24 '18 at 14:47
1
@RaajNadar i fixed the problem. my expo-cli package has no hoek node module. I uninstall expo-cli with npm uninstall -g expo-cli and reinstall npm i -g expo-cli Missing node modules came back in global expo-cli/node_modules folder. Thank you for your help.
– erkan demir
Nov 24 '18 at 20:24
|
show 9 more comments
I installed expo-cli and start project with expo init
.
Then i try to start project with expo start
. I'm getting an error: Cannot find module 'hoek'
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using npm@6.4.1
3 info using node@v11.2.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle empty-project-template@~prestart: empty-project-template@
6 info lifecycle empty-project-template@~start: empty-project-template@
7 verbose lifecycle empty-project-template@~start: unsafe-perm in lifecycle true
8 verbose lifecycle empty-project-template@~start: PATH: C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclenode-gyp-bin;C:projehoeknode_modules.bin;C:Program Files (x86)Common FilesOracleJavajavapath;C:ProgramDataOracleJavajavapath;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:Program Files (x86)Windows Kits8.1Windows Performance Toolkit;C:Program Files (x86)Microsoft SDKsTypeScript1.0;C:Program FilesMicrosoftWeb Platform Installer;C:Program Files (x86)Microsoft ASP.NETASP.NET Web Pagesv1.0;C:Program Files (x86)Microsoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft SQL Server100ToolsBinnVSShellCommon7IDE;C:Program Files (x86)Microsoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft Visual Studio 9.0Common7IDEPrivateAssemblies;C:Program FilesMicrosoft SQL Server130DTSBinn;C:Program FilesMicrosoft SQL ServerClient SDKODBC110ToolsBinn;C:Program Files (x86)Microsoft SQL Server130ToolsBinn;C:Program FilesMicrosoft SQL Server130ToolsBinn;C:Program Files (x86)Microsoft SQL Server130ToolsBinnManagementStudio;C:Program Files (x86)Microsoft SQL Server130DTSBinn;C:Program Files (x86)Microsoft SQL Server120ToolsBinnManagementStudio;C:Program Files (x86)Microsoft SQL Server120ToolsBinn;C:Program FilesMicrosoft SQL Server120ToolsBinn;C:Program Files (x86)Microsoft SQL Server120DTSBinn;C:Program FilesMicrosoft SQL Server120DTSBinn;C:Program Files (x86)SkypePhone;D:Matlabbin;C:WINDOWSSystem32OpenSSH;C:Program Filesnodejs;C:ProgramDatachocolateybin;C:Program FilesGitcmd;C:Program Files (x86)Yarnbin;C:UsersSeçil.SECILAppDataLocalMicrosoftWindowsApps;C:UsersSeçil.SECILAppDataRoamingnpm;C:UsersSeçil.SECILAppDataLocalYarnbin
9 verbose lifecycle empty-project-template@~start: CWD: C:projehoek
10 silly lifecycle empty-project-template@~start: Args: [ '/d /s /c', 'expo start' ]
11 silly lifecycle empty-project-template@~start: Returned: code: 1 signal: null
12 info lifecycle empty-project-template@~start: Failed to exec start script
13 verbose stack Error: empty-project-template@ start: `expo start`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecycleindex.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclelibspawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:978:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
14 verbose pkgid empty-project-template@
15 verbose cwd C:projehoek
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v11.2.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error empty-project-template@ start: `expo start`
22 error Exit status 1
23 error Failed at the empty-project-template@ start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
I tried these:
- remove node_modules folder and run
npm install
again
npm clear cache
and runexpo start
npm install hoek
andexpo start
Nothing resolves the problem, I'm still getting the same error when I start the expo project.
Here is my package.json
{
"name": "empty-project-template",
"main": "node_modules/expo/AppEntry.js",
"private": true,
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject"
},
"dependencies": {
"@expo/vector-icons": "^8.0.0",
"expo": "^31.0.2",
"native-base": "^2.8.1",
"react": "^16.6.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-31.0.1.tar.gz",
"react-native-sensors": "^4.1.0",
"react-navigation": "^2.18.2"
},
"devDependencies": {
"babel-preset-expo": "^5.0.0",
"schedule": "^0.4.0"
}
}
react-native expo
I installed expo-cli and start project with expo init
.
Then i try to start project with expo start
. I'm getting an error: Cannot find module 'hoek'
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using npm@6.4.1
3 info using node@v11.2.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle empty-project-template@~prestart: empty-project-template@
6 info lifecycle empty-project-template@~start: empty-project-template@
7 verbose lifecycle empty-project-template@~start: unsafe-perm in lifecycle true
8 verbose lifecycle empty-project-template@~start: PATH: C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclenode-gyp-bin;C:projehoeknode_modules.bin;C:Program Files (x86)Common FilesOracleJavajavapath;C:ProgramDataOracleJavajavapath;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:Program Files (x86)Windows Kits8.1Windows Performance Toolkit;C:Program Files (x86)Microsoft SDKsTypeScript1.0;C:Program FilesMicrosoftWeb Platform Installer;C:Program Files (x86)Microsoft ASP.NETASP.NET Web Pagesv1.0;C:Program Files (x86)Microsoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft SQL Server100ToolsBinnVSShellCommon7IDE;C:Program Files (x86)Microsoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft Visual Studio 9.0Common7IDEPrivateAssemblies;C:Program FilesMicrosoft SQL Server130DTSBinn;C:Program FilesMicrosoft SQL ServerClient SDKODBC110ToolsBinn;C:Program Files (x86)Microsoft SQL Server130ToolsBinn;C:Program FilesMicrosoft SQL Server130ToolsBinn;C:Program Files (x86)Microsoft SQL Server130ToolsBinnManagementStudio;C:Program Files (x86)Microsoft SQL Server130DTSBinn;C:Program Files (x86)Microsoft SQL Server120ToolsBinnManagementStudio;C:Program Files (x86)Microsoft SQL Server120ToolsBinn;C:Program FilesMicrosoft SQL Server120ToolsBinn;C:Program Files (x86)Microsoft SQL Server120DTSBinn;C:Program FilesMicrosoft SQL Server120DTSBinn;C:Program Files (x86)SkypePhone;D:Matlabbin;C:WINDOWSSystem32OpenSSH;C:Program Filesnodejs;C:ProgramDatachocolateybin;C:Program FilesGitcmd;C:Program Files (x86)Yarnbin;C:UsersSeçil.SECILAppDataLocalMicrosoftWindowsApps;C:UsersSeçil.SECILAppDataRoamingnpm;C:UsersSeçil.SECILAppDataLocalYarnbin
9 verbose lifecycle empty-project-template@~start: CWD: C:projehoek
10 silly lifecycle empty-project-template@~start: Args: [ '/d /s /c', 'expo start' ]
11 silly lifecycle empty-project-template@~start: Returned: code: 1 signal: null
12 info lifecycle empty-project-template@~start: Failed to exec start script
13 verbose stack Error: empty-project-template@ start: `expo start`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecycleindex.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclelibspawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:978:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
14 verbose pkgid empty-project-template@
15 verbose cwd C:projehoek
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v11.2.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error empty-project-template@ start: `expo start`
22 error Exit status 1
23 error Failed at the empty-project-template@ start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
I tried these:
- remove node_modules folder and run
npm install
again
npm clear cache
and runexpo start
npm install hoek
andexpo start
Nothing resolves the problem, I'm still getting the same error when I start the expo project.
Here is my package.json
{
"name": "empty-project-template",
"main": "node_modules/expo/AppEntry.js",
"private": true,
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject"
},
"dependencies": {
"@expo/vector-icons": "^8.0.0",
"expo": "^31.0.2",
"native-base": "^2.8.1",
"react": "^16.6.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-31.0.1.tar.gz",
"react-native-sensors": "^4.1.0",
"react-navigation": "^2.18.2"
},
"devDependencies": {
"babel-preset-expo": "^5.0.0",
"schedule": "^0.4.0"
}
}
react-native expo
react-native expo
edited Nov 24 '18 at 15:31
erkan demir
asked Nov 24 '18 at 13:42
erkan demirerkan demir
64921329
64921329
Delete your lock file and reinstall the packages
– Raaj Nadar
Nov 24 '18 at 14:34
@RaajNadar I deleted package.json.lock then i run npm install. I m getting same error.
– erkan demir
Nov 24 '18 at 14:44
1
I had a lot of problem with npm, so try using yarn.. check if you there is anode_modules/hoek
folder
– Raaj Nadar
Nov 24 '18 at 14:45
One more step tryexpo start -c
this will clear the cache
– Raaj Nadar
Nov 24 '18 at 14:47
1
@RaajNadar i fixed the problem. my expo-cli package has no hoek node module. I uninstall expo-cli with npm uninstall -g expo-cli and reinstall npm i -g expo-cli Missing node modules came back in global expo-cli/node_modules folder. Thank you for your help.
– erkan demir
Nov 24 '18 at 20:24
|
show 9 more comments
Delete your lock file and reinstall the packages
– Raaj Nadar
Nov 24 '18 at 14:34
@RaajNadar I deleted package.json.lock then i run npm install. I m getting same error.
– erkan demir
Nov 24 '18 at 14:44
1
I had a lot of problem with npm, so try using yarn.. check if you there is anode_modules/hoek
folder
– Raaj Nadar
Nov 24 '18 at 14:45
One more step tryexpo start -c
this will clear the cache
– Raaj Nadar
Nov 24 '18 at 14:47
1
@RaajNadar i fixed the problem. my expo-cli package has no hoek node module. I uninstall expo-cli with npm uninstall -g expo-cli and reinstall npm i -g expo-cli Missing node modules came back in global expo-cli/node_modules folder. Thank you for your help.
– erkan demir
Nov 24 '18 at 20:24
Delete your lock file and reinstall the packages
– Raaj Nadar
Nov 24 '18 at 14:34
Delete your lock file and reinstall the packages
– Raaj Nadar
Nov 24 '18 at 14:34
@RaajNadar I deleted package.json.lock then i run npm install. I m getting same error.
– erkan demir
Nov 24 '18 at 14:44
@RaajNadar I deleted package.json.lock then i run npm install. I m getting same error.
– erkan demir
Nov 24 '18 at 14:44
1
1
I had a lot of problem with npm, so try using yarn.. check if you there is a
node_modules/hoek
folder– Raaj Nadar
Nov 24 '18 at 14:45
I had a lot of problem with npm, so try using yarn.. check if you there is a
node_modules/hoek
folder– Raaj Nadar
Nov 24 '18 at 14:45
One more step try
expo start -c
this will clear the cache– Raaj Nadar
Nov 24 '18 at 14:47
One more step try
expo start -c
this will clear the cache– Raaj Nadar
Nov 24 '18 at 14:47
1
1
@RaajNadar i fixed the problem. my expo-cli package has no hoek node module. I uninstall expo-cli with npm uninstall -g expo-cli and reinstall npm i -g expo-cli Missing node modules came back in global expo-cli/node_modules folder. Thank you for your help.
– erkan demir
Nov 24 '18 at 20:24
@RaajNadar i fixed the problem. my expo-cli package has no hoek node module. I uninstall expo-cli with npm uninstall -g expo-cli and reinstall npm i -g expo-cli Missing node modules came back in global expo-cli/node_modules folder. Thank you for your help.
– erkan demir
Nov 24 '18 at 20:24
|
show 9 more comments
1 Answer
1
active
oldest
votes
Maybe you need to install it using npm install --save hoek
?
You are leaving out the --save
argument. This is why the dependency is not listed in your package.json file.
But that should not throw an error! Because the package will be downloaded in his node_modules
– Raaj Nadar
Nov 24 '18 at 14:33
i installed hoek with npm install --save hoek but it didnt resolve my problem.
– erkan demir
Nov 24 '18 at 14:45
@erkandemir I ran through the same steps as you:expo init
,npm i --save hoek
, and thenexpo start
. Everything ran perfecty. Could you try installing npm's reinstall package:npm install reinstall -g
. Then run it in your app folder:reinstall
.
– Kevin van Zyl
Nov 24 '18 at 14:57
@KevinvanZyl i run npm install reinstall -g in my app folder and expo start. it doesnt work.
– erkan demir
Nov 24 '18 at 15:18
@erkandemir Now try to runreinstall
. Once the app is finished reinstalling then tryexpo start
again. I copied your package.json exactly and ran through your steps without any issues.
– Kevin van Zyl
Nov 24 '18 at 15:22
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53458746%2fexpo-start-cannot-find-module-hoek%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Maybe you need to install it using npm install --save hoek
?
You are leaving out the --save
argument. This is why the dependency is not listed in your package.json file.
But that should not throw an error! Because the package will be downloaded in his node_modules
– Raaj Nadar
Nov 24 '18 at 14:33
i installed hoek with npm install --save hoek but it didnt resolve my problem.
– erkan demir
Nov 24 '18 at 14:45
@erkandemir I ran through the same steps as you:expo init
,npm i --save hoek
, and thenexpo start
. Everything ran perfecty. Could you try installing npm's reinstall package:npm install reinstall -g
. Then run it in your app folder:reinstall
.
– Kevin van Zyl
Nov 24 '18 at 14:57
@KevinvanZyl i run npm install reinstall -g in my app folder and expo start. it doesnt work.
– erkan demir
Nov 24 '18 at 15:18
@erkandemir Now try to runreinstall
. Once the app is finished reinstalling then tryexpo start
again. I copied your package.json exactly and ran through your steps without any issues.
– Kevin van Zyl
Nov 24 '18 at 15:22
add a comment |
Maybe you need to install it using npm install --save hoek
?
You are leaving out the --save
argument. This is why the dependency is not listed in your package.json file.
But that should not throw an error! Because the package will be downloaded in his node_modules
– Raaj Nadar
Nov 24 '18 at 14:33
i installed hoek with npm install --save hoek but it didnt resolve my problem.
– erkan demir
Nov 24 '18 at 14:45
@erkandemir I ran through the same steps as you:expo init
,npm i --save hoek
, and thenexpo start
. Everything ran perfecty. Could you try installing npm's reinstall package:npm install reinstall -g
. Then run it in your app folder:reinstall
.
– Kevin van Zyl
Nov 24 '18 at 14:57
@KevinvanZyl i run npm install reinstall -g in my app folder and expo start. it doesnt work.
– erkan demir
Nov 24 '18 at 15:18
@erkandemir Now try to runreinstall
. Once the app is finished reinstalling then tryexpo start
again. I copied your package.json exactly and ran through your steps without any issues.
– Kevin van Zyl
Nov 24 '18 at 15:22
add a comment |
Maybe you need to install it using npm install --save hoek
?
You are leaving out the --save
argument. This is why the dependency is not listed in your package.json file.
Maybe you need to install it using npm install --save hoek
?
You are leaving out the --save
argument. This is why the dependency is not listed in your package.json file.
answered Nov 24 '18 at 14:19
Kevin van ZylKevin van Zyl
109110
109110
But that should not throw an error! Because the package will be downloaded in his node_modules
– Raaj Nadar
Nov 24 '18 at 14:33
i installed hoek with npm install --save hoek but it didnt resolve my problem.
– erkan demir
Nov 24 '18 at 14:45
@erkandemir I ran through the same steps as you:expo init
,npm i --save hoek
, and thenexpo start
. Everything ran perfecty. Could you try installing npm's reinstall package:npm install reinstall -g
. Then run it in your app folder:reinstall
.
– Kevin van Zyl
Nov 24 '18 at 14:57
@KevinvanZyl i run npm install reinstall -g in my app folder and expo start. it doesnt work.
– erkan demir
Nov 24 '18 at 15:18
@erkandemir Now try to runreinstall
. Once the app is finished reinstalling then tryexpo start
again. I copied your package.json exactly and ran through your steps without any issues.
– Kevin van Zyl
Nov 24 '18 at 15:22
add a comment |
But that should not throw an error! Because the package will be downloaded in his node_modules
– Raaj Nadar
Nov 24 '18 at 14:33
i installed hoek with npm install --save hoek but it didnt resolve my problem.
– erkan demir
Nov 24 '18 at 14:45
@erkandemir I ran through the same steps as you:expo init
,npm i --save hoek
, and thenexpo start
. Everything ran perfecty. Could you try installing npm's reinstall package:npm install reinstall -g
. Then run it in your app folder:reinstall
.
– Kevin van Zyl
Nov 24 '18 at 14:57
@KevinvanZyl i run npm install reinstall -g in my app folder and expo start. it doesnt work.
– erkan demir
Nov 24 '18 at 15:18
@erkandemir Now try to runreinstall
. Once the app is finished reinstalling then tryexpo start
again. I copied your package.json exactly and ran through your steps without any issues.
– Kevin van Zyl
Nov 24 '18 at 15:22
But that should not throw an error! Because the package will be downloaded in his node_modules
– Raaj Nadar
Nov 24 '18 at 14:33
But that should not throw an error! Because the package will be downloaded in his node_modules
– Raaj Nadar
Nov 24 '18 at 14:33
i installed hoek with npm install --save hoek but it didnt resolve my problem.
– erkan demir
Nov 24 '18 at 14:45
i installed hoek with npm install --save hoek but it didnt resolve my problem.
– erkan demir
Nov 24 '18 at 14:45
@erkandemir I ran through the same steps as you:
expo init
, npm i --save hoek
, and then expo start
. Everything ran perfecty. Could you try installing npm's reinstall package: npm install reinstall -g
. Then run it in your app folder: reinstall
.– Kevin van Zyl
Nov 24 '18 at 14:57
@erkandemir I ran through the same steps as you:
expo init
, npm i --save hoek
, and then expo start
. Everything ran perfecty. Could you try installing npm's reinstall package: npm install reinstall -g
. Then run it in your app folder: reinstall
.– Kevin van Zyl
Nov 24 '18 at 14:57
@KevinvanZyl i run npm install reinstall -g in my app folder and expo start. it doesnt work.
– erkan demir
Nov 24 '18 at 15:18
@KevinvanZyl i run npm install reinstall -g in my app folder and expo start. it doesnt work.
– erkan demir
Nov 24 '18 at 15:18
@erkandemir Now try to run
reinstall
. Once the app is finished reinstalling then try expo start
again. I copied your package.json exactly and ran through your steps without any issues.– Kevin van Zyl
Nov 24 '18 at 15:22
@erkandemir Now try to run
reinstall
. Once the app is finished reinstalling then try expo start
again. I copied your package.json exactly and ran through your steps without any issues.– Kevin van Zyl
Nov 24 '18 at 15:22
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53458746%2fexpo-start-cannot-find-module-hoek%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Delete your lock file and reinstall the packages
– Raaj Nadar
Nov 24 '18 at 14:34
@RaajNadar I deleted package.json.lock then i run npm install. I m getting same error.
– erkan demir
Nov 24 '18 at 14:44
1
I had a lot of problem with npm, so try using yarn.. check if you there is a
node_modules/hoek
folder– Raaj Nadar
Nov 24 '18 at 14:45
One more step try
expo start -c
this will clear the cache– Raaj Nadar
Nov 24 '18 at 14:47
1
@RaajNadar i fixed the problem. my expo-cli package has no hoek node module. I uninstall expo-cli with npm uninstall -g expo-cli and reinstall npm i -g expo-cli Missing node modules came back in global expo-cli/node_modules folder. Thank you for your help.
– erkan demir
Nov 24 '18 at 20:24