Skip to content
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

TypeError: require(...).tmpDir is not a function #12

Open
mahavirbha opened this issue Dec 30, 2020 · 0 comments
Open

TypeError: require(...).tmpDir is not a function #12

mahavirbha opened this issue Dec 30, 2020 · 0 comments

Comments

@mahavirbha
Copy link

ReactMusic/node_modules/node-haste/lib/Cache/index.js:22
var tmpDir = require('os').tmpDir();

^

TypeError: require(...).tmpDir is not a function
at Object. (/home/robo/reactNative/ReactMusic/node_modules/node-haste/lib/Cache/index.js:22:28)
at Module._compile (internal/modules/cjs/loader.js:1075:30)
at Module._extensions..js (internal/modules/cjs/loader.js:1096:10)
at Object.require.extensions. [as .js] (/home/robo/reactNative/ReactMusic/node_modules/babel-register/lib/node.js:152:7)
at Module.load (internal/modules/cjs/loader.js:940:32)
at Function.Module._load (internal/modules/cjs/loader.js:781:14)
at Module.require (internal/modules/cjs/loader.js:964:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/home/robo/reactNative/ReactMusic/node_modules/node-haste/lib/index.js:15:13)
at Module._compile (internal/modules/cjs/loader.js:1075:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node node_modules/react-native/local-cli/cli.js start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/robo/.npm/_logs/2020-12-30T06_05_26_867Z-debug.log

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