output: 'standalone' output folder copies path of my cwd
Answered
aardani posted this in #help-forum
aardaniOP
I dont think this is supposed to be like this.
when doing
I dont think its supposed to be like that in the previous version.
Any of you would like to help to confirm if this is an issue for you too or is it just me that is, if you do these followings it would also produce the same result:
1. create a fresh project
2. set
3. build the project
4. check
when doing
output: "standalone", it generates a folder path that is unexpected: that is something like this:[cwd]/my-project/.next/standalone/[cwd]/my-project.I dont think its supposed to be like that in the previous version.
Any of you would like to help to confirm if this is an issue for you too or is it just me that is, if you do these followings it would also produce the same result:
1. create a fresh project
2. set
output: "standalone" in next.config.ts3. build the project
4. check
.next/standalone projectAnswered by aardani
i should've read this and pay attention to it. removing the parent package_lock.yaml fixes the issue.