FoundationPress
FoundationPress copied to clipboard
Cannot find module './access-error.js'
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.
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
i did nvm use 11 and then npm install. it worked.