Screenshot of the Error
My Terminal Output --
["ERROR" - 3:30:58 PM] Error loading node module 'c:\Users\WELCOME\OneDrive\Documents\Ecommerce Full App\eshoper-dashboard\html'
["ERROR" - 3:30:58 PM] Cannot find module 'c:\Users\WELCOME\OneDrive\Documents\Ecommerce Full App\eshoper-dashboard\html'
Require stack:
- c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js
- c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js
- c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-amd.js
- c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js
> Error: Cannot find module 'c:\Users\WELCOME\OneDrive\Documents\Ecommerce Full App\eshoper-dashboard\html'
Require stack:
- c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js
- c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js
- c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-amd.js
- c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:934:15)
at Module._load (internal/modules/cjs/loader.js:779:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12684)
at Function.n._load (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:103:27815)
at Function.E._load (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:103:24567)
at Function.c._load (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:93:59196)
at Module.require (internal/modules/cjs/loader.js:1006:19)
at v (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:698)
at t.ModuleResolver.loadNodeModule (c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js:1:5166)
at t.ModuleResolver.<anonymous> (c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js:1:4248)
at Generator.next (<anonymous>)
at c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js:1:2894
at new Promise (<anonymous>)
at n (c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js:1:2639)
at t.ModuleResolver.getPrettierInstance (c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js:1:3403)
at t.default.<anonymous> (c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js:1:8998)
at Generator.next (<anonymous>)
at c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js:1:7201
at new Promise (<anonymous>)
at n (c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js:1:6946)
at handleActiveTextEditorChanged (c:\Users\WELCOME\.vscode\extensions\esbenp.prettier-vscode-8.0.1\dist\extension.js:1:8664)
at l.fire (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:57:1835)
at c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:85:46664
at l.fire (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:57:1835)
at E.acceptDocumentsAndEditorsDelta (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:84:148554)
at E.$acceptDocumentsAndEditorsDelta (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:84:146684)
at d._doInvokeHandler (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:88:12815)
at d._invokeHandler (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:88:12507)
at d._receiveRequest (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:88:11160)
at d._receiveOneMessage (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:88:9960)
at c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:88:8064
at l.fire (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:57:1835)
at E.fire (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:65:15634)
at c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:103:29816
at l.fire (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:57:1835)
at E.fire (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:65:15634)
at t._receiveMessage (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:65:20892)
at c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:65:17778
at l.fire (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:57:1835)
at c.acceptChunk (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:65:12995)
at c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:65:12343
at Socket.b (c:\Users\WELCOME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:103:13287)
at Socket.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Socket.Readable.push (internal/streams/readable.js:223:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)
> **["DEBUG" - 3:30:58 PM] Using bundled version of prettier.**
Prettier does not support dart by default. Prettier supports Javascript based tools and frameworks by default.
To add dart support to prettier you would need to write your own plugin, you can read more about that on the plugin docs
The Dart SDK provides formatting support through the format cli command, this formatting is also available to most IDE's with the appropriate plugins.
Related
I have full functioning project running React js with Rails as backend
Planning to build desktop apps using electron.js
its running perfectly on dev
PORT=3001 concurrently \"cross-env BROWSER=none yarn react-start\" \"wait-on http://localhost:3001 && electron .\
when i run yarn run electron-builder -m i got below error
• electron-builder version=22.10.5 os=20.3.0
• loaded configuration file=package.json ("build" field)
• loaded parent configuration preset=react-cra
• Specified application directory equals to project dir — superfluous or wrong configuration appDirectory=.
• description is missed in the package.json appPackageFile=/Users/admin/Dev/project/frontend/package.json
• writing effective config file=out/builder-effective-config.yaml
• rebuilding native dependencies dependencies=canvas#2.7.0, fsevents#1.2.13, node-sass#4.14.1 platform=darwin arch=x64
• rebuilding native dependency name=canvas version=2.7.0
• rebuilding native dependency name=fsevents version=1.2.13
• rebuilding native dependency name=node-sass version=4.14.1
• packaging platform=darwin arch=x64 electron=11.4.2 appOutDir=out/mac
• Unpacking electron zip zipPath=undefined
⨯ editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening. stackTrace=
Error: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening.
at new Errlop (/Users/admin/Dev/project/frontend/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:317:21)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
↳ Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable.
at new Errlop (/Users/admin/Dev/project/frontend/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:327:19)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.
at new Errlop (/Users/admin/Dev/project/frontend/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.
at new Errlop (/Users/admin/Dev/project/frontend/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/admin/Dev/project/frontend/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
i"m using OSX - Big Sur
Node - v13.14.0
Yarn - 1.22.10
and xcode 12.4
I thought this issue is just on osx. i got some other issue on windows build yarn run electron-builder -m
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:697:50: note: 'remove_cv' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
^
1 error generated.
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/admin/Dev/project/frontend/node_modules/node-sass/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 20.3.0
gyp ERR! command "/Users/admin/.nvm/versions/node/v13.14.0/bin/node" "/Users/admin/Dev/project/frontend/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/admin/Dev/project/frontend/node_modules/node-sass
gyp ERR! node -v v13.14.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
error Command failed with exit code 1.
command=/Users/admin/.nvm/versions/node/v13.14.0/bin/node /usr/local/lib/node_modules/yarn/bin/yarn.js run install
workingDir=/Users/admin/Dev/project/frontend/node_modules/node-sass
error Command failed with exit code 1.
Delete node_modules and run npm i again. After that should work.
To delete node_modules in command line use: rm -R node_modules -f.
It worked for me, building without errors after that.
I had same problem! It's a problem version NodeJS, I was using v16.16.0 and I done downgrade for v16.15.O.
Follow the steps after downgrade node:
Delete Node Modules
Delete Package-lock.json
NPN Install
Now it's works and building.
Started by using expo init app and used bare-minimum typescript template, the app is not building using react-native run-ios, but works if expo start in the Expo-go app.
here is the error code:
info Installing "/Users/mac/Library/Developer/Xcode/DerivedData/myproject-ccluoxcwmsrveqavqitrwaszccss/Build/Products/Debug-iphonesimulator/myproject"
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Could not install at this time.
Failed to chmod /Users/mac/Library/Developer/CoreSimulator/Devices/2D6990A9-04F6-4391-BFA3-BFF2AA6890A5/data/Bundle/Application/2B342978-B520-410C-ABB0-F5961248B7BF/myproject.app/myproject : No such file or directory
Underlying error (domain=MIInstallerErrorDomain, code=4):
Failed to chmod /Users/mac/Library/Developer/CoreSimulator/Devices/2D6990A9-04F6-4391-BFA3-BFF2AA6890A5/data/Bundle/Application/2B342978-B520-410C-ABB0-F5961248B7BF/myproject.app/myproject : No such file or directory
info Launching "org.name.myproject"
error Failed to launch the app on simulator, An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "org.name.myproject" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "org.name. myproject" is unknown to FrontBoard").
Underlying error (domain=FBSOpenApplicationErrorDomain, code=4):
The operation couldn’t be completed. Application "org.name.myproject" is unknown to FrontBoard.
Application "org.name.myproject" is unknown to FrontBoard.
When app is launched in Xcode the build is successful but the app don't load on simulator and I get this error message:
the config:
Expo CLI 4.1.6 environment info:
System:
OS: macOS 11.0.1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.15.5 - ~/.nvm/versions/node/v14.15.5/bin/node
Yarn: 1.22.0 - /usr/local/bin/yarn
npm: 6.14.11 - ~/.nvm/versions/node/v14.15.5/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 24, 27, 28, 29
Build Tools: 23.0.1, 27.0.3, 28.0.2, 28.0.3, 29.0.2
System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
IDEs:
Xcode: 11.7/11E801a - /usr/bin/xcodebuild
npmPackages:
expo: ~40.0.0 => 40.0.1
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: ~0.63.4 => 0.63.4
react-native-web: ~0.13.12 => 0.13.18
Expo Workflow: bare
I have a rails 5 ember 2.17 app that was previously being successfully deployed in production. The deployment is done with ember-cli-rails.
During asset compilation I have the following error :
=================================================================================
ENV Summary:
TIME: Mon Jul 08 2019 15:40:33 GMT+0200 (CEST)
TITLE: ember
ARGV:
- /usr/bin/node
- /srv/production/www/placedemarche/releases/20190708133545/marketadmin/node_modules/ember-cli/bin/ember
- build
- --environment
- production
- --output-path
- /srv/production/www/placedemarche/releases/20190708133545/tmp/ember-cli/apps/marketadmin
EXEC_PATH: /usr/bin/node
TMPDIR: /tmp
SHELL: /bin/bash
PATH:
- /srv/production/www/placedemarche/shared/bundle/ruby/2.4.0/bin
- /home/admin/.rvm/gems/ruby-2.4.1/bin
- /home/admin/.rvm/gems/ruby-2.4.1#global/bin
- /home/admin/.rvm/rubies/ruby-2.4.1/bin
- /home/admin/.rvm/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
PLATFORM: linux x64
FREEMEM: 1093439488
TOTALMEM: 3149369344
UPTIME: 16758723
LOADAVG: 0.8134765625,0.71240234375,0.56201171875
CPUS:
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
ENDIANNESS: LE
VERSIONS:
- ares: 1.10.1-DEV
- http_parser: 2.8.0
- icu: 58.2
- modules: 48
- napi: 3
- node: 6.14.3
- openssl: 1.0.2o
- uv: 1.16.1
- v8: 5.1.281.111
- zlib: 1.2.11
ERROR Summary:
- broccoliBuilderErrorStack: [undefined]
- code: [undefined]
- codeFrame: [undefined]
- errorMessage: Unexpected identifier
- errorType: [undefined]
- location:
- column: [undefined]
- file: [undefined]
- line: [undefined]
- message: Unexpected identifier
- name: SyntaxError
- nodeAnnotation: [undefined]
- nodeName: [undefined]
- originalErrorMessage: [undefined]
- stack: /srv/production/www/placedemarche/releases/20190708133545/marketadmin/node_modules/#embroider/core/src/to-broccoli-plugin.js:18
async build() {
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/srv/production/www/placedemarche/releases/20190708133545/marketadmin/node_modules/#embroider/core/src/index.js:9:28)
=================================================================================
I am not sure what's the next step to solve this problem.
I could see in the error log that the build used node 6:
ENV Summary:
VERSIONS:
- node: 6.14.3
Node 6 is not supported anymore. It's LTS supported ended at April 30, 2019. The ember ecosystem drops support for it as well.
Embroider is an experimental build tool for Ember. It's only tested against Node 10 so far.
I would recommend upgrading your build environment to a recent version of node.
When i am using the without electron it's work like a charm but when i am trying to do hash with electron it's not working at all i just even require
App threw an error during load
Error: The module '/home/thalinda/Desktop/real/node_modules/bcrypt/lib/binding/bcrypt_lib.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/thalinda/Desktop/real/node_modules/bcrypt/bcrypt.js:6:16)
at Object.<anonymous> (/home/thalinda/Desktop/real/node_modules/bcrypt/bcrypt.js:239:3)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: The module '/home/thalinda/Desktop/real/node_modules/bcrypt/lib/binding/bcrypt_lib.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/thalinda/Desktop/real/node_modules/bcrypt/bcrypt.js:6:16)
at Object.<anonymous> (/home/thalinda/Desktop/real/node_modules/bcrypt/bcrypt.js:239:3)
I imported a Grails project in IntelliJ 14.1 and I got this exception when I tried to run the project using run-app command:
C:\Program Files\Java\jdk1.8.0_40\bin\java" -Dgrails.home=C:\grails-3.0.0 -Dbase.dir=E:\Aurora\Cloned\funned\src300\papafund-web "-Dtools.jar=C:\Program Files\Java\jdk1.8.0_40\lib\tools.jar" -Dgroovy.starter.conf=C:\grails-3.0.0/conf/groovy-starter.conf -Xmx768M -Xms768M -XX:MaxPermSize=256m -XX:PermSize=256m -Djline.WindowsTerminal.directConsole=false -javaagent:C:\grails-3.0.0\lib\org.springframework\springloaded\jars\springloaded-1.2.3.RELEASE.jar -noverify -Dspringloaded=profile=grails -Didea.launcher.port=7532 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.1\bin" -Dfile.encoding=windows-1252 -classpath "C:\grails-3.0.0\dist\grails-bootstrap-3.0.0.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.1\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf C:\grails-3.0.0/conf/groovy-starter.conf "run-app -plain-output"
Exception in thread "main" java.lang.ClassNotFoundException: org.codehaus.groovy.grails.cli.support.GrailsStarter
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:122)
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
Process finished with exit code 1
IntelliJ doesn't support Grails 3 yet - it has been requested in their bug tracker.
You can easily run the app from a commandline and use the IDE as an editor.
Intellij Idea 15 supports Grails 3 or higher. You can see from the following:
https://www.jetbrains.com/help/idea/2016.1/getting-started-with-grails-3.html