Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Cannot find module './access-error.js' #1370

Open
nitin20212 opened this issue Mar 15, 2019 · 2 comments
Open

Cannot find module './access-error.js' #1370

nitin20212 opened this issue Mar 15, 2019 · 2 comments
Labels
build error Error with the build process need more info

Comments

@nitin20212
Copy link

Getting error while installing npm

verbose stack Error: Cannot find module './access-error.js'
4 verbose stack at Function.Module._resolveFilename (module.js:547:15)
4 verbose stack at Function.Module._load (module.js:474:25)
4 verbose stack at Module.require (module.js:596:17)
4 verbose stack at require (internal/module.js:11:18)
4 verbose stack at Object. (/usr/local/lib/node_modules/npm/lib/install/exists.js:4:19)
4 verbose stack at Module._compile (module.js:652:30)
4 verbose stack at Object.Module._extensions..js (module.js:663:10)
4 verbose stack at Module.load (module.js:565:32)
4 verbose stack at tryModuleLoad (module.js:505:12)
4 verbose stack at Function.Module._load (module.js:497:3)
4 verbose stack at Module.require (module.js:596:17)
4 verbose stack at require (internal/module.js:11:18)
4 verbose stack at Object. (/usr/local/lib/node_modules/npm/lib/install/check-permissions.js:8:14)
4 verbose stack at Module._compile (module.js:652:30)
4 verbose stack at Object.Module._extensions..js (module.js:663:10)
4 verbose stack at Module.load (module.js:565:32)

@derweili
Copy link
Collaborator

Could you please post the following information:

  • OS & version:
  • Node version (node -v) [Node v6+ is required] :
  • npm Version (npm -v)
  • FoundationPress version (see line 3 in package.json):
  • Foundation version (found in node_modules/foundation-sites/package.json) :

This does not look like an error with FoundationPress. I guess it's something with npm. Maybe try to reinstall npm.

https://npm.community/t/unable-to-install-npm-packages-after-npm-update/4856

@derweili derweili added need more info build error Error with the build process labels Mar 25, 2019
@ashokseervidev
Copy link

ashokseervidev commented May 20, 2019

i did nvm use 11 and then npm install. it worked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build error Error with the build process need more info
Projects
None yet
Development

No branches or pull requests

3 participants