Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. $ next build
  2. Creating an optimized production build ...
  3.  
  4. Failed to compile.
  5.  
  6. ./pages/client/insurance/choose-insurer.js
  7. Module not found: Can't resolve 'next/Link' in '/home/node/app/pages/client/insurance'
  8.  
  9. > Build error occurred
  10. Error: > Build failed because of webpack errors
  11. at Object.build [as default] (/home/node/app/node_modules/next/dist/build/index.js:192:15)
  12. error Command failed with exit code 1.
  13. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  14. error Command failed with exit code 1.
  15. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  16. yarn run v1.13.0
  17. $ yarn build && NODE_ENV=production node server/server.js
  18. $ next build
  19. Creating an optimized production build ...
  20.  
  21. Failed to compile.
  22.  
  23. ./pages/client/insurance/choose-insurer.js
  24. Module not found: Can't resolve 'next/Link' in '/home/node/app/pages/client/insurance'
  25.  
  26. > Build error occurred
  27. Error: > Build failed because of webpack errors
  28. at Object.build [as default] (/home/node/app/node_modules/next/dist/build/index.js:192:15)
  29. error Command failed with exit code 1.
  30. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  31. error Command failed with exit code 1.
  32. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  33. yarn run v1.13.0
  34. $ yarn build && NODE_ENV=production node server/server.js
  35. $ next build
  36. Creating an optimized production build ...
  37.  
  38. Failed to compile.
  39.  
  40. ./pages/client/insurance/choose-insurer.js
  41. Module not found: Can't resolve 'next/Link' in '/home/node/app/pages/client/insurance'
  42.  
  43. > Build error occurred
  44. Error: > Build failed because of webpack errors
  45. at Object.build [as default] (/home/node/app/node_modules/next/dist/build/index.js:192:15)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement