Created
June 12, 2019 15:44
-
-
Save bzerangue/2846c8b8705962cb0ac733dccb86cc47 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: Cannot find module './cors/addCorsOriginCommand' | |
Require stack: | |
- /Users/bmz/Dev/sanity/eleventy-sanity-blog-boilerplate/eleventyboilerplate/node_modules/@sanity/core/lib/commands/index.js | |
- /Users/bmz/Dev/sanity/eleventy-sanity-blog-boilerplate/eleventyboilerplate/node_modules/@sanity/core/lib/index.js | |
- /usr/local/lib/node_modules/@sanity/cli/bin/sanity-cli.js | |
- /usr/local/lib/node_modules/@sanity/cli/bin/sanity | |
at require (/usr/local/lib/node_modules/@sanity/cli/node_modules/v8-compile-cache/v8-compile-cache.js:161:20) | |
at Object.<anonymous> (~/Dev/sanity/eleventy-sanity-blog-boilerplate/eleventyboilerplate/node_modules/@sanity/core/lib/commands/index.js:64:52) | |
at Module._compile (/usr/local/lib/node_modules/@sanity/cli/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sanitytutorialblog: Unhandled rejection: Error: Cannot find module './cors/addCorsOriginCommand' | |
sanitytutorialblog: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) | |
sanitytutorialblog: at Function.Module._load (internal/modules/cjs/loader.js:508:25) | |
sanitytutorialblog: at Module.require (internal/modules/cjs/loader.js:637:17) | |
sanitytutorialblog: at require (/Users/bmz/Dev/sanity/eleventy-sanity-blog-boilerplate/studio/node_modules/v8-compile-cache/v8-compile-cache.js:161:20) | |
sanitytutorialblog: at Object.<anonymous> (/Users/bmz/Dev/sanity/eleventy-sanity-blog-boilerplate/studio/node_modules/@sanity/core/lib/commands/index.js:64:52) | |
sanitytutorialblog: at Module._compile (/Users/bmz/Dev/sanity/eleventy-sanity-blog-boilerplate/studio/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) | |
sanitytutorialblog: at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) | |
sanitytutorialblog: at Module.load (internal/modules/cjs/loader.js:600:32) | |
sanitytutorialblog: at tryModuleLoad (internal/modules/cjs/loader.js:539:12) | |
sanitytutorialblog: at Function.Module._load (internal/modules/cjs/loader.js:531:3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem solved. Needed to update yarn using
brew upgrade yarn
(was on1.13.0
, upgraded to1.17.3
). Seems the problem is that Node is a dependency of yarn and it was not current.