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

Error: Cannot find module on nodejs v12.16.1 and npm 6.14.4 #87

Open
nicolicioiul opened this issue Apr 1, 2020 · 0 comments
Open

Error: Cannot find module on nodejs v12.16.1 and npm 6.14.4 #87

nicolicioiul opened this issue Apr 1, 2020 · 0 comments

Comments

@nicolicioiul
Copy link

nicolicioiul commented Apr 1, 2020

nodejs index.js sharenow test s2
internal/modules/cjs/loader.js:324
throw err;
^

Error: Cannot find module '...../node_modules/@maibornwolff/alt-core-js/lib/index'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:316:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:705:18)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:969:27)
at Function.Module._load (internal/modules/cjs/loader.js:864:27)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (..../index.js:1:13)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32) {
code: 'MODULE_NOT_FOUND',
path: '.../node_modules/@maibornwolff/alt-core-js/package.json',
requestPath: '@maibornwolff/alt-core-js'
}

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