creating a new project and running it results into an error
See original GitHub issueFollowing the tutorial and creating a new app you will see an error once you want to start the app.
I am using Version 1.7.1 but it still happens on 1.8.1.
foal createapp test
cd test
npm run develop
Will result into following error:
/Users/patrickjung/Documents/backendProjects/test/src/index.ts:141
export {EntityManager} from "./entity-manager/EntityManager";
^
TypeError: Cannot set property EntityManager of #<Object> which has only a getter
at Object.<anonymous> (/Users/patrickjung/Documents/backendProjects/test/src/index.ts:141:9)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/Users/patrickjung/Documents/backendProjects/test/src/index.ts:8:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
Program node ./build/index.js exited with code 1
I do not seem to find EntityManager in the generated files.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Q# Create new project...' resulted in an error - Stack Overflow
I'm running macOS 11.2. I get the following error when trying to create the project (VS Code Version: 1.52.1) Command 'Q#: Create new...
Read more >Project build errors and warnings (PRJxxxx) - Microsoft Learn
This section is a reference to the errors generated by the Project build tools. Project build errors and warnings have the form PRJxxxx, ......
Read more >Creating new project results in Invalid project description error
Symptom. "Invalid project description" error occurs during attempts to create a new project in a certain location.
Read more >Command 'SFDX: Create Project' resulted in an error ... - GitHub
I ran sfdx update from CMD and it says I'm up to date. I am able to create project directly via CMD but...
Read more >Build and run your app - Android Developers
Sync tab: Displays tasks that Gradle executes to sync with your project files. Similar to the Build Output tab, if you encounter a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
First of all nice Framework!
Unfortunately i got the same Error today.
@LoicPoullain Thanks this fixed the issue.