From f661b9699a919a197add965112c7c9a4356c284b Mon Sep 17 00:00:00 2001 From: Dustin Date: Mon, 14 May 2018 13:39:04 +0200 Subject: [PATCH] (doc) add npm install as last step For me, copying the files from the newly generated strapi environment was not sufficient. When I started the strapi after following the guide, I got the following error: ``` /home/xxx/Dev/Projects/xxx/server/node_modules/mongodb/lib/mongo_client.js:804 throw err; ^ TypeError: Cannot read property 'globalId' of undefined ``` I guess this was the case because strapi-mongoose was not upgraded. I don't know if I'm blind or did not read the migration guide carefully enough, but for me a `npm install` at the end did the trick and upgraded it. Maybe this is helpful for you --- .../3.x.x/en/migration/migration-guide-alpha-10-to-alpha-11.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/3.x.x/en/migration/migration-guide-alpha-10-to-alpha-11.md b/docs/3.x.x/en/migration/migration-guide-alpha-10-to-alpha-11.md index 1bf3f78617..0c16474b79 100644 --- a/docs/3.x.x/en/migration/migration-guide-alpha-10-to-alpha-11.md +++ b/docs/3.x.x/en/migration/migration-guide-alpha-10-to-alpha-11.md @@ -43,5 +43,8 @@ Copy the fields and relations you had in your `/plugins/users-permissions/models Then, delete your old `plugins` folder and replace it by the new one. +## Update the Dependencies + +Now let's update the dependencies in your `package.json` we edited earlier. Simply run `npm install`: That's all, you have now upgraded to Strapi `alpha.11`.