Pymakr stopped working in Atom 1.25
-
I am using Atom on Windows and after updating to 1.25 yesterday I have lost use of the Pymakr plug in. A quick uninstall and re-install popped up an error window that said Pymakr had been compiled with an outdated version of the python libraries. What do I do now as all the talk about using "npm install" and re-compiling is all for Linux machines. I am on Windows. Help please as I miss my REPL window console!
Failed to load the Pymakr package
The module '\?\C:\Users\Simon.atom\packages\Pymakr\precompiles\serialport-win\build\Release\serialport.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 49. This version of Node.js requires
NODE_MODULE_VERSION 54. Please try re-compiling or re-installing
the module (for instance, usingnpm rebuild
ornpm install
).
-
HI @smbunn, thanks for reporting, sorry for not having this issue fixed yet. We spent some time today re-compiling the serialport-lib that's in Pymakr for Atom 1.25. It hasn't succeeded yet for all operating systems. There is a new release of pymakr v1.2.10 which contains new precompiles for osx and win64, but the latter still has issues.
Bear with us on this, we'll be sure to fix it in the next days. And there's always VSCode to fall back to for a few days. I'll keep you up to date.
-
Tried downloading 1.29 from GitHub, copied to /.atom/packages/pymakr after deleting everything in that directory. Then ran apm link and apm install. Both said 'done' but created a new shortcut in the packages directory called 'simon' (my name) and this is a link to the root of c drive. Started Atom and three errors now; one complaining about linking not liking 'Less' and then this one:
Atom: 1.25.0 x64
Electron: 1.7.11
OS: Microsoft Windows 7 Ultimate
Thrown From: pymakr package 1.2.9Stack Trace
Failed to load the pymakr package
At '../node_modules/font-awesome/less/font-awesome.less' wasn't found. Tried - C:\Users\Simon\.atom\packages\pymakr\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\one-dark-syntax\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\one-dark-ui\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\static\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\font-awesome\less\font-awesome.less,..\node_modules\font-awesome\less\font-awesome.less in C:\Users\Simon\.atom\packages\pymakr\styles\pymakr.less:7:0 LessError: '../node_modules/font-awesome/less/font-awesome.less' wasn't found. Tried - C:\Users\Simon\.atom\packages\pymakr\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\one-dark-syntax\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\one-dark-ui\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\static\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\font-awesome\less\font-awesome.less,..\node_modules\font-awesome\less\font-awesome.less at C:\Users\Simon\.atom\packages\pymakr\styles\pymakr.less:7:0
Commands
Non-Core Packages
pymakr 1.2.9 Simon undefined
-
It downloaded 1.0.3 of PyMakr, reported that this was a much older version of PyMakr but said this was the only one compatible with my version of Atom (1.25.0). Then after the inistall the same error message came up as follows
Atom: 1.25.0 x64
Electron: 1.7.11
OS: Microsoft Windows 7 Ultimate
Thrown From: Pymakr package 1.0.3Stack Trace
Failed to load the Pymakr package
At The module '\\?\C:\Users\Simon\.atom\packages\Pymakr\precompiles\serialport-win\build\Release\serialport.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 49. This version of Node.js requires NODE_MODULE_VERSION 54. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or`npm install`). Error: The module '\\?\C:\Users\Simon\.atom\packages\Pymakr\precompiles\serialport-win\build\Release\serialport.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 49. This version of Node.js requires NODE_MODULE_VERSION 54. 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:173:20) at Object.Module._extensions..node (module.js:598:18) at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (/app.asar/static/index.js:47:45) at require (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:66:33) at bindings (/packages/Pymakr/node_modules/bindings/bindings.js:76:44) at /packages/Pymakr/precompiles/serialport-win/lib/bindings.js:3:35) at /packages/Pymakr/precompiles/serialport-win/lib/bindings.js:36:3) at Module.get_Module._compile (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:106:36) at Object.value [as .js] (~/AppData/Local/atom/app-1.25.0/resources/app/src/compile-cache.js:240:29) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (/app.asar/static/index.js:47:45) at require (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:66:33) at /packages/Pymakr/precompiles/serialport-win/lib/serialport.js:12:25) at /packages/Pymakr/precompiles/serialport-win/lib/serialport.js:476:3) at Module.get_Module._compile (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:106:36) at Object.value [as .js] (~/AppData/Local/atom/app-1.25.0/resources/app/src/compile-cache.js:240:29) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (/app.asar/static/index.js:47:45) at require (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:66:33) at /packages/Pymakr/lib/connections/pyserial.js:20:18) at /packages/Pymakr/lib/connections/pyserial.js:26:30) at Module.get_Module._compile (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:106:36)
Commands
Non-Core Packages
Pymakr 1.0.3
-
@smbunn
Can you try deleting theC:\Users\Simon.atom\packages\Pymakr\
folder and then try re-installing?