mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 16:16:20 +00:00
(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
This commit is contained in:
parent
88a3da8132
commit
f661b9699a
@ -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`.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user