Comments (3)
Well, @soupette followed the docs to migrate, but now getting the same error for a different file:
🔸 Administration Panel
...
🏗 Building the admin...
✅ Success
...
ls: no such file or directory: * -d
🔸 Plugin - Analytics
📦 Installing packages...
🏗 Building...
0% compiling/home/..../strapi-examples/cheesecakes/plugins/analytics/node_modules/babel-core/lib/transformation/file/index.js:558
throw err;
^
SyntaxError: /home/..../strapi-examples/cheesecakes/plugins/users-permissions/services/UsersPermissions.js: Unexpected token (34:12)
32 | controller,
33 | action: action.toLowerCase(),
> 34 | ...params.permissions[type].controllers[controller][action]
| ^
35 | }));
36 | });
37 | });
Is there a way or a script to make strapi
updates and migrations easier than described in docs?
from strapi-examples.
Same issue here. Could this be due to some migrations required between Strapi versions?
But also could be a problem with babel
-related package:
I changed the line 268
(cheesecakes/plugins/graphql/services/GraphQL.js) to ES5 version as:
ctx.params = Object.assign(params, { [model.primaryKey]: ctx.params.id });
and the error threw at a later stage (again for the ...
spread operator):
...
55% building modules 380/381 modules 1 active ...ode_modules/webpack/buildin/mo
0% compiling /home/.../strapi-examples/cheesecakes/admin/node_modules/babel-core/lib/transformation/file/index.js:558
throw err;
^
SyntaxError: /home/.../strapi-examples/cheesecakes/plugins/graphql/services/GraphQL.js: Unexpected token (569:20)
567 | // related to this entry.
568 | [ref.primaryKey]: arrayOfIds,
> 569 | ...where.where
| ^
570 | }).where;
571 | break;
572 | default:
p.s.: tried removing the /admin/node_modules/
and re-installing (also with yarn
) but didn't help.
from strapi-examples.
I just checked the app is not up to date with the latest version of strapi... You need to update it
from strapi-examples.
Related Issues (20)
- Issues installing and running 'login-react' HOT 1
- The hello world example is not available HOT 1
- Azure CosmosDB connection issue
- Installing dependencies for login-react causes problems HOT 1
- Providers: Incomplete field "The redirect URL to add in your Google application configurations" HOT 2
- Auth providers in production
- Google Oauth for admin users
- nuxt-strapi-deliveroo-clone-tutorial BUGS
- frontend shouldn't decide of the order price HOT 1
- Error: Request failed with status code 404 HOT 7
- Chessecakes example could need updating
- Twitter login seems to be broken
- .
- Google auth not working HOT 6
- Login react works with electron js?
- gatsby-source-strapi 403 error from starter HOT 1
- Next.JS-snipcart-strapi-printful
- broken link in documentation
- Readme Setup - git clone permission error HOT 1
- Need an example for Microsoft authentication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strapi-examples.